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

Class CoinEntry

src/txdb.cpp:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62namespace {
63
64struct CoinEntry {
65 COutPoint* outpoint;
66 uint8_t key;
67 explicit CoinEntry(const COutPoint* ptr) : outpoint(const_cast<COutPoint*>(ptr)), key(DB_COIN) {}
68
69 SERIALIZE_METHODS(CoinEntry, obj) { READWRITE(obj.key, obj.outpoint->hash, VARINT(obj.outpoint->n)); }
70};
71
72}
73

Callers 2

GetCoinMethod · 0.85
HaveCoinMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected