Skip to content

policy: reject tapscript spends exceeding input value#271

Open
kwsantiago wants to merge 4 commits intobitcoinknots:29.x-knotsfrom
privkeyio:policy-tapscript-dust-limit
Open

policy: reject tapscript spends exceeding input value#271
kwsantiago wants to merge 4 commits intobitcoinknots:29.x-knotsfrom
privkeyio:policy-tapscript-dust-limit

Conversation

@kwsantiago
Copy link

Add -rejecttapscriptdust option (default: true) that rejects mempool transactions containing tapscript script-path spends where the witness cost at the transaction's feerate exceeds the input value. Key-path spends are exempt, preserving UTXO cleanup capability.

Includes GUI option and functional test coverage.

Closes #63
Closes #113

@kwsantiago kwsantiago force-pushed the policy-tapscript-dust-limit branch from 2d46bc7 to c8ffdbf Compare March 5, 2026 13:51
@kwsantiago kwsantiago requested a review from luke-jr March 5, 2026 14:01
@kwsantiago kwsantiago force-pushed the policy-tapscript-dust-limit branch 3 times, most recently from c9ecfef to de066f3 Compare March 5, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New spam filter: Check dust limit on Tapscript *spends* Enforce dust limit on Tapscript spends

2 participants