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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested changes to this revision.Jun 5 2023, 08:37
Fabien added inline comments.
chronik/chronik-cpp/chronik_bridge.cpp
241 ↗(On Diff #40582)

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