Page MenuHomePhabricator

[Chronik] Add `load_tx`
ClosedPublic

Authored by tobias_ruck on Mar 25 2023, 10:16.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC926e72bc1451: [Chronik] Add `load_tx`
Summary

Load transactions from the disk using file_num, data_pos and undo_pos, which we already indexed.

Allows us to read txs from the node when requested by the user.

Depends on D13428.

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

Event Timeline

tobias_ruck created this revision.

rebase on chronik-bridge-txs

should this be load_tx_from_disk?

Fabien added inline comments.
chronik/chronik-cpp/chronik_bridge.cpp
232 ↗(On Diff #38881)
This revision is now accepted and ready to land.Mar 25 2023, 12:55
This revision was automatically updated to reflect the committed changes.