Documentation
¶
Index ¶
- Constants
- func ParseResponse(response []byte) (string, *deneb.BlockContents, error)
- type Blobber
- func (b *Blobber) AddBeaconClient(cl *beacon_client.BeaconClient, validatorProxy bool) *validator_proxy.ValidatorProxy
- func (b *Blobber) Address() string
- func (b *Blobber) Close()
- func (b *Blobber) GetProducedBlockRoots() map[beacon_common.Slot][32]byte
- func (b *Blobber) IncludeBlobRecord() *common.BlobRecord
- func (b *Blobber) RejectBlobRecord() *common.BlobRecord
- type BlockDataStruct
- type BuiltBlocksMap
Constants ¶
View Source
const ( PortBeaconTCP = 9000 PortBeaconUDP = 9000 PortBeaconAPI = 4000 PortBeaconGRPC = 4001 PortMetrics = 8080 PortValidatorAPI = 5000 FarFutureEpoch = beacon_common.Epoch(0xffffffffffffffff) DEFAULT_BLOBBER_HOST = "0.0.0.0" DEFAULT_BLOBBER_PORT = 19999 DEFAULT_PROXIES_PORT_START = 20000 DEFAULT_VALIDATOR_LOAD_TIMEOUT_SECONDS = 20 )
Variables ¶
This section is empty.
Functions ¶
func ParseResponse ¶
func ParseResponse(response []byte) (string, *deneb.BlockContents, error)
Types ¶
type Blobber ¶
type Blobber struct {
// Configuration object
*config.Config
// contains filtered or unexported fields
}
func (*Blobber) AddBeaconClient ¶
func (b *Blobber) AddBeaconClient(cl *beacon_client.BeaconClient, validatorProxy bool) *validator_proxy.ValidatorProxy
func (*Blobber) GetProducedBlockRoots ¶ added in v1.0.5
func (b *Blobber) GetProducedBlockRoots() map[beacon_common.Slot][32]byte
func (*Blobber) IncludeBlobRecord ¶ added in v1.0.5
func (b *Blobber) IncludeBlobRecord() *common.BlobRecord
Return a list of blobs that each proposal action has classified as must-be-included
func (*Blobber) RejectBlobRecord ¶ added in v1.0.5
func (b *Blobber) RejectBlobRecord() *common.BlobRecord
Return a list of blobs that each proposal action has classified as must-be-rejected
type BlockDataStruct ¶
type BlockDataStruct struct {
Version string `json:"version"`
Data json.RawMessage `json:"data"`
}
type BuiltBlocksMap ¶ added in v1.0.5
type BuiltBlocksMap struct {
BlockRoots map[beacon_common.Slot][32]byte
sync.RWMutex
}
Click to show internal directories.
Click to hide internal directories.