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 NewNotaryInjectedBackend ¶ added in v0.0.194
func NewNotaryInjectedBackend(ctx context.Context, cfg config.AgentConfig, handler metrics.Handler, rpcURLs map[uint32]string) (_ Notary, err error)
NewNotaryInjectedBackend creates a new notary with an injected backend, rather than following the omnirpc URL format.
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. |
Click to show internal directories.
Click to hide internal directories.