Extra labels: stellar, resilience
Tier: M (2-4 days) | Type: feature
Context. A single Soroban RPC URL is a single point of failure. Users want to configure a primary + fallback and have the client fail over silently if the primary is down.
Scope.
- Client accepts an array of endpoints.
- Health-check on first use; sticky to the healthy one until it fails.
- Circuit breaker: after N consecutive failures, mark endpoint bad for M seconds.
- Emit a
endpointFailover event so apps can log it.
Acceptance.
Files. src/chains/stellar/rpc.ts, test/chains/stellar/rpc.test.ts.
Extra labels:
stellar,resilienceTier: M (2-4 days) | Type: feature
Context. A single Soroban RPC URL is a single point of failure. Users want to configure a primary + fallback and have the client fail over silently if the primary is down.
Scope.
endpointFailoverevent so apps can log it.Acceptance.
Files.
src/chains/stellar/rpc.ts,test/chains/stellar/rpc.test.ts.