A lightweight reference to a block by hash and height.
Declared in <interfaces/types.h>
struct BlockRef;
| Name | Description |
|---|---|
::node::GetTip | Return the hash and height of the active chain tip. |
::node::WaitTipChanged | Waits for the connected tip to change until timeout has elapsed. During node initialization, this will wait until the tip is connected (regardless of timeout). Returns the current tip, or nullopt if the node is shutting down or interrupt() is called. |