MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / HaveCoin

Method HaveCoin

src/txdb.cpp:111–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111bool CCoinsViewDB::HaveCoin(const COutPoint &outpoint) const {
112 return m_db->Exists(CoinEntry(&outpoint));
113}
114
115BlockHash CCoinsViewDB::GetBestBlock() const {
116 BlockHash hashBestChain;

Callers 11

checkMethod · 0.45
PreChecksMethod · 0.45
AcceptPackageMethod · 0.45
UndoCoinSpendFunction · 0.45
ConnectBlockMethod · 0.45
SimulationTestMethod · 0.45
BOOST_FIXTURE_TEST_CASEFunction · 0.45
TestFlushBehaviorMethod · 0.45
SetupSnapshotMethod · 0.45
TestCoinsViewFunction · 0.45
FUZZ_TARGETFunction · 0.45

Calls 2

CoinEntryClass · 0.70
ExistsMethod · 0.45

Tested by 6

SimulationTestMethod · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
TestFlushBehaviorMethod · 0.36
SetupSnapshotMethod · 0.36
TestCoinsViewFunction · 0.36
FUZZ_TARGETFunction · 0.36