From 22273b19519c1ba2fa3e2b346d1d2db56abeecb9 Mon Sep 17 00:00:00 2001 From: Para Dox Date: Fri, 30 May 2025 11:02:19 +0700 Subject: [PATCH] base reth toml file --- op/base/mainnet/reth/reth.toml | 115 ++++++++++++++++++++++++++++++++- 1 file changed, 113 insertions(+), 2 deletions(-) diff --git a/op/base/mainnet/reth/reth.toml b/op/base/mainnet/reth/reth.toml index 0c86b55a..ff363924 100644 --- a/op/base/mainnet/reth/reth.toml +++ b/op/base/mainnet/reth/reth.toml @@ -1,2 +1,113 @@ -[stages.merkle] -clean_threshold = 30000 \ No newline at end of file +[stages.headers] +downloader_max_concurrent_requests = 100 +downloader_min_concurrent_requests = 5 +downloader_max_buffered_responses = 100 +downloader_request_limit = 1000 +commit_threshold = 10000 + +[stages.bodies] +downloader_request_limit = 200 +downloader_stream_batch_size = 1000 +downloader_max_buffered_blocks_size_bytes = 2147483648 +downloader_min_concurrent_requests = 5 +downloader_max_concurrent_requests = 100 + +[stages.sender_recovery] +commit_threshold = 5000000 + +[stages.execution] +max_blocks = 500000 +max_changes = 5000000 +max_cumulative_gas = 1500000000000 +max_duration = "10m" + +[stages.prune] +commit_threshold = 1000000 + +[stages.account_hashing] +clean_threshold = 500000 +commit_threshold = 100000 + +[stages.storage_hashing] +clean_threshold = 500000 +commit_threshold = 100000 + +[stages.merkle] +clean_threshold = 30000 + +[stages.transaction_lookup] +chunk_size = 5000000 + +[stages.index_account_history] +commit_threshold = 100000 + +[stages.index_storage_history] +commit_threshold = 100000 + +[stages.etl] +file_size = 524288000 + +[prune] +block_interval = 5 + +[prune.segments] +sender_recovery = "full" + +[prune.segments.receipts] +distance = 10064 + +[prune.segments.account_history] +distance = 10064 + +[prune.segments.storage_history] +distance = 10064 + +[prune.segments.receipts_log_filter] + +[peers] +refill_slots_interval = "5s" +trusted_nodes = [] +trusted_nodes_only = false +max_backoff_count = 5 +ban_duration = "12h" +incoming_ip_throttle_duration = "30s" + +[peers.connection_info] +max_outbound = 100 +max_inbound = 30 +max_concurrent_outbound_dials = 15 + +[peers.reputation_weights] +bad_message = -16384 +bad_block = -16384 +bad_transactions = -16384 +already_seen_transactions = 0 +timeout = -4096 +bad_protocol = -2147483648 +failed_to_connect = -25600 +dropped = -4096 +bad_announcement = -1024 + +[peers.backoff_durations] +low = "30s" +medium = "3m" +high = "15m" +max = "1h" + +[sessions] +session_command_buffer = 32 +session_event_buffer = 260 + +[sessions.limits] + +[sessions.initial_internal_request_timeout] +secs = 20 +nanos = 0 + +[sessions.protocol_breach_request_timeout] +secs = 120 +nanos = 0 + +[sessions.pending_session_timeout] +secs = 20 +nanos = 0 \ No newline at end of file