You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 📝 Summary
New parameter time_to_keep_mempool_txs_secs replaces old hardcoded
constant BLOCKS_TO_KEEP_TXS.
New metric so measure the mem used by mempool txs (so we can tune
time_to_keep_mempool_txs_secs).
Updated config docs with time_to_keep_mempool_txs_secs and some more.
## 💡 Motivation and Context
It was unethical to kill so young txs.
## ✅ I have completed the following steps:
* [X] Run `make lint`
* [X] Run `make test`
* [ ] Added tests (if applicable)
Copy file name to clipboardExpand all lines: docs/CONFIG.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,9 @@ Every field has a default if omitted.
39
39
|root_hash_threads| int|Threads used when using reth's native root hash calculation. If 0 global rayon pool is used| 0
40
40
| watchdog_timeout_sec| optional int| If now block building is started in this period rbuilder exits.|None|
41
41
|live_builders|vec[string]| List of `builders` to be used for live building.<br>Notice that you can define on **builders** some builders and select only a few here.|["mgp-ordering","mp-ordering"]|
42
-
|evm_caching_enable|bool|Experimental. If enabled per block EVM execution will be enabled|false|
42
+
|evm_caching_enable|bool|If enabled per block EVM execution will be enabled|false|
43
+
|faster_finalize|bool| If enabled improves block finalization by catching proofs|false|
44
+
|time_to_keep_mempool_txs_secs|u64| /// After this time a mempool tx is dropped.|1|
43
45
|backtest_fetch_mempool_data_dir|env/string|Dir used to store mempool data used in backtesting|"/mnt/data/mempool"|
44
46
|backtest_fetch_eth_rpc_url|string|url to EL node RPC used in backtesting|"http://127.0.0.1:8545"|
45
47
|backtest_fetch_eth_rpc_parallel| int|Number of parallel connections allowed on backtest_fetch_eth_rpc_url|1|
@@ -55,6 +57,7 @@ Every field has a default if omitted.
55
57
|relays|vec[RelayConfig]| List of relays used to get validator registration info and/or submitting. Below are the details for RelayConfig fields. Example: <br>[[relays]]<br>name = "relay1"<br>optimistic = true<br>priority = 1<br>url = "https://relay1"<br>use_gzip_for_submit = true<br>use_ssz_for_submit = true<br>mode:full<br><br>[[relays]]<br>name = "relay2"<br>...more params...|[]|
56
58
|RelayConfig.name|mandatory string| Human readable name for the relay||
57
59
|RelayConfig.url|mandatory string| Url to relay's endpoint||
60
+
|RelayConfig.grpc_url|optional string| Url to relay's gRPC endpoint (only bloxroute at 2025/08/20).|None|
58
61
|RelayConfig.authorization_header|optional env/string|If set "authorization" header will be added to RPC calls|None|
59
62
|RelayConfig.builder_id_header|optional env/string|If set "X-Builder-Id" header will be added to RPC calls|None|
60
63
|RelayConfig.api_token_header|optional env/string|If set "X-Api-Token" header will be added to RPC calls|None|
@@ -63,17 +66,18 @@ Every field has a default if omitted.
|RelayConfig.interval_between_submissions_ms|optional int| Caps the submission rate to the relay|None|
66
-
|RelayConfig.is_fast|optional bool| If the block bid > ignore_fast_bid_threshold_eth, critical blocks (the ones containing orders with replacement id) will go only to fast relays.|true|
67
-
|RelayConfig.is_independent|optional bool| Big blocks (bid value > independent_bid_threshold_eth) will go only to independent relays.|true|
69
+
|RelayConfig.max_bid_eth|optional string| Max bid we can submit to this relay. Any bid above this will be skipped.<br>None -> No limit.|None|
70
+
|RelayConfig.is_bloxroute|bool|Set to `true` for bloxroute relays to add extra headers.|false|
71
+
|RelayConfig.ask_for_filtering_validators|optional bool| Adds "filtering=true" as query to the call relay/v1/builder/validators to get all validators (including those filtering OFAC).<br>On 2025/06/24 only supported by ultrasound.|false|
72
+
|RelayConfig.can_ignore_gas_limit|optional bool| If we submit a block with a different gas than the one the validator registered with in this relay the relay does not mind. Useful for gas limit conflicts. On 2025/08/20 only ultrasound confirmed that is ok with this. (we didn't asked the rest yet)|false|
68
73
|enabled_relays| vec["string"]| Extra hardcoded relays to add (see DEFAULT_RELAYS in [config.rs](../crates/rbuilder/src/live_builder/config.rs))|[]|
69
74
|relay_secret_key|optional env/string|Secret key that will be used to sign normal submissions to the relay.|None|
70
75
|optimistic_relay_secret_key|optional env/string|Secret key that will be used to sign optimistic submissions to the relay.|None|
71
76
|optimistic_enabled|bool|When enabled builder will make optimistic submissions to optimistic relays|false|
72
77
|optimistic_max_bid_value_eth|string| Bids above this value will always be submitted in non-optimistic mode.|"0.0"|
73
78
|cl_node_url|vec[env/stirng]| Array if urls to CL clients to get the new payload events|["http://127.0.0.1:3500"]
74
79
|genesis_fork_version|optional string|Genesis fork version for the chain. If not provided it will be fetched from the beacon client.|None|
75
-
|independent_bid_threshold_eth|optional string|Bids above this value will only go to independent relays.| "0"|
76
-
|ignore_fast_bid_threshold_eth|optional string|For bids below this value we ignore RelayConfig::is_fast (it's like is_fast is true for all relays)| "1000"|
80
+
|scraped_bids_publisher_url|string| Url to connect to the bid scraper service| "tcp://0.0.0.0:5555"|
77
81
## Building algorithms
78
82
rbuilder can multiple building algorithms and each algorithm can be instantiated multiple times with it's own set of parameters each time.
0 commit comments