eosjs icon indicating copy to clipboard operation
eosjs copied to clipboard

Enhancement: support for multiple URLs in JsonRpc

Open cc32d9 opened this issue 3 years ago • 2 comments

If an API service is unavailable, the application has to deal with the errors, or in most cases it just bails out.

The JsonRpc constructor should accept an array of URLs, and connect to them in specified order. If one is not responding, try the next one. return a comprehensive error if all of them fail.

cc32d9 avatar Sep 16 '20 15:09 cc32d9