constants

package
v0.44.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConsensusAccountName = "consensus"
	ProtoConfigPath      = "protocol"

	// MaxAlphabetNodes is the maximum number of candidates allowed, which is currently limited by the size
	// of the invocation script.
	// See: https://github.com/nspcc-dev/neo-go/blob/740488f7f35e367eaa99a71c0a609c315fe2b0fc/pkg/core/transaction/witness.go#L10
	MaxAlphabetNodes = 22

	SingleAccountName    = "single"
	CommitteeAccountName = "committee"

	NNSContract        = "nns"
	FrostfsContract    = "frostfs"    // not deployed in side-chain.
	ProcessingContract = "processing" // not deployed in side-chain.
	AlphabetContract   = "alphabet"
	BalanceContract    = "balance"
	ContainerContract  = "container"
	FrostfsIDContract  = "frostfsid"
	NetmapContract     = "netmap"
	PolicyContract     = "policy"
	ProxyContract      = "proxy"

	ContractWalletFilename    = "contract.json"
	ContractWalletPasswordKey = "contract"

	FrostfsOpsEmail  = "ops@frostfs.info"
	NNSRefreshDefVal = int64(3600)
	NNSRetryDefVal   = int64(600)
	NNSTtlDefVal     = int64(3600)

	DefaultExpirationTime = 10 * 365 * 24 * time.Hour / time.Second

	DeployMethodName = "deploy"
	UpdateMethodName = "update"

	TestContractPassword = "grouppass"
)

Variables

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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