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

@@ -26,7 +26,7 @@ public:
int32_t nVersion;
uint256 hashPrevBlock;
uint256 hashMerkleRoot;
uint256 hashReserved;
uint256 hashSaplingAnchorEnd;
uint32_t nTime;
uint32_t nBits;
uint256 nNonce;
@@ -44,7 +44,7 @@ public:
READWRITE(this->nVersion);
READWRITE(hashPrevBlock);
READWRITE(hashMerkleRoot);
READWRITE(hashReserved);
READWRITE(hashSaplingAnchorEnd);
READWRITE(nTime);
READWRITE(nBits);
READWRITE(nNonce);
@@ -56,7 +56,7 @@ public:
nVersion = CBlockHeader::CURRENT_VERSION;
hashPrevBlock.SetNull();
hashMerkleRoot.SetNull();
hashReserved.SetNull();
hashSaplingAnchorEnd.SetNull();
nTime = 0;
nBits = 0;
nNonce = uint256();
@@ -118,7 +118,7 @@ public:
block.nVersion = nVersion;
block.hashPrevBlock = hashPrevBlock;
block.hashMerkleRoot = hashMerkleRoot;
block.hashReserved = hashReserved;
block.hashSaplingAnchorEnd = hashSaplingAnchorEnd;
block.nTime = nTime;
block.nBits = nBits;
block.nNonce = nNonce;
@@ -158,7 +158,7 @@ public:
READWRITE(this->nVersion);
READWRITE(hashPrevBlock);
READWRITE(hashMerkleRoot);
READWRITE(hashReserved);
READWRITE(hashSaplingAnchorEnd);
READWRITE(nTime);
READWRITE(nBits);
}