fedimint_api_client

Module query

Source
Expand description

Client query system

Structs§

FilterMap
Returns when we obtain the first valid responses. RPC call errors or invalid responses are not retried.
FilterMapThreshold
Returns when we obtain a threshold of valid responses. RPC call errors or invalid responses are not retried.
ThresholdConsensus
Returns when we obtain a threshold of identical responses. Responses are not assumed to be static and may be updated by the peers; on failure to establish consensus with a threshold of responses, we retry the requests. RPC call errors are not retried.

Enums§

QueryStep
Results from the strategy handling a response from a peer

Traits§

QueryStrategy
Fedimint query strategy