Constructors

Synopses

Declared in <kernel/bitcoinkernel_wrapper.h>

Constructs a header by deserializing its 80‐byte form.

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

Constructs an owning copy from a view.

Takes ownership of an existing C block header.

Parameters

Name

Description

raw_header

The serialized header bytes.

view

The view to copy.

header

The C handle to own.

Created with MrDocs