Opaque data structure for holding a kernel context.
Synopsis
Declared in <kernel/bitcoinkernel.h>
typedef btck_Context btck_Context;
Description
The kernel context is used to initialize internal state and hold the chain parameters and callbacks for handling error and validation events. Once other validation objects are instantiated from it, the context is kept in memory for the duration of their lifetimes.
The processing of validation events is done through an internal task runner owned by the context. It passes events through the registered validation interface callbacks.
A constructed context can be safely used from multiple threads.
Created with MrDocs