From 0eca1791fdb855e16c1ad5a3995a57cf41b8ecc0 Mon Sep 17 00:00:00 2001 From: davidcauchi Date: Tue, 12 Dec 2023 05:12:38 +0100 Subject: [PATCH] Add toml config --- .../config/toml/defaults/BTCC_Testnet.toml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 core/chains/evm/config/toml/defaults/BTCC_Testnet.toml diff --git a/core/chains/evm/config/toml/defaults/BTCC_Testnet.toml b/core/chains/evm/config/toml/defaults/BTCC_Testnet.toml new file mode 100644 index 00000000000..f461ade5191 --- /dev/null +++ b/core/chains/evm/config/toml/defaults/BTCC_Testnet.toml @@ -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 \ No newline at end of file