Add anchor to output of getblock

Closes #2164.
This commit is contained in:
Jack Grigg
2017-03-10 20:04:14 +13:00
parent 00740e0358
commit 0bc1e2c431
3 changed files with 26 additions and 0 deletions

View File

@@ -141,6 +141,9 @@ public:
//! The anchor for the tree state up to the start of this block
uint256 hashAnchor;
//! (memory only) The anchor for the tree state up to the end of this block
uint256 hashAnchorEnd;
//! block header
int nVersion;
uint256 hashMerkleRoot;
@@ -167,6 +170,7 @@ public:
nChainTx = 0;
nStatus = 0;
hashAnchor = uint256();
hashAnchorEnd = uint256();
nSequenceId = 0;
nVersion = 0;