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

Method GetCoin

src/txdb.cpp:92–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92bool CCoinsViewDB::GetCoin(const COutPoint &outpoint, Coin &coin) const {
93 return m_db->Read(CoinEntry(&outpoint), coin);
94}
95
96bool CCoinsViewDB::HaveCoin(const COutPoint &outpoint) const {
97 return m_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