forked from YuraFjrosr/xfsgo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
67 lines (58 loc) · 2.08 KB
/
config.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
rpclient:
# RPC client'address to access gateway.
# daemom is not affected by this config option.
# only for other cmd cliends'address to access gateway.
# usage format:<protocol>:https://<ip>:<port>
# default: http:https://127.0.0.1:9091
apihost: "http:https://127.0.0.1:9001"
# timeout of RPC request
# default: 30s
timeout: "30s"
rpcserver:
# Listening address for JSON-RPC server
# By default, it will be bound to the local loopback address: 127.0.0.1:9001
# if need to map outside network you can set [ip]:<port>
# which port bound support http/s、websocket(ws)protocols
listen: "0.0.0.0:9001"
p2pnode:
# address of node in p2p network to listen services of p2p network.
# By default, it will be bound to the local loopback address: 127.0.0.1:9002
# if need to map outside network you can set [ip]:<port>
listen: "0.0.0.0:9002"
# bootstrap Node in p2p network
# By default, boostrap list can be obtained by hardcode in xfsgo v0.10 according to net protocol.
# bootstrap: ["192.168.2.6:9002"]
protocol:
# protocol version
version: 1
# unique id of network protocols
networkid: 1
miner:
# address to receive rewards by creating block for xfs blockchain
# ,which will affect the HASH RATE cause an address represents a node joined in to mine at least
# by default,a private key will be created by a random number in your local wallet when the xfs blockchain starts for the first time.
# you can check your wallet list after the daemon is executed.
coinbase: ""
# number of thread executed
# that will be limited by your mining machine configuration
numworkers: 10
storage:
# path of data storage
# default: ~/.xfsdb or $HOME/.xfsdb
# you can customize this configuration option according to your actural machain env.
datadir: "./d0"
# path of block storage
# default: ${dbdir}/chain
chaindir: ""
# path of world state storage
# default: ${dbdir}/state
statedir: ""
# path of keystore storage
# default: ${dbdir}/keys
keysdir: ""
# path to store extra data
# default: ${dbdir}/extra
extradir: ""
nodesdir: ""
logger:
level: "INFO"