fix(bifrost): make BTC fee floor independent of daemon policy

Bifrost treats getnetworkinfo.relayfee, a rate in BTC/kvB, as an absolute transaction fee floor. Bitcoin Core 29.1 lowered the default, causing otherwise identical signing nodes to apply different floors: 1,000 versus 100 sat. For affected outbounds, this changes transaction outputs and sighashes, splitting TSS signing sessions.

Fix BTC's absolute floor at its historical value of 1,000 sat, independent of local daemon policy. The shared value keeps transaction construction and network-fee reporting consistent. Existing MaxGas limits, retry checkpoints, and other UTXO chains retain their behavior.

Validation:

  • Full UTXO package tests pass under mocknet and mainnet.
  • Five regression tests cover transaction bytes and sighashes, fee reports, boundary values, other chains, and checkpoint reuse.
  • Restoring the original code reproduces the transaction, sighash, and fee-report failures.
  • Configured lint, formatting, and the repository's float-comparison analyzer pass.

Rollout requires matching effective fee policy across signing nodes. Unpatched nodes using the lower daemon default can still disagree with patched nodes.

Merge request reports

Loading
Loading