mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-13 19:16:49 +01:00
Merge pull request #415 from jl2012/bip68_113_coinbase
BIP68/113 for generation transaction
This commit is contained in:
commit
ad2af69d3c
2 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,8 @@ The block produced time is equal to the median-time-past of its previous block.
|
|||
|
||||
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 the coinbase transaction.
|
||||
|
||||
==Implementation==
|
||||
|
||||
A reference implementation is provided by the following pull request
|
||||
|
|
|
@ -64,6 +64,8 @@ This method takes the block time as one parameter. This BIP proposes
|
|||
that after activation calls to IsFinalTx() within consensus code use
|
||||
the return value of `GetMedianTimePast(pindexPrev)` instead.
|
||||
|
||||
The new rule applies to all transactions, including the coinbase transaction.
|
||||
|
||||
A reference implementation of this proposal is provided by the
|
||||
following pull request:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue