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

Method IsPeginSpent

src/txdb.cpp:101–103  ·  view source on GitHub ↗

ELEMENTS:

Source from the content-addressed store, hash-verified

99
100// ELEMENTS:
101bool CCoinsViewDB::IsPeginSpent(const std::pair<uint256, COutPoint> &outpoint) const {
102 return m_db->Exists(std::make_pair(DB_PEGIN_FLAG, outpoint));
103}
104
105uint256 CCoinsViewDB::GetBestBlock() const {
106 uint256 hashBestChain;

Callers 2

PreChecksMethod · 0.45
ApplyTxInUndoFunction · 0.45

Calls 1

ExistsMethod · 0.45

Tested by

no test coverage detected