btck::BlockHeader::BlockHeader

Constructs a header by deserializing its 80-byte form.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

explicit
BlockHeader(std::span<std::byte const> raw_header);

Parameters

NameDescription
raw_headerThe serialized header bytes.