Skip to content
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

Use package relay for anchor force-close #2963

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Dec 9, 2024

We use bitcoin core's submitpackage RPC to publish commit txs with their anchor transaction. We do this for both local and remote commit txs, and prefer the remote commit when it is available.

Thanks to opportunistic package relay (added in bitcoind v28), this allows the commit and anchor package to propagate even if the commit feerate is below the mempool minimum feerate, as long as enough nodes run bitcoin core v28 or higher.

We use bitcoin core's `submitpackage` RPC to publish commit txs with
their anchor transaction. We do this for both local and remote commit
txs, and prefer the remote commit when it is available.

Thanks to package relay, this allows the commit and anchor package to
propagate even if the commit feerate is below the mempool minimum
feerate, as long as enough nodes run bitcoin core v28 or higher.
@t-bast t-bast force-pushed the mempool-submit-package branch from 6b98249 to 16d3568 Compare March 7, 2025 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant