mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-11-20 15:05:19 +00:00
c2b8b1cab3
* add admin rpc to terminate file or chunks sync * Disallow to change file sync goal when failed * split admin rpc into separate endpoints * Support to launch public and private rpc at one port * use one rpc port for python test * fix lint * restart to sync file or chunks if sync already completed or failed
36 lines
1.1 KiB
TOML
36 lines
1.1 KiB
TOML
network_dir = "network"
|
|
network_listen_address = "0.0.0.0"
|
|
# network_enr_address = ""
|
|
# network_enr_tcp_port = 1234
|
|
# network_enr_udp_port = 1234
|
|
network_libp2p_port = 1234
|
|
network_discovery_port = 1234
|
|
network_target_peers = 3
|
|
network_boot_nodes = ["/ip4/141.148.134.20/udp/1234/p2p/16Uiu2HAmPxGNWu9eVAQPJww79J32pTJLKGcpjRMb4Qb8xxKkyuG1","/ip4/129.146.156.125/udp/1234/p2p/16Uiu2HAm93Hd5azfhkGBbkx1zero3nYHvfjQYM2NtiW4R3r5bE2g"]
|
|
network_libp2p_nodes = []
|
|
network_private = false
|
|
network_disable_discovery = false
|
|
|
|
db_dir = "db"
|
|
|
|
rpc_enabled = true
|
|
rpc_listen_address = "0.0.0.0:5678"
|
|
# rpc_listen_address_admin = "127.0.0.1:5679"
|
|
|
|
log_config_file = "log_config"
|
|
|
|
blockchain_rpc_endpoint = "https://evmtestnet.confluxrpc.com"
|
|
|
|
log_contract_address = "0xcb7afff6f048ec1fb033aa7b495ed0dd932c8656"
|
|
mine_contract_address = "0x0d0d21020d04621479489f9ebde9a0373efbb838"
|
|
|
|
log_sync_start_block_number = 134253180
|
|
log_page_size = 999
|
|
|
|
# [sync]
|
|
# auto_sync_enabled = false
|
|
# max_sync_files = 8
|
|
# find_peer_timeout = "30s"
|
|
# sync_file_by_rpc_enabled = true
|
|
# sync_file_on_announcement_enabled = false
|