State tracked by the KernelNotifications interface meant to be used by mining code, index code, RPCs, and other code sitting above the validation layer.

Synopsis

Declared in <node/kernel_notifications.h>

struct KernelState;

Description

Currently just tracks the chain tip, but could be used to hold other information in the future, like the last flushed block, pruning information, etc.

Data Members

Name

Description

chainstate_loaded

Whether the chainstate has finished loading.

tip_block

Hash of the current chain tip block, if known.

Created with MrDocs