Skip to content

feat: improve resilience of fetchFeeEstimates by adding retry mechanism#19

Merged
landabaso merged 1 commit intomainfrom
electrum-fee-resilience
Nov 8, 2024
Merged

feat: improve resilience of fetchFeeEstimates by adding retry mechanism#19
landabaso merged 1 commit intomainfrom
electrum-fee-resilience

Conversation

@landabaso
Copy link
Member

  • Implemented a retry mechanism in fetchFeeEstimates to handle cases where Electrum server fails to provide a fee estimate.
  • Updated package version from 0.3.8 to 0.3.9 to reflect the change.
  • Removed error throwing on failure to allow smoother operation in cases of temporary Electrum server issues.

- Implemented a retry mechanism in fetchFeeEstimates to handle cases where
  Electrum server fails to provide a fee estimate on the first attempt.
- Added a 0.1-second delay before retrying if the first attempt fails,
  which addresses intermittent issues with Electrum servers, especially on testnet.
- Updated package version from 0.3.8 to 0.3.9 to reflect the change.
- Removed error throwing on failure to allow smoother operation in cases of
  temporary Electrum server issues.
@landabaso landabaso merged commit 70126f8 into main Nov 8, 2024
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