CodeChain-io / codechain-sdk-js

CodeChain JavaScript SDK
https://api.codechain.io
ISC License
26 stars 17 forks source link

Add fallback addresses for ChainRpc and EngineRpc #349

Closed joojis closed 5 years ago

joojis commented 5 years ago

A single node can fail temporarily, but we don't want the services like the codechain-indexer to stop.

One possibility to address this problem is to allow the SDK to support fallback addresses for the ChainRpc and EngineRpc.

joojis commented 5 years ago

Landed: https://github.com/CodeChain-io/codechain-sdk-js/pull/357