Skip to content

Commit 90e1ab3

Browse files
committed
Update README.md file
1 parent 5f35ff2 commit 90e1ab3

File tree

1 file changed

+27
-12
lines changed

1 file changed

+27
-12
lines changed

README.md

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ api_key = "" # API key (in case the node is protected by API key), adds ?x-ap
6969
private_key_file = "../credentials/pk.txt" # file containing the private key of an account (for voting and mirroring clients), in hex
7070

7171
[p_chain_indexer]
72-
enabled = true # enable p-chain indexing
73-
timeout = "1000ms" # call avalanche p-chain indexer every ...
74-
batch_size = 10 # batch size to fetch from the node
75-
start_index = 0 # start indexing at this block height
72+
enabled = true # enable p-chain indexing
73+
timeout = "1000ms" # call avalanche p-chain indexer every ...
74+
batch_size = 10 # batch size to fetch from the node
75+
start_index = 0 # start indexing at this block height
7676

7777
[uptime_cronjob]
7878
enabled = false # enable uptime monitoring cronjob
@@ -85,16 +85,31 @@ uptime_threshold = 0.8 # minimum uptime ratio in the epoch for a validator to b
8585
delete_old_uptimes_epoch_threshold = 5 # delete uptimes older than this epoch
8686

8787
[voting_cronjob]
88-
enabled = false # enable voting client
89-
timeout = "10s" # check for new epochs every ...
90-
first = 12345 # first epoch to vote for
91-
delay = "10s" # min delay in seconds to send the vote after the epoch ends
88+
enabled = false # enable voting client
89+
timeout = "10s" # check for new epochs every ...
90+
first = 12345 # first epoch to vote for
91+
delay = "10s" # min delay in seconds to send the vote after the epoch ends
92+
93+
[voting_cronjob.gas]
94+
gas_limit = 120000 # Gas limit to set for the transaction execution (empty = estimate)
95+
96+
# type 0 transaction options
97+
# gas_price = ... # Create type 0 transaction: gas price to use for the transaction execution (empty = gas price oracle)
98+
99+
# type 2 transaction (EIP-1559) options
100+
# gas_fee_cap = ... # Gas fee cap to use for the 1559 transaction (type 2) execution (empty = gas price oracle)
101+
# gas_tip_cap = ... # Gas priority fee cap to use for the 1559 transaction (type 2) execution (empty = gas price oracle)
102+
92103

93104
[mirroring_cronjob]
94-
enabled = false # enable mirroring client
95-
timeout = "10s" # check for new epochs every ... seconds
96-
first = 12345 # first epoch to mirror
97-
delay = "10s" # min delay in seconds to send the vote after the epoch ends
105+
enabled = false # enable mirroring client
106+
timeout = "10s" # check for new epochs every ... seconds
107+
first = 12345 # first epoch to mirror
108+
delay = "10s" # min delay in seconds to send the vote after the epoch ends
109+
110+
[mirroring_cronjob.gas]
111+
gas_limit = 1000000
112+
# see voting_cronjob.gas for other gas options
98113

99114
[contract_addresses]
100115
voting = "0xf956df3800379fdFA31D0A45FDD5001D02F4109c" # voting contract address

0 commit comments

Comments
 (0)