2023-07-07 14:49:44 +00:00
|
|
|
package validator
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/blockchain"
|
2023-08-05 20:54:12 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/core"
|
2023-07-07 14:49:44 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/sync"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Server defines a server implementation for HTTP endpoints, providing
|
|
|
|
// access data relevant to the Ethereum Beacon Chain.
|
|
|
|
type Server struct {
|
|
|
|
GenesisTimeFetcher blockchain.TimeFetcher
|
|
|
|
SyncChecker sync.Checker
|
|
|
|
HeadFetcher blockchain.HeadFetcher
|
2023-08-05 20:54:12 +00:00
|
|
|
CoreService *core.Service
|
2023-07-07 14:49:44 +00:00
|
|
|
}
|