MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / EraseWatchOnly

Method EraseWatchOnly

src/wallet/walletdb.cpp:108–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108bool WalletBatch::EraseWatchOnly(const CScript &dest)
109{
110 if (!EraseIC(std::make_pair(std::string("watchmeta"), dest))) {
111 return false;
112 }
113 return EraseIC(std::make_pair(std::string("watchs"), dest));
114}
115
116bool WalletBatch::WriteBestBlock(const CBlockLocator& locator)
117{

Callers 1

RemoveWatchOnlyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected