Owning wrapper over btck_ContextOptions, configuring a Context before creation.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

Base Classes

Name

Description

UniqueHandle<btck_ContextOptions, btck_context_options_destroy>

Owning RAII handle for a non‐copyable C object, backed by std::unique_ptr.

Member Functions

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.

Protected Types

Name

Description

Deleter

Custom deleter that forwards to the C destroy function.

Protected Data Members

Name

Description

m_ptr

The owned C handle.

Created with MrDocs