Last active
August 27, 2023 22:55
-
-
Save lakshya-sky/b7e79d539db5d129dce19eee904df209 to your computer and use it in GitHub Desktop.
Reth Config for Syncing Mainnet on OVH Advanced 1 Gen 2 Bare Metal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Hardware Specs: https://www.ovhcloud.com/en-ca/bare-metal/advance/adv-1/ | |
[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.total_difficulty] | |
commit_threshold = 200000 | |
[stages.bodies] | |
downloader_request_limit = 100 | |
downloader_stream_batch_size = 8000 | |
downloader_max_buffered_blocks_size_bytes = 8589934592 | |
downloader_min_concurrent_requests = 20 | |
downloader_max_concurrent_requests = 200 | |
[stages.sender_recovery] | |
commit_threshold = 8000000 | |
[stages.execution] | |
max_blocks = 600000 | |
max_changes = 6000000 | |
[stages.account_hashing] | |
clean_threshold = 1000000 | |
commit_threshold = 200000 | |
[stages.storage_hashing] | |
clean_threshold = 3000000 | |
commit_threshold = 700000 | |
[stages.merkle] | |
clean_threshold = 50000 | |
[stages.transaction_lookup] | |
commit_threshold = 160000000 | |
[stages.index_account_history] | |
commit_threshold = 200000 | |
[stages.index_storage_history] | |
commit_threshold = 200000 | |
[peers] | |
refill_slots_interval = '1s' | |
trusted_nodes = [] | |
connect_trusted_nodes_only = false | |
max_backoff_count = 5 | |
ban_duration = '12h' | |
[peers.connection_info] | |
max_outbound = 200 | |
max_inbound = 20 | |
[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 | |
[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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment