btck::Block::Block

Constructors

Synopses

Declared in <kernel/bitcoinkernel_wrapper.h>

Constructs a block by deserializing raw bytes.

Block(std::span<std::byte const> const raw_block);
» more...

Takes ownership of an existing C block.

Block(btck_Block* block);
» more...

Parameters

NameDescription
raw_blockThe serialized block bytes.
blockThe C handle to own.