Versions in this module Expand all Collapse all v1 v1.0.1 Oct 31, 2024 Changes in this version + const NoLimit + func FetchProtocolName(nn gpbft.NetworkName) protocol.ID + func FindInitialPowerTable(ctx context.Context, c Client, powerTableCID cid.Cid, ecPeriod time.Duration) (gpbft.PowerEntries, error) + type Client struct + Host host.Host + NetworkName gpbft.NetworkName + RequestTimeout time.Duration + func (c *Client) Request(ctx context.Context, p peer.ID, req *Request) (_rh *ResponseHeader, _ch <-chan *certs.FinalityCertificate, _err error) + type Request struct + FirstInstance uint64 + IncludePowerTable bool + Limit uint64 + func (t *Request) MarshalCBOR(w io.Writer) error + func (t *Request) UnmarshalCBOR(r io.Reader) (err error) + type ResponseHeader struct + PendingInstance uint64 + PowerTable gpbft.PowerEntries + func (t *ResponseHeader) MarshalCBOR(w io.Writer) error + func (t *ResponseHeader) UnmarshalCBOR(r io.Reader) (err error) + type Server struct + Host host.Host + NetworkName gpbft.NetworkName + RequestTimeout time.Duration + Store *certstore.Store + func (s *Server) Start(startCtx context.Context) error + func (s *Server) Stop(stopCtx context.Context) error