Owning wrapper over btck_ContextOptions, configuring a Context before creation.
Declared in <kernel/bitcoinkernel_wrapper.h>
class ContextOptions
: public UniqueHandle<btck_ContextOptions, btck_context_options_destroy>
| Name | Description |
|---|---|
UniqueHandle<btck_ContextOptions, btck_context_options_destroy> | Owning RAII handle for a non-copyable C object, backed by std::unique_ptr. |
| Name | Description |
|---|---|
ContextOptions [constructor] | Constructs an empty set of context options. |
SetChainParams | Sets the chain parameters for the context. |
SetNotifications | Registers a kernel notification handler for the context. |
SetValidationInterface | Registers a validation event handler for the context. |
get | Returns the owned C handle. |
| Name | Description |
|---|---|
Deleter | Custom deleter that forwards to the C destroy function. |
| Name | Description |
|---|---|
m_ptr | The owned C handle. |