Reserve the zero-value branch ID for indicating the absence of any upgrade

This commit is contained in:
str4d 2018-01-29 01:28:44 +00:00
parent f6664895d5
commit 7118a2a907
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
1 changed files with 4 additions and 1 deletions

View File

@ -73,7 +73,10 @@ Specification
The following constants are defined for every network upgrade: The following constants are defined for every network upgrade:
BRANCH_ID BRANCH_ID
A globally-unique 32-bit identifier. A globally-unique non-zero 32-bit identifier.
Implementations MAY use a value of zero in branch ID fields to indicate the absence of any upgrade (i.e.
that the Sprout consensus rules apply).
ACTIVATION_HEIGHT ACTIVATION_HEIGHT
The block height at which the network upgrade rules will come into effect, and be enforced as part of the The block height at which the network upgrade rules will come into effect, and be enforced as part of the