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

Method GetCoins

src/txdb.cpp:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45bool CCoinsViewDB::GetCoins(const uint256 &txid, CCoins &coins) const {
46 return db.Read(make_pair(DB_COINS, txid), coins);
47}
48
49bool CCoinsViewDB::HaveCoins(const uint256 &txid) const {
50 return db.Exists(make_pair(DB_COINS, txid));

Callers 5

gettxoutFunction · 0.45
rest_getutxosFunction · 0.45
gettxoutproofFunction · 0.45
CheckSequenceLocksFunction · 0.45
ProcessGetUTXOsFunction · 0.45

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected