1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00

BIP68/113 for generation transaction

This commit is contained in:
jl2012 2016-07-05 17:28:14 +08:00
parent e36b6d5634
commit 8d40b6ef02
2 changed files with 4 additions and 0 deletions

View File

@ -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. 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== ==Implementation==
A reference implementation is provided by the following pull request A reference implementation is provided by the following pull request

View File

@ -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 that after activation calls to IsFinalTx() within consensus code use
the return value of `GetMedianTimePast(pindexPrev)` instead. 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 A reference implementation of this proposal is provided by the
following pull request: following pull request: