Replace vAnchorCache with a cache size counter

The anchor is obtained from the returned witnesses; since all witnesses are to
the same point (the latest blockchain tip), they all have the same root.
This commit is contained in:
Jack Grigg
2016-08-31 14:13:28 +12:00
parent 3fac1020e7
commit 4086e5ce98
5 changed files with 27 additions and 21 deletions

View File

@@ -106,7 +106,7 @@ public:
bool WriteDefaultKey(const CPubKey& vchPubKey);
bool WriteAnchorCache(const std::list<uint256>& vAnchorCache);
bool WriteWitnessCacheSize(int64_t nWitnessCacheSize);
bool ReadPool(int64_t nPool, CKeyPool& keypool);
bool WritePool(int64_t nPool, const CKeyPool& keypool);