Page MenuHomePhabricator

[Chronik] Move proto logic from `QueryTxs::tx_by_id` to `make_tx_proto`
ClosedPublic

Authored by tobias_ruck on Apr 3 2023, 17:30.

Details

Summary

Having this be its own function makes the code cleaner and allows us to re-use the function at other places.

Test Plan

ninja check-crates && ninja && ./test/functional/test_runner.py chronik_tx

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-make_tx_proto
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22922
Build 45464: Build Diffbuild-chronik
Build 45463: arc lint + arc unit