forked from bryanlabs/cosmos-indexer-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml.example
42 lines (37 loc) · 1.35 KB
/
config.toml.example
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
[log]
level = "debug"
path = "./log.txt"
pretty = true
#App configuration values
[base]
start-block = 1 # start indexing at beginning of the blockchain, -1 to resume from highest block indexed
end-block = -1 # stop indexing at this block, -1 to never stop indexing
throttling = 6.00
block-timer = 10000 #print out how long it takes to process this many blocks
wait-for-chain = false #if true, indexer will start when the node is caught up to the blockchain
wait-for-chain-delay = 10 #seconds to wait between each check for node to catch up to the chain
index-transactions = true #If false, we won't attempt to index the chain
exit-when-caught-up = true #mainly used for Osmosis rewards indexing
index-block-events = false #index block events for the particular chain
dry = false # if true, indexing will occur but data will not be written to the database.
rpc-workers = 1
reindex = true
reattempt-failed-blocks = false
# Provides a filter configuration to skip block events or message types based on patterns
# filter-file="filter-config.json"
#Lens config options
[probe]
rpc = "http://public.rpc.updateme:443"
account-prefix = "cosmos"
chain-id = "cosmoshub-4"
chain-name = "CosmosHub"
# Flags for extending or modifying the indexed dataset
[flags]
index-tx-message-raw=false
[database]
host = "localhost"
port = "5432"
database = ""
user = ""
password = ""
log-level = ""