Documentation ¶
Overview ¶
Package attestation defines the life-cycle and status of single and aggregated attestation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { // AttestationPool is the mapping of individual // validator's public key to it's newest attestation. LatestAttestation map[[48]byte]*pb.Attestation // contains filtered or unexported fields }
Service represents a service that handles the internal logic of managing single and aggregated attestation.
func NewAttestationService ¶
NewAttestationService instantiates a new service instance that will be registered into a running beacon node.
func (*Service) IncomingAttestationFeed ¶
IncomingAttestationFeed returns a feed that any service can send incoming p2p attestations into. The attestation service will subscribe to this feed in order to relay incoming attestations.
Click to show internal directories.
Click to hide internal directories.