Page MenuHomePhabricator

[Chronik] Add `/raw-tx/:txid` endpoint
ClosedPublic

Authored by tobias_ruck on May 3 2023, 05:37.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC1521457c6a8b: [Chronik] Add `/raw-tx/:txid` endpoint
Summary

Allows querying raw transactions from the mempool or DB, similar to getrawtransaction, except it doesn't need -txindex and also works for the Genesis coinbase.

Test Plan

ninja && ./test/functional/test_runner.py chronik_raw_tx

Diff Detail

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

Event Timeline

Fabien added inline comments.
test/functional/chronik_raw_tx.py
65 ↗(On Diff #40161)

Please bump the rpc timeout to 240 like it's done in D13833

This revision is now accepted and ready to land.May 3 2023, 08:56
This revision was automatically updated to reflect the committed changes.