fedimint icon indicating copy to clipboard operation
fedimint copied to clipboard

Resilience against `bitcoind` outages

Open elsirion opened this issue 11 months ago • 1 comments

  • Before starting consensus, wait for bitcoind to be reachable and synced
  • Also check that bitcoind is on the same network as the config says
    • Either depends on #5121
    • Or we need a pre_check fn in the server module interface such that each module can attest that all its prerequisites are met. This also benefits other modules that have different external dependencies.
  • We already shut down on bitcoind becoming unreachable, so we'll run into the above-mentioned functionality after being auto-restarted by e.g. sytemd. We should probably make this behavior faster.

This prevents AlephBFT from running into exponential slowdown in case bitcoind isn't reachable for a prolonged time.

elsirion avatar Apr 29 '25 17:04 elsirion

Less of a priority due to https://github.com/fedimint/fedimint/pull/7523

elsirion avatar Jun 26 '25 17:06 elsirion