Versions in this module Expand all Collapse all v0 v0.2.1-beta1 Apr 19, 2022 v0.1.0 Apr 6, 2022 Changes in this version + func NewRouter(relayURLs []string, store Store, log *logrus.Entry) (*mux.Router, error) + type BlindedBeaconBlock struct + Body json.RawMessage + ParentRoot string + ProposerIndex string + Slot string + StateRoot string + type BlindedBeaconBlockBodyPartial struct + ExecutionPayload ExecutionPayloadHeaderOnlyBlockHash + ExecutionPayloadCamel ExecutionPayloadHeaderOnlyBlockHash + type ExecutionPayloadHeaderOnlyBlockHash struct + BlockHash string + BlockHashCamel string + type ExecutionPayloadWithTxRootV1 struct + BaseFeePerGas *big.Int + BlockHash common.Hash + ExtraData []byte + FeeRecipient common.Address + FeeRecipientDiff *big.Int + GasLimit uint64 + GasUsed uint64 + LogsBloom []byte + Number uint64 + ParentHash common.Hash + PrevRandao common.Hash + ReceiptsRoot common.Hash + StateRoot common.Hash + Timestamp uint64 + Transactions *[]string + TransactionsRoot common.Hash + func (e *ExecutionPayloadWithTxRootV1) UnmarshalJSON(input []byte) error + func (e ExecutionPayloadWithTxRootV1) MarshalJSON() ([]byte, error) + type ForkChoiceResponse struct + PayloadID *hexutil.Bytes + PayloadStatus PayloadStatus + type ForkchoiceStatus string + var ForkchoiceStatusAccepted ForkchoiceStatus = "ACCEPTED" + var ForkchoiceStatusInvalid ForkchoiceStatus = "INVALID" + var ForkchoiceStatusInvalidBlockHash ForkchoiceStatus = "INVALID_BLOCK_HASH" + var ForkchoiceStatusInvalidTerminalBlock ForkchoiceStatus = "INVALID_TERMINAL_BLOCK" + var ForkchoiceStatusSyncing ForkchoiceStatus = "SYNCING" + var ForkchoiceStatusValid ForkchoiceStatus = "VALID" + type PayloadStatus struct + LatestValidHash string + Status ForkchoiceStatus + ValidationError string + type RelayService struct + func (m *RelayService) ForkchoiceUpdatedV1(_ *http.Request, args *[]interface{}, result *ForkChoiceResponse) error + func (m *RelayService) GetPayloadHeaderV1(_ *http.Request, args *string, result *ExecutionPayloadWithTxRootV1) error + func (m *RelayService) ProposeBlindedBlockV1(_ *http.Request, args *SignedBlindedBeaconBlock, ...) error + type SignedBlindedBeaconBlock struct + Message *BlindedBeaconBlock + Signature string + type Store interface + Cleanup func() + GetExecutionPayload func(blockHash common.Hash) *ExecutionPayloadWithTxRootV1 + GetForkchoiceResponse func(boostPayloadID string) (map[string]string, bool) + SetExecutionPayload func(blockHash common.Hash, payload *ExecutionPayloadWithTxRootV1) + SetForkchoiceResponse func(boostPayloadID, relayURL, relayPayloadID string) + func NewStore() Store + func NewStoreWithCleanup() Store