Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is set at build time (must be a var, not a const!) Version = "dev" // RFC3339Milli is a time format string based on time.RFC3339 but with millisecond precision RFC3339Milli = "2006-01-02T15:04:05.999Z07:00" // ServerReadTimeoutMs sets the maximum duration for reading the entire request, including the body. A zero or negative value means there will be no timeout. ServerReadTimeoutMs = common.GetEnvInt("MEV_BOOST_SERVER_READ_TIMEOUT_MS", 1000) // ServerReadHeaderTimeoutMs sets the amount of time allowed to read request headers. ServerReadHeaderTimeoutMs = common.GetEnvInt("MEV_BOOST_SERVER_READ_HEADER_TIMEOUT_MS", 1000) // ServerWriteTimeoutMs sets the maximum duration before timing out writes of the response. ServerWriteTimeoutMs = common.GetEnvInt("MEV_BOOST_SERVER_WRITE_TIMEOUT_MS", 0) // ServerIdleTimeoutMs sets the maximum amount of time to wait for the next request when keep-alives are enabled. ServerIdleTimeoutMs = common.GetEnvInt("MEV_BOOST_SERVER_IDLE_TIMEOUT_MS", 0) // ServerMaxHeaderBytes defines the max header byte size for requests (for dos prevention) ServerMaxHeaderBytes = common.GetEnvInt("MAX_HEADER_BYTES", 4000) // SkipRelaySignatureCheck can be used to disable relay signature check SkipRelaySignatureCheck = os.Getenv("SKIP_RELAY_SIGNATURE_CHECK") == "1" SlotTimeSec = uint64(common.GetEnvInt("SLOT_SEC", common.SlotTimeSecMainnet)) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.