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

Class CBlockIndexHeightOnlyComparator

src/node/blockstorage.h:145–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143};
144
145struct CBlockIndexHeightOnlyComparator {
146 /* Only compares the height of two block indices, doesn't try to tie-break */
147 bool operator()(const CBlockIndex* pa, const CBlockIndex* pb) const;
148};
149
150struct PruneLockInfo {
151 /// Height of earliest block that should be kept and not pruned

Callers 2

LoadBlockIndexMethod · 0.85
LoadBlockIndexMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected