5#ifndef BITCOIN_NODE_KERNEL_NOTIFICATIONS_H
6#define BITCOIN_NODE_KERNEL_NOTIFICATIONS_H
The block chain is a tree shaped structure starting with the genesis block at the root,...
A base class defining functions for notifying about certain kernel events.
void headerTip(SynchronizationState state, int64_t height, int64_t timestamp, bool presync) override
void progress(const bilingual_str &title, int progress_percent, bool resume_possible) override
void warning(const std::string &warning) override
void blockTip(SynchronizationState state, CBlockIndex &index) override
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
SynchronizationState
Current sync state passed to tip changed callbacks.