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
Branch
chronik-ffi-block-size
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23614
Build 46842: Build Diffbuild-chronik
Build 46841: arc lint + arc unit