[#interfaces-BlockRef] = xref:interfaces.adoc[interfaces]::BlockRef :relfileprefix: ../ :mrdocs: A lightweight reference to a block by hash and height. == Synopsis Declared in `<interfaces/types.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct BlockRef; ---- == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:node/GetTip.adoc[`::node::GetTip`] | Return the hash and height of the active chain tip. | xref:node/WaitTipChanged.adoc[`::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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#