Constructors

Synopses

Declared in <kernel/bitcoinkernel_wrapper.h>

Constructs an owning copy from a view.

BlockHash(BlockHashView const& view);

Constructs a block hash from raw 32‐byte data.

explicit
BlockHash(std::array<std::byte, 32> const& hash);

Takes ownership of an existing C block hash.

explicit
BlockHash(btck_BlockHash* hash);

Parameters

Name

Description

view

The view to copy.

hash

The 32‐byte hash value.

Created with MrDocs