mempool: align output policy with Handshake - #67
Conversation
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
📝 WalkthroughWalkthroughAdds native address and covenant classification helpers, then applies them across mempool policy, checkpoint candidate detection, UTXO output handling, and GCS filter construction. Relay-fee overflow and dust calculations are revised, while standardness checks now validate address and covenant classes with nulldata exceptions. Tests cover classification behavior, fee boundaries, dust outcomes, unknown covenants, and nulldata outputs. Possibly related PRs
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
No issues found across 9 files
You're on the cubic free plan with 11 free PR reviews remaining this month. Upgrade for unlimited reviews.
Re-trigger cubic
Summary
Reference parity
Compared against pinned hsd commit 9f013c1cb7f92edf94db69fbd69daf34adf655fb:
Validation
Summary by cubic
Aligns mempool output standardness and dust policy with Handshake
hsdv8 for parity. Centralizes address and covenant classification acrossmempool,blockchain, andgcsto ensure consistent behavior.hsdsizing and fee rounding; exempt native nulldata and state-carrying name covenants; add overflow-safe fee calculation.wire.Addresshelpers (IsNulldata,IsUnknown,IsUnspendable) andwire.Covenanthelpers (IsDustworthy,IsUnspendable); use them in checkpoint validation, UTXO unspendable checks, and basic filter (gcs) construction.Written for commit 2b587cd. Summary will update on new commits.
Summary by CodeRabbit