MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / CoinEntry

Class CoinEntry

src/txdb.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46namespace {
47
48struct CoinEntry {
49 COutPoint* outpoint;
50 uint8_t key{DB_COIN};
51 explicit CoinEntry(const COutPoint* ptr) : outpoint(const_cast<COutPoint*>(ptr)) {}
52
53 SERIALIZE_METHODS(CoinEntry, obj) { READWRITE(obj.key, obj.outpoint->hash, VARINT(obj.outpoint->n)); }
54};
55
56} // namespace
57

Callers 2

GetCoinMethod · 0.70
HaveCoinMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected