access_mgr

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessMgr

type AccessMgr interface {
	TrustedNodes(trusted []*cryptolib.PublicKey)
	ChainAccessNodes(chainID isc.ChainID, accessNodes []*cryptolib.PublicKey)
	ChainDismissed(chainID isc.ChainID)
}

func New

func New(
	ctx context.Context,
	serversUpdatedCB func(chainID isc.ChainID, servers []*cryptolib.PublicKey),
	nodeIdentity *cryptolib.KeyPair,
	net peering.NetworkProvider,
	log *logger.Logger,
) AccessMgr

Directories

Path Synopsis
The algorithm here follows the specification `WaspChainAccessNodesV4.tla`.
The algorithm here follows the specification `WaspChainAccessNodesV4.tla`.

Jump to

Keyboard shortcuts

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