Skip to content

Commit

Permalink
Add toml config
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcauchi committed Dec 12, 2023
1 parent c34b853 commit 0eca179
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions core/chains/evm/config/toml/defaults/BTCC_Testnet.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
ChainID = '1029'
# Finality Depth is insanely high (https://github.com/bttcprotocol/bttc/blob/master/params/network_params.go#L60)
FinalityDepth = 9000
# blocks are generated every 2-4s
LogPollInterval = '2s'
# Blocks are only emitted when a transaction happens / no empty blocks
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
BlockHistorySize = 24

[Transactions]
ResendAfterThreshold = '30s'

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

[NodePool]
SyncThreshold = 10

[OCR]
ContractConfirmations = 1

0 comments on commit 0eca179

Please sign in to comment.