generic_node_config.toml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. ## generic node configuration file
  2. ##
  3. ## Please make sure you go through all the settings so you can configure
  4. ## your daemon properly.
  5. ##
  6. ## The default values are left commented. They can be overridden either by
  7. ## uncommenting, or by using the command-line.
  8. ## P2P network settings
  9. [net]
  10. # P2P accept addresses the instance listens on for inbound connections
  11. inbound = ["tcp+tls://0.0.0.0:38967"]
  12. # P2P external addresses the instance advertises so other peers can
  13. # reach us and connect to us, as long as inbound addrs are configured.
  14. #external_addrs = []
  15. # Peer nodes to manually connect to
  16. #peers = []
  17. # Seed nodes to connect to for peer discovery and/or adversising our
  18. # own external addresses
  19. #seeds = []
  20. # Whitelisted network transports for outbound connections
  21. #allowed_transports = ["tcp+tls"]
  22. # Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
  23. #transport_mixing = true
  24. # Outbound connection slots number, this many connections will be
  25. # attempted. (This does not include manual connections)
  26. #outbound_connections = 8
  27. # Inbound connections slots number, this many active inbound connections
  28. # will be allowed. (This does not include manual or outbound connections)
  29. #inbound_connections = 8
  30. ## White connection percent
  31. # gold_connect_count = 2
  32. ## White connection percent
  33. # white_connect_percent = 70
  34. # Manual connections retry limit, 0 for forever looping
  35. #manual_attempt_limit = 0
  36. # Outbound connection timeout (in seconds)
  37. #outbound_connect_timeout = 10
  38. # Exchange versions (handshake) timeout (in seconds)
  39. #channel_handshake_timeout = 4
  40. # Ping-pong exchange execution interval (in seconds)
  41. #channel_heartbeat_interval = 10
  42. # Allow localnet hosts
  43. localnet = true
  44. # Cooling off time for peer discovery when unsuccessful
  45. #outbound_peer_discovery_cooloff_time = 30
  46. # Time between peer discovery attempts
  47. #outbound_peer_discovery_attempt_time = 5