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

Method WriteWatchOnly

src/wallet/walletdb.cpp:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100bool WalletBatch::WriteWatchOnly(const CScript &dest, const CKeyMetadata& keyMeta)
101{
102 if (!WriteIC(std::make_pair(std::string("watchmeta"), dest), keyMeta)) {
103 return false;
104 }
105 return WriteIC(std::make_pair(std::string("watchs"), dest), '1');
106}
107
108bool WalletBatch::EraseWatchOnly(const CScript &dest)
109{

Callers 1

AddWatchOnlyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected