# chain = "mainnet" # chain = "testnet" # chain = "your_path_to/dev.toml" chain = "testnet" [store] path = "data0/store" [network] path = "data0/network" listen_addresses = ["/ip4/0.0.0.0/tcp/18110"] ### Specify the public and routable network addresses # public_addresses = [] # Node connects to nodes listed here to discovery other peers when there's no local stored peers. # When chain.spec is changed, this usually should also be changed to the bootnodes in the new chain. bootnodes = [ # Local "/ip4/192.168.0.73/tcp/18115/p2p/QmQnnZeQnpsABhQEz5hGMoV4jkuDR3cRr6STriTEmBzKFu", "/ip4/192.168.0.77/tcp/18115/p2p/QmQrYTg4DnExfhb6DT3DjXxLjjCLV8L5m7y4hCgbnJ6jKp", "/ip4/192.168.0.78/tcp/18115/p2p/QmZApYp8at7eQnegsduwkRMDvnsgoTonNDhRAp2Xh65reW", "/ip4/192.168.0.79/tcp/18115/p2p/QmP1yucAeye9TweMzR5rDMV3vPRx4QVW7sBtRfNjWX6HPB", ] ### Whitelist-only mode # whitelist_only = false ### Whitelist peers connecting from the given IP addresses # whitelist_peers = [] ### Enable `SO_REUSEPORT` feature to reuse port on Linux, not supported on other OS yet # reuse_port_on_linux = true max_peers = 125 max_outbound_peers = 8 # 2 minutes ping_interval_secs = 120 # 20 minutes ping_timeout_secs = 1200 connect_outbound_interval_secs = 15 # If set to true, try to register upnp upnp = false # If set to true, network service will add discovered local address to peer store, it's helpful for private net development discovery_local_address = false # If set to true, random cleanup when there are too many inbound nodes # Ensure that itself can continue to serve as a bootnode node bootnode_mode = false [rpc] # Light client rpc is designed for self hosting, exposing to public network is not recommended and may cause security issues. # By default RPC only binds to localhost, thus it only allows accessing from the same machine. listen_address = "0.0.0.0:19000"