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

Method HaveCoin

src/txdb.cpp:65–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65bool CCoinsViewDB::HaveCoin(const COutPoint &outpoint) const {
66 return db.Exists(CoinEntry(&outpoint));
67}
68
69uint256 CCoinsViewDB::GetBestBlock() const {
70 uint256 hashBestChain;

Callers 5

checkMethod · 0.45
AcceptToMemoryPoolWorkerFunction · 0.45
ApplyTxInUndoFunction · 0.45
ConnectBlockMethod · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45

Calls 2

CoinEntryClass · 0.85
ExistsMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.36