Documentation ¶
Index ¶
Constants ¶
View Source
const ( SuccessfulResponsePrefix = 0x00 RateLimitedPrefix = 0x01 )
View Source
const (
MaxRequestsBlocks = 96
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsensusHandlers ¶
type ConsensusHandlers struct {
// contains filtered or unexported fields
}
func NewConsensusHandlers ¶
func NewConsensusHandlers(ctx context.Context, db freezeblocks.BeaconSnapshotReader, indiciesDB kv.RoDB, host host.Host, peers *peers.Pool, netCfg *clparams.NetworkConfig, me *enode.LocalNode, beaconConfig *clparams.BeaconChainConfig, ethClock eth_clock.EthereumClock, hs *handshake.HandShaker, forkChoiceReader forkchoice.ForkChoiceStorageReader, blobsStorage blob_storage.BlobStorage, enabledBlocks bool) *ConsensusHandlers
func (*ConsensusHandlers) Start ¶
func (c *ConsensusHandlers) Start()
type RateLimits ¶
type RateLimits struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.