prysm-pulse/beacon-chain/rpc/prysm/beacon/server.go

18 lines
577 B
Go
Raw Normal View History

package beacon
import (
"github.com/prysmaticlabs/prysm/v4/beacon-chain/blockchain"
beacondb "github.com/prysmaticlabs/prysm/v4/beacon-chain/db"
"github.com/prysmaticlabs/prysm/v4/beacon-chain/state/stategen"
"github.com/prysmaticlabs/prysm/v4/beacon-chain/sync"
)
type Server struct {
SyncChecker sync.Checker
HeadFetcher blockchain.HeadFetcher
TimeFetcher blockchain.TimeFetcher
OptimisticModeFetcher blockchain.OptimisticModeFetcher
CanonicalHistory *stategen.CanonicalHistory
BeaconDB beacondb.ReadOnlyDatabase
}