btck::BlockHeaderApi::ToBytes

Serializes the header to its 80-byte form.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

std::array<std::byte, 80>
ToBytes() const;

Return Value

The 80 serialized header bytes.