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