-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ir: retry mainnet RPC connection if the node is outdated
We can have a set of RPC nodes configured and we will switch them in runtime, but if the first node is outdated then the IR node will _always_ fail to start until RPC node catches up. We can have a better behaviour with node switching to other RPCs in this phase. Can't be done this easily for the sidechain since in most cases we have an internal node and it needs to go through the chain completely. Refs. #2426. Signed-off-by: Roman Khimov <[email protected]>
- Loading branch information
1 parent
08e9e29
commit b5f085b
Showing
3 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters