Use global mempool nullifier count, not local wallet nullifier count

This commit is contained in:
Duke Leto
2020-01-02 10:56:14 -05:00
parent 33e3566cb4
commit cc3e1c11d7
7 changed files with 35 additions and 21 deletions

View File

@@ -888,6 +888,10 @@ bool CTxMemPool::IsFullyNotified() {
return nRecentlyAddedSequence == nNotifiedSequence;
}
std::map<uint256, const CTransaction*> CTxMemPool::getNullifiers() {
return mapSaplingNullifiers;
}
CCoinsViewMemPool::CCoinsViewMemPool(CCoinsView *baseIn, CTxMemPool &mempoolIn) : CCoinsViewBacked(baseIn), mempool(mempoolIn) { }
bool CCoinsViewMemPool::GetNullifier(const uint256 &nf, ShieldedType type) const