Skip to content

add ALLOW_ZERO_FEES flag #437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 29, 2025
Merged

Conversation

louisinger
Copy link
Collaborator

@louisinger louisinger commented Jan 29, 2025

This PR adds an ALLOW_ZERO_FEES flag for redeem transactions. It allows to submit redeem psbt with a zero fee value. It must be removed when we migrate to transaction V3 (#328). It's not ideal cause it makes the transaction not being relayed by full node from the onchain point of view, thus it's not possible to unilateral exit a zero-fee pending VTXO.

It also adds a withZeroFee flag to covenantless SendOffchain method. It prevents the transaction builder to deduct min-relay-fee amount from the last output.

@tiero @bordalix @altafan please review

@altafan altafan merged commit b5b548f into arkade-os:master Jan 29, 2025
7 checks passed
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.

2 participants