2023-11-27 14:44:26 +00:00
|
|
|
package beacon
|
|
|
|
|
|
|
|
import (
|
2024-02-15 05:46:47 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/blockchain"
|
|
|
|
beacondb "github.com/prysmaticlabs/prysm/v5/beacon-chain/db"
|
2024-02-15 17:26:59 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/rpc/lookup"
|
2024-02-15 05:46:47 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/state/stategen"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/sync"
|
2023-11-27 14:44:26 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Server struct {
|
|
|
|
SyncChecker sync.Checker
|
|
|
|
HeadFetcher blockchain.HeadFetcher
|
|
|
|
TimeFetcher blockchain.TimeFetcher
|
|
|
|
OptimisticModeFetcher blockchain.OptimisticModeFetcher
|
|
|
|
CanonicalHistory *stategen.CanonicalHistory
|
|
|
|
BeaconDB beacondb.ReadOnlyDatabase
|
2024-02-15 17:26:59 +00:00
|
|
|
Stater lookup.Stater
|
|
|
|
ChainInfoFetcher blockchain.ChainInfoFetcher
|
|
|
|
FinalizationFetcher blockchain.FinalizationFetcher
|
2023-11-27 14:44:26 +00:00
|
|
|
}
|