Type‐safe C++ RAII wrapper over the libbitcoinkernel C API.
Description
Each type in this namespace owns or views a btck_* C handle and forwards to the matching btck_* C function, adding ownership semantics, ranges, and exceptions on top of the plain C interface declared in kernel/bitcoinkernel.h.
Types
Name |
Description |
Owning wrapper over a |
|
Owning wrapper over a |
|
CRTP mixin adding block‐hash operations shared by the view and owning types. |
|
Non‐owning view over a |
|
Owning wrapper over a |
|
CRTP mixin adding block‐header accessors shared by the view and owning types. |
|
Non‐owning view over a |
|
Owning wrapper over a |
|
Non‐owning view over a |
|
Owning wrapper over a |
|
CRTP mixin adding block‐validation‐state accessors shared by the view and owning types. |
|
Non‐owning view over a |
|
Owning wrapper over a |
|
Owning wrapper over |
|
Non‐owning view over a |
|
Owning wrapper over |
|
Owning wrapper over a |
|
CRTP mixin adding coin accessors shared by the view and owning types. |
|
Non‐owning view over a |
|
Non‐owning view over |
|
Owning wrapper over a |
|
Owning wrapper over |
|
Owning RAII handle for a copyable C object of type |
|
Random‐access iterator that lazily materializes views of a collection by index. |
|
Base class for receiving kernel notifications; override the handlers you need. |
|
Connects a user log sink of type |
|
Owning wrapper over a |
|
CRTP mixin adding out‐point accessors shared by the view and owning types. |
|
Non‐owning view over a |
|
Owning wrapper over |
|
Read‐only random‐access view over an indexed C‐handle collection. |
|
Read‐only random‐access view over an indexed C‐handle collection. |
|
Owning wrapper over a |
|
CRTP mixin adding script‐pubkey operations shared by the view and owning types. |
|
Non‐owning view over a |
|
Owning wrapper over a |
|
CRTP mixin adding transaction accessors shared by the view and owning types. |
|
Owning wrapper over a |
|
CRTP mixin adding transaction‐input accessors shared by the view and owning types. |
|
Non‐owning view over a |
|
Owning wrapper over a |
|
CRTP mixin adding transaction‐output accessors shared by the view and owning types. |
|
Non‐owning view over a |
|
Owning wrapper over a |
|
CRTP mixin adding accessors over the coins spent by one transaction. |
|
Non‐owning view over a |
|
Non‐owning view over a |
|
Owning wrapper over a |
|
Owning wrapper over a |
|
CRTP mixin adding transaction‐id operations shared by the view and owning types. |
|
Non‐owning view over a |
|
Owning RAII handle for a non‐copyable C object, backed by std::unique_ptr. |
|
Base class for receiving validation events; override the handlers you need. |
|
Non‐owning view over a const C handle of type |
|
Owning wrapper over a |
|
CRTP mixin adding witness‐stack accessors shared by the view and owning types. |
|
Non‐owning view over a |
|
Trait marking an enum as a bitmask; specialize to |
Enums
Name |
Description |
Selects which block checks to run, mirroring |
|
Reason a block failed validation, mirroring |
|
Bitcoin network the chain parameters describe, mirroring |
|
Logging category, mirroring |
|
Logging verbosity level, mirroring |
|
Script verification flags, mirroring |
|
Status of a script verification call, mirroring |
|
Stage of block synchronization, mirroring |
|
Reason a transaction failed validation, mirroring |
|
Outcome of a validation operation, mirroring |
|
Kernel warning condition, mirroring |
Functions
Name |
Description |
Runs consensus‐level checks on a standalone transaction. |
|
Throws if a freshly returned C handle is null, otherwise passes it through. |
|
Disables all kernel logging. |
|
Disables logging for a category. |
|
Enables logging for a category. |
|
Sets the log level for a single category. |
|
Applies global logging options. |
|
Bitwise AND of two bitmask‐enum values. |
|
Bitwise AND‐assign for a bitmask‐enum value. |
|
Returns an iterator advanced by |
|
Bitwise XOR of two bitmask‐enum values. |
|
Bitwise XOR‐assign for a bitmask‐enum value. |
|
Bitwise OR of two bitmask‐enum values. |
|
Bitwise OR‐assign for a bitmask‐enum value. |
|
Bitwise complement of a bitmask‐enum value. |
|
Overrides the kernel's notion of the current time, for testing. |
|
Serializes a C object into a byte vector using its |
Concepts
Name |
Description |
Satisfied by enums opted into bitmask operators via is_bitmask_enum. |
|
Satisfied when a container exposes a size accessor and an indexed element accessor. |
|
Satisfied by a type exposing |
Created with MrDocs