Return the hash and height of the active chain tip.
Synopsis
Declared in <node/miner.h>
std::optional<interfaces::BlockRef>
GetTip(ChainstateManager& chainman);
Return Value
The active tip reference, or std::nullopt if there is no active chain.
Parameters
Name |
Description |
chainman |
The chainstate manager to query. |
Created with MrDocs