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

Synopsis

Declared in <node/blockstorage.h>

bool
operator()(
    CBlockIndex const* pa,
    CBlockIndex const* pb) const;

Return Value

True if pa orders before pb.

Parameters

Name

Description

pa

The first block index to compare.

pb

The second block index to compare.

Created with MrDocs