notary

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2024 License: MIT Imports: 23 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, omniRPCClient omnirpcClient.RPCClient, txDB db.NotaryDB, handler metrics.Handler) (_ Notary, err error)

NewNotary creates a new notary.

func (*Notary) Start

func (n *Notary) Start(parentCtx 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.
db
Package db defines the interface for the database.
Package db defines the interface for the database.
sql/base
Package base contains the base sql implementation
Package base contains the base sql implementation
sql/mysql
Package mysql contains a mysql db
Package mysql contains a mysql db
sql/sqlite
Package sqlite implements the sqlite package
Package sqlite implements the sqlite package
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