-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
83 lines (64 loc) · 1.63 KB
/
config.toml
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#
# Blockchain node configuration file.
#
# If any of the configuration parameters is not explicitly specified then the
# built-in default value is used.
#
# Logger verbosity level.
# Available options: off, error, warn, info, debug, trace.
# Default: info
log-level = "debug"
# Node keypair file.
# Default: dynamically generated
#keypair-path = "ed25519_keypair.bin"
# Node bootstrap file in WASM format.
# Default: "bootstrap.bin"
bootstrap-path = "./data/testnet-bootstrap.bin"
# Http service address.
# Default: 127.0.0.1
rest-addr = "127.0.0.1"
# Http service port.
# Default: 8000
rest-port = 8000
# Bridge service address.
# Default: 127.0.0.1
bridge-addr = "127.0.0.1"
# Bridge service port.
# Default: 8001
bridge-port = 8001
# P2P bootstrap address
# Default: empty
# uncomment the follow to sync with trinci testnet
#p2p-bootstrap-addr = "12D3KooWEAxyiTiBgx8MUtTPUu29VLasimzscC84jTVRtMb5JjGZ@/ip4/15.161.71.249/tcp/9006"
# P2P service address.
# Default: 127.0.0.1
# use 0.0.0.0
p2p-addr = "0.0.0.0"
# P2P service port.
# Default: 0 (random)
p2p-port = 9000
# Database path within the file system.
# Default: "db"
db-path = "db"
# Wasm machine max number of cached contracts.
# Default: 10 (totally arbitrary value)
wm-cache-max = 10
# Offline mode- prevent kad from start
# Default: false
#offline = true
## Indexer configuration
# couchdb Host
# Default: "localhost"
indexer-host = "localhost"
# couchdb Port
# Default: 5984
indexer-port = 5984
# couchdb db name
# Default: trinci
indexer-db-name = "trinci"
# couchdb user
# Default: admin
indexer-username = "admin"
# couchdb password
# Default: password
indexer-password = "password"