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

Method HaveCoin

src/txdb.cpp:96–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96bool CCoinsViewDB::HaveCoin(const COutPoint &outpoint) const {
97 return m_db->Exists(CoinEntry(&outpoint));
98}
99
100// ELEMENTS:
101bool CCoinsViewDB::IsPeginSpent(const std::pair<uint256, COutPoint> &outpoint) const {

Callers 10

checkMethod · 0.45
PreChecksMethod · 0.45
AcceptPackageMethod · 0.45
ApplyTxInUndoFunction · 0.45
ConnectBlockMethod · 0.45
SimulationTestFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_FIXTURE_TEST_CASEFunction · 0.45
FUZZ_TARGET_INITFunction · 0.45
FUZZ_TARGET_INITFunction · 0.45

Calls 2

CoinEntryClass · 0.85
ExistsMethod · 0.45

Tested by 5

SimulationTestFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
FUZZ_TARGET_INITFunction · 0.36
FUZZ_TARGET_INITFunction · 0.36