Page MenuHomePhabricator

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

Authored by tobias_ruck on May 3 2023, 13:08.

Details

Reviewers
Fabien
PiRK
Group Reviewers
Restricted Project
Commits
rABCf3a139cf382b: [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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable