Documentation
¶
Index ¶
Constants ¶
View Source
const ( TokenTCESS = 1000000000000000000 // the time to wait for the event, in seconds TimeToWaitEvent = time.Duration(time.Second * 30) // Default config file DefaultConfigFile = "conf.yaml" // DefaultWorkspace = "/" // DefaultServicePort = 4001 // DefaultRpcAddr = "wss://testnet-rpc.cess.cloud/ws/" // DefaultBootNodeAddr = "_dnsaddr.boot-miner-testnet.cess.cloud" // DefaultDeossAddr = "https://deoss-pub-gateway.cess.cloud/" // MinTagFileSize = 600000 // FileMode = 0755 )
View Source
const ( Err_tee_Busy = "is being fully calculated" Err_ctx_exceeded = "context deadline exceeded" Err_file_not_fount = "no such file" Err_miner_not_exists = "the miner not exists" )
View Source
const ( DevNet = "devnet" TestNet = "testnet" MainNet = "mainnet" )
View Source
const ( Unregistered = iota UnregisteredPoisKey Registered )
View Source
const ( // Name is the name of the program Name = "miner" // version Version = "v0.7.11" // Description is the description of the program Description = "Storage miner implementation in CESS networks" // NameSpace is the cached namespace NameSpaces = Name // Chain version ChainVersion = "0.7.7" )
Variables ¶
This section is empty.
Functions ¶
func GetCert ¶
func GetCert() credentials.TransportCredentials
func RunOnLinuxSystem ¶
func RunOnLinuxSystem() bool
func SetCpuNumber ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.