handlers

package
v3.0.0-alpha5.0...-c974331 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2024 License: LGPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SuccessfulResponsePrefix  = 0x00
	RateLimitedPrefix         = 0x01
	ResourceUnavailablePrefix = 0x02
)
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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL