btck::Context

Owning wrapper over a btck_Context, the top-level kernel execution context.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

class Context
    : public Handle<btck_Context, btck_context_copy, btck_context_destroy>

Base Classes

NameDescription
Handle<btck_Context, btck_context_copy, btck_context_destroy>Owning RAII handle for a copyable C object of type CType.

Member Functions

NameDescription
Context [constructor]Constructors
operator= Assignment operators
get Returns the owned C handle.
interrupt Requests interruption of long-running context operations.

Protected Data Members

NameDescription
m_ptr The owned C handle.