HomePhabricator

[Chronik] Add `get_block_header` to FFI

Description

[Chronik] Add get_block_header to FFI

Summary: Returns the serialized block header of a given CBlockIndex, and expose it via FFI to Chronik.

Test Plan: ninja test_bitcoin && ./src/test/test_bitcoin -t chronikbridge_tests

Reviewers: PiRK, #bitcoin_abc

Reviewed By: PiRK, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D16442

Details

Provenance
tobias_ruckAuthored on Jul 11 2024, 13:26
tobias_ruckPushed on Jul 11 2024, 15:38
Reviewer
Restricted Project
Differential Revision
D16442: [Chronik] Add `get_block_header` to FFI
Parents
rABC0e6afdf73577: [Cashtab] Replace 546 magic number with dust const
Branches
Unknown
Tags
Unknown