You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of Bitcoin Core 0.9.3, standard transactions must also meet the following conditions:
The transaction must be finalized: either its locktime must be in the past (or less than or equal to the current block height), or all of its sequence numbers must be 0xffffffff.
These do not match; "less than or equal to" should be "less than". Also it could be clearer that whether the restriction is time-based or height-based depends on whether the field is less than LOCKTIME_THRESHOLD = 500000000.
The text was updated successfully, but these errors were encountered:
Yeah, I was just looking into why this was wrong again. As far as I can tell this was already fixed once in 2020 here: #3237. Did the code in this repo regress in some way since then?
https://github.com/bitcoin/bitcoin/blob/9faa4b68db80a4a5c1f5a4e0484d804d7b5e1493/src/consensus/tx_verify.cpp#L21 :
https://developer.bitcoin.org/devguide/transactions.html#non-standard-transactions :
These do not match; "less than or equal to" should be "less than". Also it could be clearer that whether the restriction is time-based or height-based depends on whether the field is less than
LOCKTIME_THRESHOLD = 500000000
.The text was updated successfully, but these errors were encountered: