-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
config.toml.example
53 lines (48 loc) · 2.08 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
43
44
45
46
47
48
49
50
51
52
53
#gorm
[log]
level = "info"
path = "/exact/file/path.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 = 100 # stop indexing at this block, -1 to never stop indexing
block-input-file = "" # a file location containing a JSON list of block heights to index. Will override start and end block flags.
reindex = false # if true, this will re-attempt to index blocks we have already indexed (defaults to false)
prevent-reattempts = false # if true, this will prevent us from re-attempting to index failed blocks (defaults to false)
throttling = 0
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-chain = 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 = true #index block events for the particular chain
block-events-start-block = 1
block-events-end-block = 2
index-epoch-events = true
epoch-indexing-identifier="day"
epoch-events-start-epoch=750
epoch-events-end-epoch=752
dry = false # if true, indexing will occur but data will not be written to the database.
api = "" # node api endpoint
rpc-workers = 1
rpc-retry-attempts=0 #RPC queries are configured to retry if failed. This value sets how many retries to do before giving up. (-1 for indefinite retries)
rpc-retry-max-wait=30 #RPC query failure backoff max wait time in seconds
#Lens config options
[lens]
rpc = "https://rpc.kujira.ccvalidators.com:443" #On Kujira use one of the endpoints from the list https://github.com/Team-Kujira/networks/tree/master/mainnet
account-prefix = "kujira"
validator-account-prefix="kujiravaloper"
chain-id = "kaiyo-1"
chain-name = "Kujira"
#postgresql
[database]
host = "localhost"
port = "5432"
database = "taxappdb"
user = "taxapp"
password = "taxapptest"
log-level = "error"
[logger]
[client]
model = ""