mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 03:01:19 +00:00
cd8d499198
* Move weak subjectivity endpoint to HTTP * remove server test file * remove deprecation
18 lines
577 B
Go
18 lines
577 B
Go
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
|
|
}
|