constants

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamespaceRPC         = "rpc"
	NamespaceNode        = "node"
	NamespaceTx          = "tx"
	NamespacePool        = "pool"
	NamespaceUser        = "user"
	NamespaceRepo        = "repo"
	NamespaceNS          = "ns"
	NamespacePushKey     = "pk"
	NamespaceExtension   = "ext"
	NamespaceDHT         = "dht"
	NamespaceConsoleUtil = "util"
	NamespaceDev         = "dev"
	NamespaceTicket      = "ticket"
	NamespaceHost        = "host"
)

Namespace for JS Module and RPC methods

View Source
const (
	ActionDataKeyBaseBranch    = "b"
	ActionDataKeyBaseHash      = "bh"
	ActionDataKeyTargetBranch  = "t"
	ActionDataKeyTargetHash    = "th"
	ActionDataKeyAddrs         = "ads"
	ActionDataKeyVeto          = "vet"
	ActionDataKeyIDs           = "keys"
	ActionDataKeyPolicies      = "pol"
	ActionDataKeyFeeMode       = "fm"
	ActionDataKeyFeeCap        = "fc"
	ActionDataKeyCFG           = "cfg"
	ActionDataKeyNamespace     = "ns"
	ActionDataKeyNamespaceOnly = "nso"
)

Proposal action data keys

View Source
const (
	AddrHRP     = "os"
	PushAddrHRP = "pk"
)

Variables

View Source
var (
	ErrProposalFeeNotExpected  = fmt.Errorf("proposal fee is not expected")
	ErrFullProposalFeeRequired = fmt.Errorf("full proposal fee is required")
)

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