Remove use of CCoinsViewMemPool::GetCoin in wallet code

This commit does not change behavior.
This commit is contained in:
Russell Yanofsky
2018-07-17 13:04:35 -04:00
parent 4e4d9e9f85
commit b1b2b23892
6 changed files with 75 additions and 23 deletions

View File

@@ -9,6 +9,7 @@
#include <interfaces/handler.h>
#include <interfaces/wallet.h>
#include <net.h>
#include <node/coin.h>
#include <policy/fees.h>
#include <policy/policy.h>
#include <policy/rbf.h>
@@ -287,6 +288,7 @@ public:
}
return true;
}
void findCoins(std::map<COutPoint, Coin>& coins) override { return FindCoins(coins); }
double guessVerificationProgress(const uint256& block_hash) override
{
LOCK(cs_main);