Skip to content

fix: bump feerate and tx broadcast timeouts to 15s#64

Merged
ovitrif merged 1 commit intomainfrom
fix/bump-timeout-secs
Feb 27, 2026
Merged

fix: bump feerate and tx broadcast timeouts to 15s#64
ovitrif merged 1 commit intomainfrom
fix/bump-timeout-secs

Conversation

@ovitrif
Copy link
Collaborator

@ovitrif ovitrif commented Feb 27, 2026

Summary

  • Bump FEE_RATE_CACHE_UPDATE_TIMEOUT_SECS from 5s to 15s
  • Bump TX_BROADCAST_TIMEOUT_SECS from 5s to 15s

Problem

The 5-second node-level timeout fires before Electrum can complete a single request (10s timeout), causing FeerateEstimationUpdateTimeout on node.start(). This breaks integration tests and any Electrum-backed setup.

Upstream fixed this in lightningdevkit/ldk-node@40c4b09 (bumped to 10s). We use 15s for extra margin with slow Electrum servers.

Test plan

  • bitkit-cli integration tests pass (previously failing with FeerateEstimationUpdateTimeout)

The 5-second node-level timeout fires before Electrum can complete
a single request (10s timeout), causing FeerateEstimationUpdateTimeout
on node start. Bump both FEE_RATE_CACHE_UPDATE_TIMEOUT_SECS and
TX_BROADCAST_TIMEOUT_SECS from 5s to 15s.

Upstream fixed this in lightningdevkit/ldk-node@40c4b09 (bumped to
10s). We use 15s for extra margin with slow Electrum servers.
@ovitrif ovitrif merged commit 2aa45f6 into main Feb 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant