btck_block_hash_to_bytes

Serializes the block hash to bytes.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
void
btck_block_hash_to_bytes(
    btck_BlockHash const* block_hash,
    unsigned char output[]);

Parameters

NameDescription
block_hash [in]Non-null.
output [in]The serialized block hash.