Description:
Add circuit breaker pattern to Soroban RPC calls to prevent cascading failures when the RPC service is degraded or unavailable.
Acceptance Criteria:
- Implement circuit breaker using
opossum library
- Configurable failure threshold and timeout
- Automatic fallback to secondary RPC endpoints
- Circuit breaker state monitoring
- Metrics for circuit breaker trips
- Admin API to manually open/close circuit
- Graceful degradation when all RPCs are down
Description:
Add circuit breaker pattern to Soroban RPC calls to prevent cascading failures when the RPC service is degraded or unavailable.
Acceptance Criteria:
opossumlibrary