@@ -13,8 +13,12 @@ stream_ids = ["000000000000000000000000000000000000000000000000000000000000f2bd"
1313
1414# Directory to store data.
1515db_dir = " db"
16+
1617# Directory to store KV Metadata.
17- kv_db_dir = " kv.DB"
18+ kv_db_file = " kv.DB"
19+
20+ # Cache capacity for merkle tree nodes in bytes (default 32 MB).
21+ # merkle_node_cache_capacity = 33554432
1822
1923# ######################################################################
2024# ## Log Sync Config Options ###
@@ -24,6 +28,45 @@ blockchain_rpc_endpoint = ""
2428log_contract_address = " "
2529log_sync_start_block_number = 0
2630
31+ # Force resync from start block number, ignoring any previously synced progress.
32+ # force_log_sync_from_start_block_number = false
33+
34+ # Number of confirmations required before a block is considered final.
35+ # confirmation_block_count = 1
36+
37+ # Number of logs to fetch per RPC query page.
38+ # log_page_size = 999
39+
40+ # Maximum size of cached data in bytes (default 100 MB).
41+ # max_cache_data_size = 104857600
42+
43+ # TTL for cached transaction sequences.
44+ # cache_tx_seq_ttl = 500
45+
46+ # Number of retries on RPC rate limit errors.
47+ # rate_limit_retries = 100
48+
49+ # Number of retries on RPC timeout errors.
50+ # timeout_retries = 100
51+
52+ # Initial backoff in milliseconds for RPC retries.
53+ # initial_backoff = 500
54+
55+ # Delay in milliseconds between recovery queries.
56+ # recover_query_delay = 50
57+
58+ # Number of blocks from the latest to consider as finalized.
59+ # default_finalized_block_count = 100
60+
61+ # Interval in minutes to remove finalized block data.
62+ # remove_finalized_block_interval_minutes = 30
63+
64+ # Wait time in milliseconds for the watch loop.
65+ # watch_loop_wait_time_ms = 500
66+
67+ # Timeout in seconds for blockchain RPC calls.
68+ # blockchain_rpc_timeout_secs = 120
69+
2770# ######################################################################
2871# ## RPC Config Options ###
2972# ######################################################################
@@ -35,19 +78,44 @@ rpc_enabled = true
3578rpc_listen_address = " 0.0.0.0:6789"
3679
3780# Indexer endpoint to fetch storage node locations. Leave empty to use zgs_node_urls instead.
38- indexer_url = " https://indexer-storage-turbo-testnet.0g.ai"
81+ indexer_url = " "
82+
3983# Static ZGS node list (used when indexer_url is empty).
4084zgs_node_urls = " "
85+
86+ # Number of chunks per segment for RPC responses.
87+ # rpc_chunks_per_segment = 1024
88+
89+ # Maximum query length in bytes (default 256 KB).
90+ # max_query_len_in_bytes = 262144
91+
92+ # Maximum response body size in bytes (default 30 MB).
93+ # max_response_body_in_bytes = 31457280
94+
95+ # Timeout in seconds for ZGS node RPC calls.
96+ # zgs_rpc_timeout = 5
97+
98+ # ######################################################################
99+ # ## Encryption Options ###
100+ # ######################################################################
101+
102+ # Encryption key for data decryption during download and replay.
103+ # Must be a 64-character hex string (32 bytes). Optional 0x prefix is allowed.
104+ # encryption_key = ""
105+
41106# ######################################################################
42107# ## Stream Data Sync Options ###
43108# ######################################################################
44109
45110# Max retries before skipping a failed download. 0 means retry forever.
46111# max_download_retries = 0
112+
47113# Timeout for waiting for file locations from indexer/nodes in milliseconds.
48114# download_timeout_ms = 300000
115+
49116# Interval between download retry attempts in milliseconds.
50117# download_retry_interval_ms = 5000
118+
51119# Wait time between polling iterations in the data fetcher and replayer in milliseconds.
52120# retry_wait_ms = 1000
53121
0 commit comments