Expand description
configurable constants for hotshot
Constants§
- AUCTION_
RESULTS_ FETCH_ TIMEOUT - timeout for fetching auction results from the solver
- BUNDLE_
FETCH_ TIMEOUT - timeout for fetching bundles from builders
- COMBINED_
NETWORK_ CACHE_ SIZE - the number of messages to cache in the combined network
- COMBINED_
NETWORK_ DELAY_ DURATION - the default delay duration value in milliseconds of sending on the secondary in the combined networks
- COMBINED_
NETWORK_ MIN_ PRIMARY_ FAILURES - the number of messages to attempt to send over the primary network before switching to prefer the secondary network
- COMBINED_
NETWORK_ PRIMARY_ CHECK_ INTERVAL - the number of messages to send over the secondary network without delay before re-attempting the (presumed down) primary network
- DEFAULT_
UPGRADE_ CONSTANTS - Default values for the upgrade constants
- EVENT_
CHANNEL_ SIZE - Default channel size for consensus event sharing
- EXTERNAL_
EVENT_ CHANNEL_ SIZE - Default channel size for HotShot -> application communication
- KAD_
DEFAULT_ REPUB_ INTERVAL_ SEC - the default kademlia record republication interval (in seconds)
- LEGACY_
BUILDER_ MODULE - The
tide
module name for the legacy builder - LOOK_
AHEAD - the number of views to gather information for ahead of time
- MARKETPLACE_
BUILDER_ MODULE - The
tide
module name for the marketplace builder - ORCHESTRATOR_
DEFAULT_ NUM_ ROUNDS - default number of rounds to run
- ORCHESTRATOR_
DEFAULT_ TRANSACTIONS_ PER_ ROUND - default number of transactions per round
- ORCHESTRATOR_
DEFAULT_ TRANSACTION_ SIZE - default size of transactions
- REQUEST_
DATA_ DELAY - The default network data request delay in milliseconds
- SRS_
DEGREE - For
STAKE_TABLE_CAPACITY=200
, the light client prover (a.k.a.hotshot-state-prover
) would need to generate proof for a circuit of slightly below 2^20 gates. Thus we need to support this upperbounded degree in our Structured Reference String (SRS), the+2
is just an artifact from the jellyfish’s Plonk proof system. - TEST_
UPGRADE_ CONSTANTS - Default values for the upgrade constants to be used in testing