Create a new kernel context. If the options have not been previously set, their corresponding fields will be initialized to default values; the context will assume mainnet chain parameters and won't attempt to call the kernel notification callbacks.
Synopsis
Declared in <kernel/bitcoinkernel.h>
[[nodiscard]]
btck_Context*
btck_context_create(btck_ContextOptions const* context_options);
Return Value
The allocated context, or null on error.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
context_options [in] |
Nullable, created by |
Created with MrDocs