Rename hashReserved to hashSaplingAnchorEnd.

This commit is contained in:
Sean Bowe
2018-04-27 14:11:32 -06:00
parent 08f0728884
commit 691a3fa2e9
5 changed files with 15 additions and 15 deletions

View File

@@ -169,7 +169,7 @@ public:
//! block header
int nVersion;
uint256 hashMerkleRoot;
uint256 hashReserved;
uint256 hashSaplingAnchorEnd;
unsigned int nTime;
unsigned int nBits;
uint256 nNonce;
@@ -200,7 +200,7 @@ public:
nVersion = 0;
hashMerkleRoot = uint256();
hashReserved = uint256();
hashSaplingAnchorEnd = uint256();
nTime = 0;
nBits = 0;
nNonce = uint256();
@@ -218,7 +218,7 @@ public:
nVersion = block.nVersion;
hashMerkleRoot = block.hashMerkleRoot;
hashReserved = block.hashReserved;
hashSaplingAnchorEnd = block.hashSaplingAnchorEnd;
nTime = block.nTime;
nBits = block.nBits;
nNonce = block.nNonce;
@@ -250,7 +250,7 @@ public:
if (pprev)
block.hashPrevBlock = pprev->GetBlockHash();
block.hashMerkleRoot = hashMerkleRoot;
block.hashReserved = hashReserved;
block.hashSaplingAnchorEnd = hashSaplingAnchorEnd;
block.nTime = nTime;
block.nBits = nBits;
block.nNonce = nNonce;
@@ -372,7 +372,7 @@ public:
READWRITE(this->nVersion);
READWRITE(hashPrev);
READWRITE(hashMerkleRoot);
READWRITE(hashReserved);
READWRITE(hashSaplingAnchorEnd);
READWRITE(nTime);
READWRITE(nBits);
READWRITE(nNonce);
@@ -391,7 +391,7 @@ public:
block.nVersion = nVersion;
block.hashPrevBlock = hashPrev;
block.hashMerkleRoot = hashMerkleRoot;
block.hashReserved = hashReserved;
block.hashSaplingAnchorEnd = hashSaplingAnchorEnd;
block.nTime = nTime;
block.nBits = nBits;
block.nNonce = nNonce;