HomePhabricator

[Chronik] Add `size` to `ffi::Block`

Description

[Chronik] Add size to ffi::Block

Summary:
Allows us to store the size of the block for block stats.

CBlockIndex already has the size ready, so we don't need to do anything fancy.

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

Reviewers: Fabien, #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
tobias_ruckAuthored on May 3 2023, 13:08
tobias_ruckPushed on May 3 2023, 17:45
Reviewer
Restricted Project
Differential Revision
D13850: [Chronik] Add `size` to `ffi::Block`
Parents
rABC79df74ee1653: [herald] Handle messages longer than Telegram max
Branches
Unknown
Tags
Unknown