Owning wrapper over btck_ContextOptions, configuring a Context before creation.
Synopsis
Declared in <kernel/bitcoinkernel_wrapper.h>
class ContextOptions
: public UniqueHandle<btck_ContextOptions, btck_context_options_destroy>
Base Classes
Name |
Description |
|
Owning RAII handle for a non‐copyable C object, backed by std::unique_ptr. |
Member Functions
Name |
Description |
|
Constructs an empty set of context options. |
Sets the chain parameters for the context. |
|
Registers a kernel notification handler for the context. |
|
Registers a validation event handler for the context. |
|
Returns the owned C handle. |
Protected Types
Name |
Description |
Custom deleter that forwards to the C destroy function. |
Protected Data Members
Name |
Description |
The owned C handle. |
Created with MrDocs