BIP68/113 for generation transaction#415
Conversation
|
This isn't true. The rules apply as much to outputs of a coinbase as they do any other transaction. Is the proposed text talking about the coinbase's |
|
@maaku, isn't the SequenceLocks is done only for non-coinbase tx? https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L2480 And we do need to clarify as some miners are using the nSequence as extranonce |
|
nSequence is about inputs, not outputs... and the new rule for it doesn't make sense for the generation tx input since it's not spending coins. |
|
For 113 (MTP), the generation transaction's locktime is checked, so looks good to me: https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L3602 @jl2012 Maybe clarify by saying 68 doesn't apply to the inputs of the coinbase transaction? It can certainly apply to spends of it's outputs. |
ce6d962 to
24eaeed
Compare
bip-0068.mediawiki
Outdated
|
|
||
| When the relative lock-time is block-based, it is interpreted as a minimum block-height constraint over the input's age. A relative block-based lock-time of zero indicates an input which can be included in any block. More generally, a relative block lock-time n can be included n blocks after the mining date of the output it is spending, or any block thereafter. | ||
|
|
||
| The new rules are not applied to the nSequence field of the input of generation transaction. |
There was a problem hiding this comment.
"of the generation"
Is this the proper terminology? Should we say "coinbase transaction" here? Honestly not sure what the current accepted terminology is.
There was a problem hiding this comment.
"coinbase tx" is definitely more common.
There was a problem hiding this comment.
The coinbase is the input scriptSig for the generation transaction.
|
Right, the sequence lock checks are not done for the coinbase input. The updated text is better (see comment made) |
24eaeed to
418d497
Compare
418d497 to
8d40b6e
Compare
|
ACK 8d40b6e |
|
Disagree with "coinbase transaction", but this is hardly the first time, and an ACK is an ACK... |
To clarify the applicability of BIP68 and 113 to generation transaction