2023-07-11 09:26:08 +00:00
|
|
|
package node
|
|
|
|
|
|
|
|
import (
|
2024-02-15 05:46:47 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/blockchain"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/db"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/execution"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/p2p"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/sync"
|
2023-07-11 09:26:08 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Server struct {
|
|
|
|
SyncChecker sync.Checker
|
|
|
|
OptimisticModeFetcher blockchain.OptimisticModeFetcher
|
|
|
|
BeaconDB db.ReadOnlyDatabase
|
|
|
|
PeersFetcher p2p.PeersProvider
|
|
|
|
PeerManager p2p.PeerManager
|
|
|
|
MetadataProvider p2p.MetadataProvider
|
|
|
|
GenesisTimeFetcher blockchain.TimeFetcher
|
|
|
|
HeadFetcher blockchain.HeadFetcher
|
|
|
|
ExecutionChainInfoFetcher execution.ChainInfoFetcher
|
|
|
|
}
|