This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Conversation
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
Made delayBeforeRetry configurable via init()s. Chained init()s via convenience init to remove duplicated code. Moved getResource() logic to a new processRequest() func so the call logic can be recursed by failover. Added logic in captureChainId to ensure any failover calls will only succeed if new endpoint chain ids match original chain id. Added a Queue<T> implementation to better manage the multiple endpoints. Add a LinkedList<T> used to back the Queue<T>. LinkedList<T> includes a generic Node<T>. Added originalChainId var to use to ensure all endpoints tried in fail-overs are running same block chain. Added new rpcProviderFatalError enum to EosioError
…d for failover logic.
Fix copyright in all the source files.
Add file header template with updated copyright.
…ave different hosts!
…en all endpoints exhausted for failover attempts.
Todd/update private key ext
# Conflicts: # EosioSwift/EosioRpcProvider/EosioRpcProvider.swift
…rging development to this branch (rebasing had too many changes so a merge was the only way to go).
Failover implemented using PromiseKit.
josephjguerra
approved these changes
May 10, 2019
Switch26
approved these changes
May 10, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merging into master. Normally we would increment the version at this point, but we will do that later today after some other changes are in. I just need to test some docs generation stuff from master.