A FallbackProvider providers resiliance, security and performatnce in a way that is customizable and configurable.
Additional options to configure a FallbackProvider.
A FallbackProvider manages several Providers providing resiliance by switching between slow or misbehaving nodes, security by requiring multiple backends to aggree and performance by allowing faster backends to respond earlier.
The number of backends that must agree on a value before it is accpeted.
Creates a new FallbackProvider with providers connected to network.
If a Provider is included in providers, defaults are used for the configuration.
Transforms a req into the correct method call on provider.
A configuration entry for how to use a Provider.
The priority. Lower priority providers are dispatched first.
The amount of time to wait before kicking off the next provider.
Any providers that have not responded can still respond and be counted, but this ensures new providers start.
The amount of weight a provider is given against the quorum.
The statistics and state maintained for a Provider.
The most recent blockNumber this provider has reported (-2 if none).
The number of responses that errored.
The number of responses that occured after the result resolved.
How many times syncing was required to catch up the expected block.
The number of total requests ever sent to this provider.
A rolling average (5% current duration) for response time.
The ratio of quorum-agreed results to total.
The number of requests which reported unsupported operation.