MCPcopy Create free account
hub / github.com/ElementsProject/elements / HaveWatchOnly

Method HaveWatchOnly

src/wallet/scriptpubkeyman.cpp:867–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865}
866
867bool LegacyScriptPubKeyMan::HaveWatchOnly(const CScript &dest) const
868{
869 LOCK(cs_KeyStore);
870 return setWatchOnly.count(dest) > 0;
871}
872
873bool LegacyScriptPubKeyMan::HaveWatchOnly() const
874{

Callers 5

IsMineInnerFunction · 0.80
haveWatchOnlyMethod · 0.80
TestWatchOnlyPubKeyFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
getbalancesFunction · 0.80

Calls 2

countMethod · 0.80
emptyMethod · 0.45

Tested by 2

TestWatchOnlyPubKeyFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64