MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / HaveCoins

Method HaveCoins

src/txdb.cpp:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49bool CCoinsViewDB::HaveCoins(const uint256 &txid) const {
50 return db.Exists(make_pair(DB_COINS, txid));
51}
52
53uint256 CCoinsViewDB::GetBestBlock() const {
54 uint256 hashBestChain;

Callers 3

AcceptToMemoryPoolFunction · 0.45
BOOST_FOREACHFunction · 0.45
AlreadyHaveFunction · 0.45

Calls 1

ExistsMethod · 0.45

Tested by

no test coverage detected