-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdefault.yaml
More file actions
324 lines (312 loc) · 9.62 KB
/
Copy pathdefault.yaml
File metadata and controls
324 lines (312 loc) · 9.62 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
########################################################################################
# Bifrost
########################################################################################
# trunk-ignore-all(codespell/misspelled)
bifrost:
# leveldb defaults to start, plus 10 bit per key filter
observer_leveldb: &default-leveldb
filter_bits_per_key: 10
compaction_table_size_multiplier: 1
write_buffer: 4194304
block_cache_capacity: 8388608
compact_on_init: true
observer_workers: 0
metrics:
enabled: true
pprof_enabled: false
listen_port: 9000
read_timeout: 30s
write_timeout: 30s
chains:
- Btc
- Bsc
- Eth
- Base
- Arb
- Xrp
- Uni
- Doge
- Tron
- Pol
- Xlayer
mapo:
chain_id: Map
chain_host: https://rpc.maplabs.io
signer_name: "compass_tss"
keystore_path: "./keystore/UTC--2025-07-30T07-55-30.878196000Z--25fa71d4f689f4b65eb6d020a414090828281d51"
maintainer: "0xBfb6B7d0d5Fc120703F7B57CC18157d79a50a7e5"
tss_manager: "0xf3Fa35B6e3753cFe88Da86c71B2283F75EB64BE9"
relay: "0x00004080D86e1077ce96E67C1B167fF105025307"
view_controller: "0x8c98bA0a11Cbb0DB3C52e4CD91B0844B39BC1F11"
fusion_receiver: "0xFe6Fc65c1B47be20bD776db55a412dF7520438F3"
configuration: "0xE45C548c066184894ABF542C7D223D58D443C1c9"
cross_data_path: "./build/cross_dbs"
cross_data_address: "0.0.0.0:6041"
increase_gas_limit: 2000000
signer:
backup_keyshares: true
signer_db_path: ./build/signer_db
retry_interval: 2s
reschedule_buffer_blocks: 150 # 15 minutes
block_scanner:
chain_id: Map
start_block_height: 0
block_retry_interval: 10s
block_height_discover_back_off: 5s
block_scan_processors: 1
http_request_timeout: 30s
http_request_read_timeout: 30s
http_request_write_timeout: 30s
max_http_request_retry: "10"
max_gas_limit: 1000000
max_swap_gas_limit: 1500000
leveldb: *default-leveldb
keygen_timeout: 5m
keysign_timeout: 45s
party_timeout: 45s
pre_param_timeout: 5m
tss:
rendezvous: asgard
p2p_port: 5040
info_address: 0.0.0.0:6040
bootstrap_peers:
- 8.219.235.57
- 8.219.58.134
- 8.219.253.63
- 8.219.243.18
external_ip: ""
chains:
btc: &default-chain
disabled: false
chain_id: Btc
username:
password:
http_post_mode: 1
disable_tls: 1
parallel_mempool_scan: 5
mempool_tx_id_cache_size: 1_000_000
scanner_leveldb:
<<: *default-leveldb
compaction_table_size_multiplier: 10
write_buffer: 20971520 # 20mb
block_cache_capacity: 536870912 # 512mb
min_confirmations: 2
max_rpc_retries: 9 # about 1 min
max_pending_nonces: 3
limit_multiplier: 2
max_gas_limit: 3000000
authorization_bearer: ""
max_gas_tip_percentage: 0
utxo: &utxo
block_cache_count: 144
transaction_batch_size: 500
max_mempool_batches: 10
estimated_average_tx_size: 1000
estimated_average_tx_swap_size: 2000
default_min_relay_fee_sats: 1000
default_sats_per_vbyte: 25
max_sats_per_vbyte: 9765 # backwards compatible with 1e8/10/1024
min_sats_per_vbyte: 2
min_utxo_confirmations: 1
max_utxos_to_spend: 10
block_scanner: &default-block-scanner
max_reorg_rescan_blocks: 72 # 12h
chain_id: Btc
enforce_block_height: false
block_scan_processors: 1
block_height_discover_back_off: 5s
observation_flexibility_blocks: 3
block_retry_interval: 10s
http_request_timeout: 10s
http_request_read_timeout: 30s
http_request_write_timeout: 30s
max_http_request_retry: 10
db_path: ./build/observer
scan_mempool: true
max_contract_tx_logs: 0
# the following defaults must be defined to override with environment
start_block_height:
cosmos_grpc_tls: false
gas_cache_blocks: 0
whitelist_tokens: []
whitelist_cosmos_assets: []
concurrency: 0
max_gas_limit: 1000000
max_swap_gas_limit: 1500000
fixed_gas_rate: 0
gas_price_resolution: 10_000_000_000 # 10 gwei
max_resume_block_lag: 24h
max_healthy_lag: 30m
transaction_batch_size: 500
# the following defaults must be defined to override with environment
chain_host: ""
chain_network: ""
rpc_host: "https://bitcoin-rpc.publicnode.com"
cosmos_grpc_tls: false
opt_to_retire: false
solvency_blocks: 0
eth:
disabled: false
<<: *default-chain
chain_id: Eth
rpc_host: "https://eth.drpc.org"
max_gas_tip_percentage: 20
block_scanner:
<<: *default-block-scanner
gateway: 0x00004080D86e1077ce96E67C1B167fF105025307
max_reorg_rescan_blocks: 96 # 3 epochs
gas_cache_blocks: 40
concurrency: 1
chain_id: Eth
observation_flexibility_blocks: 20
max_gas_limit: 1000000
max_swap_gas_limit: 1500000
start_block_height:
gas_price_resolution: 200000000
mempool_tx_id_cache_size: 0
scanner_leveldb: *default-leveldb
base:
disabled: false
<<: *default-chain
chain_id: Base
rpc_host: "https://mainnet.base.org"
solvency_blocks: 100
max_gas_tip_percentage: 20
block_scanner:
<<: *default-block-scanner
gateway: 0x00004080D86e1077ce96E67C1B167fF105025307
gas_cache_blocks: 40
gas_price_resolution: 2000000
chain_id: Base
observation_flexibility_blocks: 20
max_gas_limit: 1000000
max_swap_gas_limit: 1500000
mempool_tx_id_cache_size: 0
scanner_leveldb: *default-leveldb
bsc:
disabled: false
<<: *default-chain
chain_id: Bsc
rpc_host: "https://bsc-dataseed.bnbchain.org"
solvency_blocks: 100
block_scanner:
<<: *default-block-scanner
gateway: 0x00004080D86e1077ce96E67C1B167fF105025307
max_reorg_rescan_blocks: 600 # 30m
chain_id: Bsc
gas_cache_blocks: 40
gas_price_resolution: 10000000 # 10 gwei
max_gas_limit: 1000000
max_swap_gas_limit: 1500000
start_block_height:
mempool_tx_id_cache_size: 0
scanner_leveldb: *default-leveldb
arb:
disabled: false
<<: *default-chain
chain_id: Arb
rpc_host: "https://arb1.arbitrum.io/rpc"
solvency_blocks: 100
block_scanner:
<<: *default-block-scanner
gateway: 0x00004080D86e1077ce96E67C1B167fF105025307
max_reorg_rescan_blocks: 600 # 30m
chain_id: Arb
gas_cache_blocks: 40
gas_price_resolution: 1000000
max_gas_limit: 1000000
max_swap_gas_limit: 1500000
start_block_height:
max_healthy_lag: 30s
mempool_tx_id_cache_size: 0
scanner_leveldb: *default-leveldb
xrp:
<<: *default-chain
chain_id: Xrp
rpc_host: "https://testnet.xrpl-labs.com"
solvency_blocks: 10
block_scanner:
<<: *default-block-scanner
chain_id: Xrp
gas_price_resolution: 10 # drop
observation_flexibility_blocks: 40
mempool_tx_id_cache_size: 0
scanner_leveldb: *default-leveldb
doge:
<<: *default-chain
chain_id: Doge
username:
password:
block_scanner:
<<: *default-block-scanner
max_reorg_rescan_blocks: 720 # 12h
chain_id: Doge
gas_price_resolution: 500_000 # sats
gas_cache_blocks: 10
scan_mempool: false
mempool_tx_id_cache_size: 1_000_000
scanner_leveldb: *default-leveldb
min_confirmations: 2
utxo:
<<: *utxo
block_cache_count: 1440
default_sats_per_vbyte: 25
max_sats_per_vbyte: 976562 # backwards compatible with 1e8*10/1024
min_sats_per_vbyte: 2
rpc_host: ""
uni:
disabled: false
<<: *default-chain
chain_id: Uni
rpc_host: "https://uni-dataseed.org"
block_scanner:
<<: *default-block-scanner
gateway: 0x00004080D86e1077ce96E67C1B167fF105025307
max_reorg_rescan_blocks: 600 # 30m
chain_id: Uni
gas_cache_blocks: 40
gas_price_resolution: 1000000
max_gas_limit: 1000000
max_swap_gas_limit: 1500000
start_block_height:
scanner_leveldb: *default-leveldb
tron:
<<: *default-chain
chain_id: Tron
block_scanner:
<<: *default-block-scanner
chain_id: Tron
gas_price_resolution: 100_000
observation_flexibility_blocks: 40
scan_mempool: false
gateway: TFzUB3JgjWjaLJ85XpxTsZbX5wZ4czKVHv
mempool_tx_id_cache_size: 0
scanner_leveldb: *default-leveldb
pol:
disabled: false
<<: *default-chain
chain_id: Pol
rpc_host: "https://pol-dataseed.org"
block_scanner:
<<: *default-block-scanner
gateway: 0x00004080D86e1077ce96E67C1B167fF105025307
max_reorg_rescan_blocks: 600 # 30m
chain_id: Pol
gas_cache_blocks: 40
gas_price_resolution: 1000000
start_block_height:
scanner_leveldb: *default-leveldb
xlayer:
disabled: false
<<: *default-chain
chain_id: Xlayer
rpc_host: "https://xlayer-dataseed.org"
block_scanner:
<<: *default-block-scanner
gateway: 0x00004080D86e1077ce96E67C1B167fF105025307
max_reorg_rescan_blocks: 600 # 30m
chain_id: Xlayer
gas_cache_blocks: 40
gas_price_resolution: 10000000
start_block_height:
scanner_leveldb: *default-leveldb