mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 02:02:18 +00:00
f09fe4f038
* Reorganize Prysm custom endpoints * add deprecated paths * review
22 lines
780 B
Go
22 lines
780 B
Go
package beacon
|
|
|
|
import (
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/blockchain"
|
|
beacondb "github.com/prysmaticlabs/prysm/v5/beacon-chain/db"
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/rpc/lookup"
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/state/stategen"
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/sync"
|
|
)
|
|
|
|
type Server struct {
|
|
SyncChecker sync.Checker
|
|
HeadFetcher blockchain.HeadFetcher
|
|
TimeFetcher blockchain.TimeFetcher
|
|
OptimisticModeFetcher blockchain.OptimisticModeFetcher
|
|
CanonicalHistory *stategen.CanonicalHistory
|
|
BeaconDB beacondb.ReadOnlyDatabase
|
|
Stater lookup.Stater
|
|
ChainInfoFetcher blockchain.ChainInfoFetcher
|
|
FinalizationFetcher blockchain.FinalizationFetcher
|
|
}
|