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

@@ -201,6 +201,7 @@ public:
* all inputs are in the mapNextTx array). If sanity-checking is turned off,
* check does nothing.
*/
std::map<uint256, const CTransaction*> getNullifiers();
void check(const CCoinsViewCache *pcoins) const;
void setSanityCheck(double dFrequency = 1.0) { nCheckFrequency = static_cast<uint32_t>(dFrequency * 4294967295.0); }