Page MenuHomePhabricator

[Chronik] Bridge `calc_fee` and `default_max_raw_tx_fee_rate_per_kb` to Rust
ClosedPublic

Authored by tobias_ruck on Feb 8 2024, 14:54.

Details

Summary

sendrawtransaction uses these to calculate the maximum fee. By bridging them we can use the same calculation in QueryBroadcast::broadcast_txs, see D15370.

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