Documentation
¶
Index ¶
- func SanityBuilderBlock(payload builderTypes.BuilderBlockBid) error
- func SignedBuilderBid(builderBid builderTypes.BuilderBlockBid, sk *bls.SecretKey, ...) (*relayTypes.SignedBuilderBlockBid, error)
- type BuilderWinningBid
- type EcdsaAddress
- type EcdsaSignature
- type EthNetwork
- type HTTPError
- type Hash
- type ProposerReqParams
- type PublicKey
- type Relay
- func (relay *Relay) BlockSlotTimestamp(slot uint64) uint64
- func (relay *Relay) RespondError(w http.ResponseWriter, code int, message string)
- func (relay *Relay) RespondOK(w http.ResponseWriter, response any)
- func (relay *Relay) Routes() http.Handler
- func (relay *Relay) StartServer(ServerParams *RelayServerParams) (err error)
- func (relay *Relay) TESThandleProposerHeader(w http.ResponseWriter, req *http.Request)
- type RelayConfig
- type RelayParams
- type RelayServerParams
- type Signature
- type Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SanityBuilderBlock ¶
func SanityBuilderBlock(payload builderTypes.BuilderBlockBid) error
func SignedBuilderBid ¶
func SignedBuilderBid(builderBid builderTypes.BuilderBlockBid, sk *bls.SecretKey, publicKey phase0.BLSPubKey, domain signing.Domain) (*relayTypes.SignedBuilderBlockBid, error)
Types ¶
type BuilderWinningBid ¶ added in v0.0.4
type EcdsaAddress ¶
type EcdsaAddress [20]byte
func (EcdsaAddress) String ¶
func (e EcdsaAddress) String() string
type EcdsaSignature ¶
type EcdsaSignature [65]byte
func (EcdsaSignature) String ¶
func (e EcdsaSignature) String() string
type EthNetwork ¶
type EthNetwork struct { Network uint64 GenesisTime uint64 DomainBuilder signing.Domain DomainBeaconCapella signing.Domain }
func NewEthNetworkDetails ¶
func NewEthNetworkDetails(network string, beaconClient *beaconclient.MultiBeaconClient) (*EthNetwork, error)
type ProposerReqParams ¶
type Relay ¶
type Relay struct { URL string // contains filtered or unexported fields }
func NewRelayAPI ¶
func NewRelayAPI(params *RelayParams, log logrus.Entry) (relay *Relay, err error)
func (*Relay) BlockSlotTimestamp ¶
func (*Relay) RespondError ¶
func (relay *Relay) RespondError(w http.ResponseWriter, code int, message string)
func (*Relay) StartServer ¶
func (relay *Relay) StartServer(ServerParams *RelayServerParams) (err error)
func (*Relay) TESThandleProposerHeader ¶
func (relay *Relay) TESThandleProposerHeader(w http.ResponseWriter, req *http.Request)
type RelayConfig ¶ added in v0.0.5
type RelayParams ¶
type RelayParams struct { DbURL string DatabaseParams databaseTypes.DatabaseOpts DbDriver databaseTypes.DatabaseDriver DeleteTables bool URL string PonPoolURL string PonPoolAPIKey string BulletinBoardParams bulletinBoardTypes.RelayMQTTOpts BeaconClientUrls []string ReporterURL string Network string RedisURI string BidTimeOut time.Duration Sk *bls.SecretKey Version string DiscordWebhook string }
type RelayServerParams ¶
type Signature ¶
type Signature phase0.BLSSignature
type Transaction ¶
type Transaction []byte
func (Transaction) String ¶
func (t Transaction) String() string
Click to show internal directories.
Click to hide internal directories.