mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-20 08:31:11 +00:00
204de13c86
* Revert "Revert "REST VC: Subscribe to Beacon API events (#13354)" (#13428)" This reverts commit 8d092a1113a4c4033b93bd2b60a67660cf65a21d. * change logic * review * test fix * fix critical error * merge flag check * change error msg * return on errors --------- Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
13 lines
480 B
Go
13 lines
480 B
Go
package api
|
|
|
|
const (
|
|
VersionHeader = "Eth-Consensus-Version"
|
|
ExecutionPayloadBlindedHeader = "Eth-Execution-Payload-Blinded"
|
|
ExecutionPayloadValueHeader = "Eth-Execution-Payload-Value"
|
|
ConsensusBlockValueHeader = "Eth-Consensus-Block-Value"
|
|
JsonMediaType = "application/json"
|
|
OctetStreamMediaType = "application/octet-stream"
|
|
EventStreamMediaType = "text/event-stream"
|
|
KeepAlive = "keep-alive"
|
|
)
|