Page MenuHomePhabricator

[Chronik] Add `broadcast_tx` to `ChronikBridge`
ClosedPublic

Authored by tobias_ruck on Jun 4 2023, 22:09.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC5d5dc8b4cca9: [Chronik] Add `broadcast_tx` to `ChronikBridge`
Summary

Allows us to broadcast txs from Chronik.

Use node::BroadcastTransaction internally.

Depends on D13980.

Test Plan

ninja test_bitcoin && ./src/test/test_bitcoin -t chronikbridge_tests

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-broadcast_tx
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23894
Build 47398: Build Diffbuild-chronik
Build 47397: arc lint + arc unit

Event Timeline

Fabien requested changes to this revision.Jun 5 2023, 08:37
Fabien added inline comments.
chronik/chronik-cpp/chronik_bridge.cpp
241

Use MakeTransactionRef(tx) instead

This revision now requires changes to proceed.Jun 5 2023, 08:37

Use MakeTransactionRef, fix comment spelling

This revision is now accepted and ready to land.Jun 5 2023, 11:51