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

Method GetCoin

src/txdb.cpp:61–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61bool CCoinsViewDB::GetCoin(const COutPoint &outpoint, Coin &coin) const {
62 return db.Read(CoinEntry(&outpoint), coin);
63}
64
65bool CCoinsViewDB::HaveCoin(const COutPoint &outpoint) const {
66 return db.Exists(CoinEntry(&outpoint));

Callers 2

rest_getutxosFunction · 0.45
CheckSequenceLocksFunction · 0.45

Calls 2

CoinEntryClass · 0.85
ReadMethod · 0.45

Tested by

no test coverage detected