Add primitive implementation of GetSaplingAnchorEnd.

This commit is contained in:
Sean Bowe
2018-04-27 14:29:40 -06:00
parent 691a3fa2e9
commit 30325eebf5
2 changed files with 10 additions and 0 deletions

View File

@@ -321,6 +321,9 @@ public:
//! Efficiently find an ancestor of this block.
CBlockIndex* GetAncestor(int height);
const CBlockIndex* GetAncestor(int height) const;
//! Get the root of the Sapling merkle tree (at the end of this block)
uint256 GetSaplingAnchorEnd() const;
};
/** Used to marshal pointers into hashes for db storage. */