notary

package
v0.0.143 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package notary scans origin chains for messages to its destination and signs attestations and posts to AttestationCollector.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notary

type Notary struct {
	// contains filtered or unexported fields
}

Notary checks the Summit for that latest states signed by guards, validates those states on origin, then signs and submits the snapshot to Summit.

func NewNotary

func NewNotary(ctx context.Context, cfg config.AgentConfig, handler metrics.Handler) (_ Notary, err error)

NewNotary creates a new notary.

func (Notary) Start

func (n Notary) Start(ctx context.Context) error

Start starts the notary.

Directories

Path Synopsis
Package api contains the API for the notary.
Package api contains the API for the notary.
Package cmd provides the command line interface for the notary.
Package cmd provides the command line interface for the notary.
Package main provides the main function for the Notary.
Package main provides the main function for the Notary.
Package metadata provides metadata for Notary.
Package metadata provides metadata for Notary.

Jump to

Keyboard shortcuts

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