mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-11-03 16:17:27 +00:00
update test turbo config
This commit is contained in:
parent
df570e34d2
commit
7880cee3d5
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
# List of nodes to bootstrap UDP discovery. Note, `network_enr_address` should be
|
# List of nodes to bootstrap UDP discovery. Note, `network_enr_address` should be
|
||||||
# configured as well to enable UDP discovery.
|
# configured as well to enable UDP discovery.
|
||||||
network_boot_nodes = ["/ip4/47.251.79.83/udp/1234/p2p/16Uiu2HAkvJYQABP1MdvfWfUZUzGLx1sBSDZ2AT92EFKcMCCPVawV", "/ip4/47.238.87.44/udp/1234/p2p/16Uiu2HAmFGsLoajQdEds6tJqsLX7Dg8bYd2HWR4SbpJUut4QXqCj", "/ip4/47.251.78.104/udp/1234/p2p/16Uiu2HAmSe9UWdHrqkn2mKh99b9DwYZZcea6krfidtU3e5tiHiwN", "/ip4/47.76.30.235/udp/1234/p2p/16Uiu2HAm5tCqwGtXJemZqBhJ9JoQxdDgkWYavfCziaqaAYkGDSfU"]
|
network_boot_nodes = ["/ip4/35.236.80.213/udp/1234/p2p/16Uiu2HAm1w2Lkr4vsnHUgHiyQBpVXmDuvuLP9SDUZaY5tkZudSME", "/ip4/34.102.76.235/udp/1234/p2p/16Uiu2HAmPQ9WTyYbstNPFX4Va8gH5cfkLJ5fJL9h7U4sgJyaHbcm"]
|
||||||
|
|
||||||
# List of libp2p nodes to initially connect to.
|
# List of libp2p nodes to initially connect to.
|
||||||
# network_libp2p_nodes = []
|
# network_libp2p_nodes = []
|
||||||
@ -80,14 +80,14 @@ network_boot_nodes = ["/ip4/47.251.79.83/udp/1234/p2p/16Uiu2HAkvJYQABP1MdvfWfUZU
|
|||||||
# blockchain_rpc_endpoint = "http://127.0.0.1:8545"
|
# blockchain_rpc_endpoint = "http://127.0.0.1:8545"
|
||||||
|
|
||||||
# Flow contract address to sync event logs.
|
# Flow contract address to sync event logs.
|
||||||
log_contract_address = "0x56A565685C9992BF5ACafb940ff68922980DBBC5"
|
log_contract_address = "0x22E03a6A89B950F1c82ec5e74F8eCa321a105296"
|
||||||
|
|
||||||
# Block number to sync event logs from blockchain. Generally, this is
|
# Block number to sync event logs from blockchain. Generally, this is
|
||||||
# the block number when flow contract deployed.
|
# the block number when flow contract deployed.
|
||||||
log_sync_start_block_number = 1
|
log_sync_start_block_number = 1
|
||||||
|
|
||||||
# Number of blocks to confirm a transaction.
|
# Number of blocks to confirm a transaction.
|
||||||
# confirmation_block_count = 3
|
confirmation_block_count = 1
|
||||||
|
|
||||||
# Maximum number of event logs to poll at a time.
|
# Maximum number of event logs to poll at a time.
|
||||||
# log_page_size = 999
|
# log_page_size = 999
|
||||||
@ -125,13 +125,13 @@ log_sync_start_block_number = 1
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
# Maximum number of threads to upload segments of a single file simultaneously.
|
# Maximum number of threads to upload segments of a single file simultaneously.
|
||||||
# chunk_pool_write_window_size = 4
|
chunk_pool_write_window_size = 2
|
||||||
|
|
||||||
# Maximum data size of cached segment in pool (by default, 4MB).
|
# Maximum data size of cached segment in pool (by default, 4MB).
|
||||||
# chunk_pool_max_cached_chunks_all = 4194304
|
# chunk_pool_max_cached_chunks_all = 4194304
|
||||||
|
|
||||||
# Maximum number of threads to upload segments for all files simultaneously.
|
# Maximum number of threads to upload segments for all files simultaneously.
|
||||||
# chunk_pool_max_writings = 16
|
chunk_pool_max_writings = 128
|
||||||
|
|
||||||
# Expiration time to cache uploaded segments in memory.
|
# Expiration time to cache uploaded segments in memory.
|
||||||
# chunk_pool_expiration_time_secs = 300
|
# chunk_pool_expiration_time_secs = 300
|
||||||
@ -158,7 +158,7 @@ log_sync_start_block_number = 1
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
# Mine contract address for incentive.
|
# Mine contract address for incentive.
|
||||||
mine_contract_address = "0xB87E0e5657C25b4e132CB6c34134C0cB8A962AD6"
|
mine_contract_address = "0x00A9E9604b0538e06b268Fb297Df333337f9593b"
|
||||||
|
|
||||||
# Miner key is used to sign blockchain transaction for incentive.
|
# Miner key is used to sign blockchain transaction for incentive.
|
||||||
# The value should be a hex string of length 64 without 0x prefix.
|
# The value should be a hex string of length 64 without 0x prefix.
|
||||||
@ -194,7 +194,7 @@ db_max_num_sectors = 4000000000
|
|||||||
# This only applies if there is no stored shard config in db.
|
# This only applies if there is no stored shard config in db.
|
||||||
# shard_position = "0/2"
|
# shard_position = "0/2"
|
||||||
|
|
||||||
reward_contract_address = "0x233B2768332e4Bae542824c93cc5c8ad5d44517E"
|
reward_contract_address = "0xA97B57b4BdFEA2D0a25e535bd849ad4e6C440A69"
|
||||||
# The time interval to check if we should half `shard_position` to prune data.
|
# The time interval to check if we should half `shard_position` to prune data.
|
||||||
#
|
#
|
||||||
# prune_check_time_s = 60
|
# prune_check_time_s = 60
|
||||||
@ -215,10 +215,10 @@ reward_contract_address = "0x233B2768332e4Bae542824c93cc5c8ad5d44517E"
|
|||||||
# [network_peer_db]
|
# [network_peer_db]
|
||||||
|
|
||||||
# The maximum number of disconnected nodes to remember.
|
# The maximum number of disconnected nodes to remember.
|
||||||
# max_disconnected_peers = 500
|
max_disconnected_peers = 10000
|
||||||
|
|
||||||
# The maximum number of banned nodes to remember.
|
# The maximum number of banned nodes to remember.
|
||||||
# max_banned_peers = 1000
|
max_banned_peers = 10000
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
### Router Config Options ###
|
### Router Config Options ###
|
||||||
@ -244,6 +244,10 @@ batcher_announcement_capacity = 100
|
|||||||
# all files, and sufficient disk space is required.
|
# all files, and sufficient disk space is required.
|
||||||
auto_sync_enabled = true
|
auto_sync_enabled = true
|
||||||
|
|
||||||
|
# Indicates whether to sync file from neighbor nodes only. This is to avoid flooding file
|
||||||
|
# announcements in the whole network, which leads to high latency or even timeout to sync files.
|
||||||
|
neighbors_only = true
|
||||||
|
|
||||||
# Maximum number of files in sync from other peers simultaneously.
|
# Maximum number of files in sync from other peers simultaneously.
|
||||||
# max_sync_files = 16
|
# max_sync_files = 16
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user