Repository navigation
wallet, ci: Knots 29.4.3 coinbase maturity - #74
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bitcoin Knots 29.4.3 lengthens mainnet coinbase maturity: a coinbase mined at block 979919 or later needs 25920 blocks before a spend of it will relay, while earlier ones keep 6480.
utxo_is_immatureholds a mainnet coinbase from block 979919 for 25920 blocks, solistfundsreports it immature and coin selection does not offer it before the network accepts a spend. Other networks are unchanged; testnet4 stays at 6705, as in 29.4.3. Knots returns coinbases mined after RDTS expiry (2027-09-01) to 100 blocks; that is not modeled yet, so those would be reported immature for longer, never shorter.common/test/run-utxo_is_immature.cchecks the boundaries on mainnet, testnet4 and regtest.The on-chain test suites (closing, splicing, opening, wallet, connection, coinbase funding) give the same results against 29.4.3 and 29.4.1 with standardness enforced, including every HTLC, penalty, anchor and splice spend.
Changelog-None