Skip to content

Commit

Permalink
finality depth 9k
Browse files Browse the repository at this point in the history
  • Loading branch information
stackman27 committed Dec 18, 2023
1 parent 32f4e1e commit 10642f7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/chains/evm/config/toml/defaults/BTTC_Testnet.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ChainID = '1029'
# Finality Depth is insanely high (https://github.com/bttcprotocol/bttc/blob/master/params/network_params.go#L60)
FinalityDepth = 500
FinalityDepth = 9000
# blocks are generated every 2-4s
LogPollInterval = '2s'
# Blocks are only emitted when a transaction happens / no empty blocks
Expand All @@ -9,7 +9,6 @@ NoNewHeadsThreshold = '0'
[GasEstimator]
EIP1559DynamicFees = false


[GasEstimator.BlockHistory]
# how many blocks we want to keep in memory to calculate gas price
# # Average block time of 2s
Expand All @@ -20,7 +19,7 @@ ResendAfterThreshold = '30s'

[HeadTracker]
# re-org for bttc is really high so we want to check for the block where reorg happens
HistoryDepth = 500
HistoryDepth = 9000

[NodePool]
SyncThreshold = 10
Expand Down

0 comments on commit 10642f7

Please sign in to comment.