Structs§
- Builder
Config - Configuration to initialize the builder
- Global
State - Proxy
Global State
Enums§
- Recv
Error - An error returned from [
Receiver::recv()]. - TryRecv
Error - An error returned from [
Receiver::try_recv()].
Constants§
- ALLOW_
EMPTY_ 🔒BLOCK_ PERIOD ALLOW_EMPTY_BLOCK_PERIODis a constant that is used to determine the number of future views that we will allow building empty blocks for.- BUILDER_
STATE_ 🔒EXACT_ MATCH_ DIVISOR - Proportion of overall allotted time to wait for optimal builder state to appear before resorting to highest view builder state
- RETRY_
LOOP_ 🔒RESOLUTION - This constant governs duration of sleep in various retry loops
in the API. If we’re re-trying something with a timeout of
X, we will sleep forX / RETRY_LOOP_RESOLUTIONbetween attempts. - VID_
RESPONSE_ 🔒TARGET_ MARGIN_ DIVISOR - We will not increment max block value if we aren’t able to serve a response
with a margin below
GlobalState::max_api_waiting_timemore thanGlobalState::max_api_waiting_time/VID_RESPONSE_TARGET_MARGIN_DIVISOR
Functions§
- broadcast
- Create a new broadcast channel.