# Functions
EmptyClientWithInfo makes a client that returns the given info but no randomness.
From constructs the client from a set of clients providing randomness.
Insecurely indicates the client should be allowed to provide randomness when the root of trust is not fully provided in a validate-able way.
New creates a watcher, verifying, optimizing client with the specified options.
NewCachingClient is a meta client that stores an LRU cache of recently fetched random values.
PollingWatcher generalizes the `Watch` interface for clients which learn new values by asking for them once each group period.
WithAutoWatch causes the client to automatically attempt to get randomness for rounds, so that it will hopefully already be cached when `Get` is called.
WithAutoWatchRetry specifies the time after which the watch channel created by the autoWatch is re-opened when no context error occurred.
WithCacheSize specifies how large of a cache of randomness values should be kept locally.
WithChainHash configures the client to root trust with a given randomness chain hash, the chain parameters will be fetched from an HTTP endpoint.
WithChainInfo configures the client to root trust in the given randomness chain information, this prevents the setup of the client from attempting to fetch the chain info through the clients from the remotes.
WithFullChainVerification validates random beacons using the chained schemes are not just as being generated correctly from the group signature, but ensures that the full chain is deterministic by making sure each round is derived correctly from the previous one.
WithLogger overrides the logging options for the client, allowing specification of additional tags, or redirection / configuration of logging level and output.
WithPrometheus specifies a registry into which to report metrics.
WithSetupCtx allows you to provide a custom setup context that will be used if WithChainInfo isn't used and the client setup has to try and fetch the ChainInfo from the remotes.
WithTrustedResult provides a checkpoint of randomness verified at a given round.
WithWatcher specifies a channel that can provide notifications of new randomness bootstrappeed from the chain info.
Wrap provides a single entrypoint for wrapping a concrete client implementation with configured aggregation, caching, and retry logic.
# Constants
No description provided by the author
# Structs
RandomData holds the full random response from the server, including data needed for validation.
# Type aliases
Option is an option configuring a client.
WatcherCtor creates a Watcher once chain info is known.