registry

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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