Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TimeFormat = "2006-01-02 15:04:05" // the time to wait for the event, in seconds TimeToWaitEvent = time.Duration(time.Second * 30) // Default config file DefaultConfigFile = "conf.yaml" // DefaultWorkspace = "/" // DefaultServicePort = 4001 // DefaultRpcAddr1 = "wss://testnet-rpc0.cess.cloud/ws/" DefaultRpcAddr2 = "wss://testnet-rpc1.cess.cloud/ws/" // DefaultBootNodeAddr = "_dnsaddr.boot-kldr-testnet.cess.cloud" // DefaultDeossAddr = "http://deoss-pub-gateway.cess.cloud/" )
View Source
const ( DbDir = "db" LogDir = "log" SpaceDir = "space" TagDir = "tag" PoisDir = "pois" AccDir = "acc" RandomDir = "random" PeersFile = "peers" IdleProofFile = "idleproof" ServiceProofFile = "serviceproof" )
View Source
const ( // Name is the name of the program Name = "bucket" // version Version = "v0.7.7" // Description is the description of the program Description = "Storage node implementation in CESS networks" // NameSpace is the cached namespace NameSpaces = Name // Chain version ChainVersion = "0.7.5" )
View Source
const (
Err_ctx_exceeded = "context deadline exceeded"
)
View Source
const (
OrserState_CalcTag uint8 = 2
)
View Source
const (
State_Offline = "offline"
)
Variables ¶
This section is empty.
Functions ¶
func RunOnLinuxSystem ¶ added in v0.6.0
func RunOnLinuxSystem() bool
func SetCpuNumber ¶ added in v0.7.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.