[#node-KernelState] = xref:node.adoc[node]::KernelState :relfileprefix: ../ :mrdocs: State tracked by the KernelNotifications interface meant to be used by mining code, index code, RPCs, and other code sitting above the validation layer. == Synopsis Declared in `<node/kernel_notifications.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct KernelState; ---- == Description Currently just tracks the chain tip, but could be used to hold other information in the future, like the last flushed block, pruning information, etc. == Data Members [cols="1,4"] |=== | Name| Description | xref:node/KernelState/chainstate_loaded.adoc[`chainstate_loaded`] | Whether the chainstate has finished loading. | xref:node/KernelState/tip_block.adoc[`tip_block`] | Hash of the current chain tip block, if known. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#