forked from flashbots/mev-boost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.go
23 lines (20 loc) · 883 Bytes
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package server
const (
HeaderAccept = "Accept"
HeaderContentType = "Content-Type"
HeaderEthConsensusVersion = "Eth-Consensus-Version"
HeaderKeySlotUID = "X-MEVBoost-SlotID"
HeaderKeyVersion = "X-MEVBoost-Version"
// Deprecated: replaced by HeaderDateMilliseconds below.
HeaderStartTimeUnixMS = "X-MEVBoost-StartTimeUnixMS"
HeaderUserAgent = "User-Agent"
// Header which communicates when a request was sent. Used to measure latency.
// Replaces HeaderStartTimeUnixMS above which may be dropped in a future release.
HeaderDateMilliseconds = "Date-Milliseconds"
MediaTypeJSON = "application/json"
MediaTypeOctetStream = "application/octet-stream"
EthConsensusVersionBellatrix = "bellatrix"
EthConsensusVersionCapella = "capella"
EthConsensusVersionDeneb = "deneb"
EthConsensusVersionElectra = "electra"
)