Skip to content

Commit ad2af69

Browse files
authored
Merge pull request bitcoin#415 from jl2012/bip68_113_coinbase
BIP68/113 for generation transaction
2 parents e36b6d5 + 8d40b6e commit ad2af69

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

bip-0068.mediawiki

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ The block produced time is equal to the median-time-past of its previous block.
4949

5050
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.
5151

52+
The new rules are not applied to the nSequence field of the input of the coinbase transaction.
53+
5254
==Implementation==
5355

5456
A reference implementation is provided by the following pull request

bip-0113.mediawiki

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ This method takes the block time as one parameter. This BIP proposes
6464
that after activation calls to IsFinalTx() within consensus code use
6565
the return value of `GetMedianTimePast(pindexPrev)` instead.
6666

67+
The new rule applies to all transactions, including the coinbase transaction.
68+
6769
A reference implementation of this proposal is provided by the
6870
following pull request:
6971

0 commit comments

Comments
 (0)