Orders block indices by most accumulated work, for choosing the best tip.

Synopsis

Declared in <node/blockstorage.h>

struct CBlockIndexWorkComparator;

Type Aliases

Name

Description

is_transparent

Marks the comparator as transparent so heterogeneous lookups are allowed.

Member Functions

Name

Description

operator()

Order two block indices by accumulated work (and tie‐breakers).

Created with MrDocs