GetLocator

Get a locator for a block index entry.

Synopsis

Declared in <chain.h>

CBlockLocator
GetLocator(CBlockIndex const* index);

Return Value

A block locator referencing the given entry and its ancestors.

Parameters

NameDescription
indexThe block index entry to build a locator for.