From d85758f5cc144382cf0e268450a72a07d4f26778 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Wed, 7 Dec 2016 19:30:30 +1300 Subject: [PATCH] Document behaviour of CWallet::SetBestChain --- src/wallet/wallet.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index cc0197f14..3d721fc40 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -959,6 +959,7 @@ public: CAmount GetCredit(const CTransaction& tx, const isminefilter& filter) const; CAmount GetChange(const CTransaction& tx) const; void ChainTip(const CBlockIndex *pindex, const CBlock *pblock, ZCIncrementalMerkleTree tree, bool added); + /** Saves witness caches and best block locator to disk. */ void SetBestChain(const CBlockLocator& loc); DBErrors LoadWallet(bool& fFirstRunRet);