Skip to content

Commit c9b04f5

Browse files
committed
Bump version
1 parent c91df54 commit c9b04f5

File tree

4 files changed

+52
-16
lines changed

4 files changed

+52
-16
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "relay"
3-
version = "2.2.3"
3+
version = "2.3.0"
44
edition = "2021"
55
authors = ["Broxus team"]
66
publish = false

README.md

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ bridge_settings:
160160
# Solana network config
161161
sol_network:
162162
# Public endpoint
163-
endpoint: https://solana-api.projectserum.com
164-
# Commitment level
165-
commitment: "finalized"
163+
endpoints: ["https://api.mainnet-beta.solana.com"]
164+
# Events polling interval
165+
poll_interval_sec: 30
166166
# EVM network configs
167167
evm_networks:
168168
# Ethereum
@@ -178,44 +178,54 @@ bridge_settings:
178178
# Idle polling interval. Default: 60
179179
poll_interval_sec: 60
180180
# Maximum blocks range for getLogs request
181-
max_block_range: 5000
181+
max_block_range: 1000
182182
# Smart Chain
183183
- chain_id: 56
184184
# Public endpoint (see https://docs.bscscan.com/misc-tools-and-utilities/public-rpc-nodes)
185185
endpoint: https://bsc-dataseed1.binance.org
186186
get_timeout_sec: 10
187187
pool_size: 10
188188
poll_interval_sec: 60
189-
max_block_range: 5000
189+
max_block_range: 1000
190190
# Fantom Opera
191191
- chain_id: 250
192192
# Public endpoint
193193
endpoint: https://rpc.ftm.tools
194194
get_timeout_sec: 10
195195
pool_size: 10
196196
poll_interval_sec: 60
197-
max_block_range: 5000
197+
max_block_range: 1000
198198
# Polygon
199199
- chain_id: 137
200200
endpoint: "${POLYGON_URL}"
201201
get_timeout_sec: 10
202202
pool_size: 10
203203
poll_interval_sec: 60
204-
max_block_range: 5000
204+
max_block_range: 1000
205205
# Milkomeda
206206
- chain_id: 2001
207207
endpoint: https://rpc-mainnet-cardano-evm.c1.milkomeda.com
208208
get_timeout_sec: 10
209209
pool_size: 10
210210
poll_interval_sec: 60
211211
maximum_failed_responses_time_sec: 604800
212+
max_block_range: 1000
212213
# Avalanche Network
213214
- chain_id: 43114
214215
endpoint: https://api.avax.network/ext/bc/C/rpc
215216
get_timeout_sec: 10
216217
pool_size: 10
217218
poll_interval_sec: 60
218219
maximum_failed_responses_time_sec: 604800
220+
max_block_range: 1000
221+
# BlockPI
222+
- chain_id: 8217
223+
endpoint: https://klaytn.blockpi.network/v1/rpc/public
224+
get_timeout_sec: 10
225+
pool_size: 10
226+
poll_interval_sec: 60
227+
maximum_failed_responses_time_sec: 604800
228+
max_block_range: 5000
219229
node_settings:
220230
# Root directory for relay DB. Default: "./db"
221231
db_path: "/var/db/relay"
@@ -225,6 +235,11 @@ node_settings:
225235
# NOTE: Will be generated if it was not there.
226236
# Default: "./adnl-keys.json"
227237
temp_keys_path: "/etc/relay/adnl-keys.json"
238+
db_options:
239+
rocksdb_lru_capacity: "2 GB"
240+
cells_cache_size: "4 GB"
241+
storage:
242+
persistent_db_path: "/var/db/relay-events"
228243
metrics_settings:
229244
# Listen address of metrics. Used by the client to gather prometheus metrics.
230245
# Default: "127.0.0.1:10000"
@@ -308,6 +323,12 @@ more optimized than C++ node, so they don't harm the network.
308323

309324
### Changelog
310325

326+
### 2.3.0 (2024-01-08)
327+
328+
Features:
329+
330+
- Fully reworked bridge with Solana
331+
311332
### 2.2.0 (2023-04-04)
312333

313334
Bugfixes:

contrib/config.yaml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,50 +25,60 @@ bridge_settings:
2525
# Idle polling interval. Default: 60
2626
poll_interval_sec: 60
2727
# Maximum blocks range for getLogs request
28-
max_block_range: 5000
28+
max_block_range: 1000
2929
# Smart Chain
3030
- chain_id: 56
3131
# Public endpoint (see https://docs.bscscan.com/misc-tools-and-utilities/public-rpc-nodes)
3232
endpoint: https://bsc-dataseed1.binance.org
3333
get_timeout_sec: 10
3434
pool_size: 10
3535
poll_interval_sec: 60
36-
max_block_range: 5000
36+
max_block_range: 1000
3737
# Fantom Opera
3838
- chain_id: 250
3939
# Public endpoint
4040
endpoint: https://rpc.ftm.tools
4141
get_timeout_sec: 10
4242
pool_size: 10
4343
poll_interval_sec: 60
44-
max_block_range: 5000
44+
max_block_range: 1000
4545
# Polygon
4646
- chain_id: 137
4747
endpoint: "${POLYGON_URL}"
4848
get_timeout_sec: 10
4949
pool_size: 10
5050
poll_interval_sec: 60
51-
max_block_range: 5000
51+
max_block_range: 1000
5252
# Milkomeda
5353
- chain_id: 2001
5454
endpoint: https://rpc-mainnet-cardano-evm.c1.milkomeda.com
5555
get_timeout_sec: 10
5656
pool_size: 10
5757
poll_interval_sec: 60
5858
maximum_failed_responses_time_sec: 604800
59+
max_block_range: 1000
5960
# Avalanche Network
6061
- chain_id: 43114
6162
endpoint: https://api.avax.network/ext/bc/C/rpc
6263
get_timeout_sec: 10
6364
pool_size: 10
6465
poll_interval_sec: 60
6566
maximum_failed_responses_time_sec: 604800
67+
max_block_range: 1000
68+
# BlockPI
69+
- chain_id: 8217
70+
endpoint: https://klaytn.blockpi.network/v1/rpc/public
71+
get_timeout_sec: 10
72+
pool_size: 10
73+
poll_interval_sec: 60
74+
maximum_failed_responses_time_sec: 604800
75+
max_block_range: 5000
6676
# Solana network config
6777
sol_network:
6878
# Public endpoint
69-
endpoint: https://solana-api.projectserum.com
70-
# Commitment level
71-
commitment: "finalized"
79+
endpoints: ["https://api.mainnet-beta.solana.com"]
80+
# Events polling interval
81+
poll_interval_sec: 30
7282
# ETH address verification settings
7383
address_verification:
7484
# Minimal balance on user's wallet to start address verification
@@ -88,6 +98,11 @@ node_settings:
8898
# NOTE: Will be generated if it was not there.
8999
# Default: "./adnl-keys.json"
90100
temp_keys_path: "/etc/relay/adnl-keys.json"
101+
db_options:
102+
rocksdb_lru_capacity: "2 GB"
103+
cells_cache_size: "4 GB"
104+
storage:
105+
persistent_db_path: "/var/db/relay-events"
91106
metrics_settings:
92107
# Listen address of metrics. Used by the client to gather prometheus metrics.
93108
# Default: "127.0.0.1:10000"

0 commit comments

Comments
 (0)