-
Notifications
You must be signed in to change notification settings - Fork 41
/
config_archive_mainnet.yaml
74 lines (68 loc) · 2.69 KB
/
config_archive_mainnet.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
63
64
65
66
67
68
69
70
71
72
73
74
network:
# externalHost: SET YOUR EXTERNAL IP HERE (e.g., 12.34.56.78)
externalPort: 4689
bootstrapNodes:
- /dns4/bootnode-0.mainnet.iotex.one/tcp/4689/p2p/12D3KooWPfQDF8ASjd4r7jS9e7F1wn6zod7Mf4ERr8etoY6ctQp5
- /dns4/bootnode-1.mainnet.iotex.one/tcp/4689/p2p/12D3KooWN4TQ1CWRA7yvJdQCdti1qARLXXu2UEHJfycn3XbnAnRh
- /dns4/bootnode-2.mainnet.iotex.one/tcp/4689/p2p/12D3KooWSiktocuUke16bPoW9zrLawEBaEc1UriaPRwm82xbr2BQ
- /dns4/bootnode-3.mainnet.iotex.one/tcp/4689/p2p/12D3KooWEsmwaorbZX3HRCnhkMPjMAHzwu3om1pdGrtVm2QaM35n
- /dns4/bootnode-4.mainnet.iotex.one/tcp/4689/p2p/12D3KooWHRcgNim4Nau73EEu7aKJZRZPZ21vQ7BE3fG6vENXkduB
- /dns4/bootnode-5.mainnet.iotex.one/tcp/4689/p2p/12D3KooWGeHkVDQQFxXpTX1WpPhuuuWYTxPYDUTmaLWWSYx5rmUY
chain:
# If you are a delegate, make sure producerPrivKey is the key for the operator address you have registered.
# producerPrivKey: SET YOUR PRIVATE KEY HERE (e.g., 96f0aa5e8523d6a28dc35c927274be4e931e74eaa720b418735debfcbfe712b8)
enableStakingIndexer: true
chainDBPath: "/var/iotex-archive/data/chain.db"
trieDBPatchFile: "/var/iotex-archive/data/trie.db.patch"
trieDBPath: "/var/iotex-archive/data/archive.db"
stakingPatchDir: "/var/iotex-archive/data",
indexDBPath: "/var/iotex-archive/data/index.db"
blobStoreDBPath: "/var/iotex-archive/data/blob.db"
bloomfilterIndexDBPath: "/var/iotex-archive/data/bloomfilter.index.db"
candidateIndexDBPath: "/var/iotex-archive/data/candidate.index.db"
stakingIndexDBPath: "/var/iotex-archive/data/staking.index.db"
contractStakingIndexDBPath: "/var/iotex-archive/data/contractstaking.index.db"
enableArchiveMode: true
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/iotex-archive/data/poll.db"
numRetries: 8
actPool:
minGasPrice: "1000000000000"
store:
datadir: "/var/iotex-archive/data/actpool.cache"
api:
gasStation:
defaultGas: 1000000000000
consensus:
scheme: ROLLDPOS
rollDPoS:
fsm:
unmatchedEventTTL: 3s
unmatchedEventInterval: 100ms
acceptBlockTTL: 4s
acceptProposalEndorsementTTL: 2s
acceptLockEndorsementTTL: 2s
delay: 10s
consensusDBPath: "/var/iotex-archive/data/consensus.db"
blockSync:
interval: 2s
bufferSize: 400
maxRepeat: 3
repeatDecayStep: 3
log:
zap:
level: info
encoding: json
disableStacktrace: true
outputPaths: ["stderr", "stdout"]
errorOutputPaths: ["stderr"]
stderrRedirectFile: /var/iotex-archive/log/s.log
stdLogRedirect: true