Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MTPublisher ¶
type MTPublisher struct {
// contains filtered or unexported fields
}
MTPublisher polls the MTC issuance log and adds a dummy cosignature to the latest checkpoint if it lacks one. It is a stub for the real MTPublisher.
func New ¶
func New(dbMap *db.WrappedMap, interval time.Duration, mtcLogID, mirrorID string, clk clock.Clock, log blog.Logger) (*MTPublisher, error)
New returns a new *MTPublisher.
func (*MTPublisher) Start ¶
func (p *MTPublisher) Start(ctx context.Context)
Start attempts to cosign the latest checkpoint at each interval until ctx is cancelled.
Click to show internal directories.
Click to hide internal directories.