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

Method HasWalletSpend

src/wallet/wallet.cpp:573–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571}
572
573bool CWallet::HasWalletSpend(const uint256& txid) const
574{
575 AssertLockHeld(cs_wallet);
576 auto iter = mapTxSpends.lower_bound(COutPoint(txid, 0));
577 return (iter != mapTxSpends.end() && iter->first.hash == txid);
578}
579
580void CWallet::Flush()
581{

Callers 2

feebumper.cppFile · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80

Calls 3

lower_boundMethod · 0.80
COutPointClass · 0.50
endMethod · 0.45

Tested by 1

BOOST_FIXTURE_TEST_CASEFunction · 0.64