Skip to content

Allow multiple RPC's to be defined #1198

@danbryan

Description

@danbryan

I'd love to see something like this....

  osmosis:
    type: cosmos
    value:
      key: default
      chain-id: osmosis-1
      rpc-addr: [
        https://rpc.osmosis.strange.love:443,
        https://rpc.osmosis.strange.love:443
     ]

Maybe start simple like, is the first item in the list until it gets 5 non HTTP 200 codes returned, then it tries the next item in the list.

End goal could be, doing health checks against chain-registry to determine live peers.

Tasks

  • Create fallback-rpc-addrs command to allow multiple comma separated urls
  • Add subcommand to allow adding urls from a file that contains said comma separated url.
  • Add failsafe to continue to next available url after 5 retires .
### Tasks

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions