Initial implementation of shielded pool size. Tweaks to data stored in zindex are needed to get a more correct value

This commit is contained in:
Duke Leto
2019-12-28 12:49:01 -05:00
parent d4630174cc
commit 172ac60765
3 changed files with 14 additions and 0 deletions

View File

@@ -960,6 +960,12 @@ void CWallet::AddToSpends(const uint256& wtxid)
}
}
int64_t CWallet::NullifierCount()
{
LOCK(cs_wallet);
return mapTxSaplingNullifiers.size();
}
void CWallet::ClearNoteWitnessCache()
{
LOCK(cs_wallet);