-
Notifications
You must be signed in to change notification settings - Fork 25
/
config.go
41 lines (36 loc) · 936 Bytes
/
config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
Copyright (C) CESS. All rights reserved.
Copyright (C) Cumulus Encrypted Storage System. All rights reserved.
SPDX-License-Identifier: Apache-2.0
*/
package configs
import "time"
const (
//
TimeFormat = "2006-01-02 15:04:05"
// the time to wait for the event, in seconds
TimeToWaitEvent = time.Duration(time.Second * 12)
// 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/"
)
const (
DbDir = "db"
LogDir = "log"
SpaceDir = "space"
PoisDir = "pois"
AccDir = "acc"
RandomDir = "random"
IdleProofFile = "idleproof"
ServiceProofFile = "serviceproof"
)