mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 03:01:19 +00:00
223d5309a0
* remove irrelevant comment * fix proto documentation * first implementation * register validator server * first working version * add sync checker and test file * first test * gzl * final version + tests * gzl * run duties through API Middleware * extract dependent root getter * dependentRoot docs * wrap indices in array * fix static analysis issues * modify err nil check * create local variables in slot processing test * Update proto/eth/v1/validator_service.proto * review * simplify index loops * better calculation of committees at slot * comment about impossible comndition Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
15 lines
394 B
Go
15 lines
394 B
Go
package validator
|
|
|
|
import (
|
|
"github.com/prysmaticlabs/prysm/beacon-chain/blockchain"
|
|
"github.com/prysmaticlabs/prysm/beacon-chain/sync"
|
|
)
|
|
|
|
// Server defines a server implementation of the gRPC Validator service,
|
|
// providing RPC endpoints intended for validator clients.
|
|
type Server struct {
|
|
HeadFetcher blockchain.HeadFetcher
|
|
TimeFetcher blockchain.TimeFetcher
|
|
SyncChecker sync.Checker
|
|
}
|