[#btck-KernelNotifications]
= xref:btck.adoc[btck]::KernelNotifications
:relfileprefix: ../
:mrdocs:

Base class for receiving kernel notifications&semi; override the handlers you need&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class KernelNotifications;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/KernelNotifications/2destructor.adoc[`&#126;KernelNotifications`] [.small]#[destructor]# [.small]#[virtual]#
| Destroys the notification handler&period;
| xref:btck/KernelNotifications/BlockTipHandler.adoc[`BlockTipHandler`]  [.small]#[virtual]#
| Called when the active chain tip advances&period;
| xref:btck/KernelNotifications/FatalErrorHandler.adoc[`FatalErrorHandler`]  [.small]#[virtual]#
| Called on a fatal, unrecoverable error&period;
| xref:btck/KernelNotifications/FlushErrorHandler.adoc[`FlushErrorHandler`]  [.small]#[virtual]#
| Called on a recoverable flush error&period;
| xref:btck/KernelNotifications/HeaderTipHandler.adoc[`HeaderTipHandler`]  [.small]#[virtual]#
| Called when the best header advances&period;
| xref:btck/KernelNotifications/ProgressHandler.adoc[`ProgressHandler`]  [.small]#[virtual]#
| Called to report progress of a long&hyphen;running operation&period;
| xref:btck/KernelNotifications/WarningSetHandler.adoc[`WarningSetHandler`]  [.small]#[virtual]#
| Called when a warning becomes active&period;
| xref:btck/KernelNotifications/WarningUnsetHandler.adoc[`WarningUnsetHandler`]  [.small]#[virtual]#
| Called when a previously active warning clears&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
