File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -898,6 +898,11 @@ bool CCoinsViewMemPool::HaveCoin(const COutPoint& outpoint) const
898898 return mempool.exists (outpoint) || base->HaveCoin (outpoint);
899899}
900900
901+ bool CCoinsViewMemPool::GetNullifier (const uint256& nullifier) const
902+ {
903+ return mempool.nullifierExists (nullifier) || base->GetNullifier (nullifier);
904+ }
905+
901906size_t CTxMemPool::DynamicMemoryUsage () const
902907{
903908 LOCK (cs);
Original file line number Diff line number Diff line change @@ -652,6 +652,7 @@ class CCoinsViewMemPool : public CCoinsViewBacked
652652 CCoinsViewMemPool (CCoinsView* baseIn, CTxMemPool& mempoolIn);
653653 bool GetCoin (const COutPoint& outpoint, Coin& coin) const ;
654654 bool HaveCoin (const COutPoint& outpoint) const ;
655+ bool GetNullifier (const uint256& nullifier) const ;
655656};
656657
657658// We want to sort transactions by coin age priority
You can’t perform that action at this time.
0 commit comments