0g-storage-node/run/config.toml
2024-04-06 20:38:53 +08:00

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/54.219.26.22/udp/1234/p2p/16Uiu2HAmPxGNWu9eVAQPJww79J32pTJLKGcpjRMb4Qb8xxKkyuG1","/ip4/52.52.127.117/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