mtpublisher

package
v0.20260630.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2026 License: MPL-2.0 Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL