Allow multiple RPC urls
Components
steem.api.setOptions
function
Proposal
Allow user to provide multiple RPC API urls for fallback.
Mockups / Examples
Current API:
steem.api.setOptions({ url: 'wss://steemd.steemit.com' });
New API:
steem.api.setOptions({ urls: [
'wss://steemd.steemit.com',
'wss://steemd.steemitdev.com',
'wss://node.steem.ws'
] });
Benefits
Since architecture of the steem network is distributed and community run by design, it's not unusual to have one or more public RPC API nodes unresponsive for some amount of time. Any serious project built on top of steem blockchain will undoubtedly run it's own api node for reliability, but small community run projects usually don't have resources to do so and rely on public API nodes. It would be very beneficial for such projects to have the option of providing array of fallback urls to use automatically when main node is unresponsive.
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Hey @laxam I am @utopian-io. I have just upvoted you!
Achievements
Suggestions
Get Noticed!
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x