forked from TrueCloudLab/frostfs-node
31 lines
1 KiB
Go
31 lines
1 KiB
Go
package util
|
|
|
|
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
|
|
|
|
EndpointFlag = "rpc-endpoint"
|
|
EndpointFlagDesc = "N3 RPC node endpoint"
|
|
EndpointFlagShort = "r"
|
|
AlphabetWalletsFlag = "alphabet-wallets"
|
|
AlphabetWalletsFlagDesc = "Path to alphabet wallets dir"
|
|
|
|
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"
|
|
)
|