Browse Source

Update quote from ZIP 200

pull/4/head
Jack Grigg 6 years ago
parent
commit
cad27eb77f
No known key found for this signature in database GPG Key ID: 665DBCD284F7DAFF
  1. 8
      src/consensus/upgrades.cpp

8
src/consensus/upgrades.cpp

@ -38,13 +38,15 @@ UpgradeState NetworkUpgradeState(
if (nActivationHeight == Consensus::NetworkUpgrade::NO_ACTIVATION_HEIGHT) {
return UPGRADE_DISABLED;
} else if (nHeight >= nActivationHeight) {
// From ZIP ???:
// From ZIP 200:
//
// ACTIVATION_HEIGHT
// The block height at which the network upgrade rules will come into effect.
// The non-zero block height at which the network upgrade rules will come
// into effect, and be enforced as part of the blockchain consensus.
//
// For removal of ambiguity, the block at height ACTIVATION_HEIGHT - 1 is
// subject to the pre-upgrade consensus rules.
// subject to the pre-upgrade consensus rules, and would be the last common
// block in the event of a persistent pre-upgrade branch.
return UPGRADE_ACTIVE;
} else {
return UPGRADE_PENDING;

Loading…
Cancel
Save