Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
BeaconDB db.ReadOnlyDatabase
HeadFetcher blockchain.HeadFetcher
SyncChecker sync.Checker
AttPool attestations.Pool
P2p p2p.Broadcaster
}
Server defines a server implementation of the gRPC aggregator service.
func (*Server) SubmitAggregateAndProof ¶
func (as *Server) SubmitAggregateAndProof(ctx context.Context, req *pb.AggregationRequest) (*pb.AggregationResponse, error)
SubmitAggregateAndProof is called by a validator when its assigned to be an aggregator. The beacon node will broadcast aggregated attestation and proof on the aggregator's behavior.
Click to show internal directories.
Click to hide internal directories.