-
Notifications
You must be signed in to change notification settings - Fork 40
/
config_testnet.yaml
62 lines (57 loc) · 1.81 KB
/
config_testnet.yaml
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
network:
# externalHost: SET YOUR EXTERNAL IP HERE (e.g., 12.34.56.78)
externalPort: 4689
bootstrapNodes:
- /dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o
- /dns4/bootnode-1.testnet.iotex.one/tcp/4689/ipfs/12D3KooWS7hkdFozeUqriUxv7zw8Y6NCeV8E5HUbgmVkGJUv4jHS
chain:
# producerPrivKey: SET YOUR PRIVATE KEY HERE (e.g., 96f0aa5e8523d6a28dc35c927274be4e931e74eaa720b418735debfcbfe712b8)
id: 2
evmNetworkID: 4690
chainDBPath: "/var/data/chain.db"
trieDBPath: "/var/data/trie.db"
trieDBPatchFile: ""
indexDBPath: "/var/data/index.db"
bloomfilterIndexDBPath: "/var/data/bloomfilter.index.db"
candidateIndexDBPath: "/var/data/candidate.index.db"
stakingIndexDBPath: "/var/data/staking.index.db"
contractStakingIndexDBPath: "/var/data/contractstaking.index.db"
maxCacheSize: 1000
committee:
gravityChainAPIs:
# please change the infura key to your key (e.g., https://mainnet.infura.io/v3/YOUR_KEY)
- https://mainnet.infura.io/v3/b355cae6fafc4302b106b937ee6c15af
numOfRetries: 20
paginationSize: 255
cacheSize: 1000
gravityChainDB:
dbPath: "/var/data/poll.db"
numRetries: 8
persistStakingPatchBlock: 18446744073709551615
actPool:
minGasPrice: "1000000000000"
consensus:
scheme: ROLLDPOS
rollDPoS:
fsm:
unmatchedEventTTL: 3s
unmatchedEventInterval: 100ms
acceptBlockTTL: 4s
acceptProposalEndorsementTTL: 2s
acceptLockEndorsementTTL: 2s
delay: 10s
consensusDBPath: "/var/data/consensus.db"
blockSync:
interval: 10s
bufferSize: 400
maxRepeat: 3
repeatDecayStep: 3
log:
zap:
level: info
encoding: json
disableStacktrace: true
outputPaths: ["stderr", "stdout"]
errorOutputPaths: ["stderr"]
stderrRedirectFile: /var/log/s.log
stdLogRedirect: true