registry

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ParamsRegistries = &ParametersRegistries{}
	ParamsP2P        = &ParametersP2P{}
)
View Source
var Component *app.Component

Functions

This section is empty.

Types

type ParametersP2P

type ParametersP2P struct {
	Identity struct {
		PrivateKey string `default:"" usage:"private key used to derive the node identity (optional)"`
		FilePath   string `default:"waspdb/identity/identity.key" usage:"the path to the node identity PEM file"`
	}

	Database struct {
		// Defines the path to the p2p database.
		Path string `default:"waspdb/p2pstore" usage:"the path to the p2p database"`
	} `name:"db"`
}

ParametersP2P contains the definition of the parameters used by p2p.

type ParametersRegistries

type ParametersRegistries struct {
	Chains struct {
		FilePath string `default:"waspdb/chains/chain_registry.json" usage:"the path to the chain registry file"`
	}
	DKShares struct {
		Path string `default:"waspdb/dkshares" usage:"the path to the distributed key shares registries folder"`
	}
	TrustedPeers struct {
		FilePath string `default:"waspdb/trusted_peers.json" usage:"the path to the trusted peers registry file"`
	}
	ConsensusState struct {
		Path string `default:"waspdb/chains/consensus" usage:"the path to the consensus state registries folder"`
	}
}

Jump to

Keyboard shortcuts

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