Versions in this module Expand all Collapse all v1 v1.0.1 Oct 31, 2024 Changes in this version + type PollResult struct + Error error + Latency time.Duration + NewCertificates uint64 + ReceivedCertificates uint64 + Status PollStatus + type PollStatus int + const PollFailed + const PollHit + const PollIllegal + const PollMiss + func (i PollStatus) String() string + func (p PollStatus) GoString() string + type Poller struct + NextInstance uint64 + PowerTable gpbft.PowerEntries + SignatureVerifier gpbft.Verifier + Store *certstore.Store + func NewPoller(ctx context.Context, client *certexchange.Client, store *certstore.Store, ...) (*Poller, error) + func (p *Poller) CatchUp(ctx context.Context) (uint64, error) + func (p *Poller) Poll(ctx context.Context, peer peer.ID) (*PollResult, error) + type Subscriber struct + InitialPollInterval time.Duration + MaximumPollInterval time.Duration + MinimumPollInterval time.Duration + SignatureVerifier gpbft.Verifier + Store *certstore.Store + func (s *Subscriber) Start(startCtx context.Context) error + func (s *Subscriber) Stop(stopCtx context.Context) error