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
Branch
chronik-http-raw-tx
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23609
Build 46832: Build Diffbuild-without-wallet · build-debug · build-diff · build-clang-tidy · build-clang · build-chronik
Build 46831: arc lint + arc unit

Event Timeline

Fabien added inline comments.
test/functional/chronik_raw_tx.py
65

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.