Add total number of commitments to getblockchaininfo

This commit is contained in:
Jack Grigg
2016-12-15 15:50:26 +13:00
parent a530e9582f
commit 5d6e1aa60f
3 changed files with 26 additions and 0 deletions

View File

@@ -75,6 +75,8 @@ public:
parents.size() * 32; // parents
}
size_t size() const;
void append(Hash obj);
Hash root() const {
return root(Depth, std::deque<Hash>());