generic_node_config.toml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. # Outbound connection slots number, this many connections will be
  11. # attempted. (This does not include manual connections)
  12. #outbound_connections = 8
  13. # Inbound connections slots number, this many active inbound connections
  14. # will be allowed. (This does not include manual or outbound connections)
  15. #inbound_connections = 8
  16. ## White connection percent
  17. # gold_connect_count = 2
  18. ## White connection percent
  19. # white_connect_percent = 70
  20. # Manual connections retry limit, 0 for forever looping
  21. #manual_attempt_limit = 0
  22. # Allow localnet hosts
  23. localnet = true
  24. # Cooling off time for peer discovery when unsuccessful
  25. #outbound_peer_discovery_cooloff_time = 30
  26. # Time between peer discovery attempts
  27. #outbound_peer_discovery_attempt_time = 5
  28. # Whitelisted network transports for outbound connections
  29. #active_profiles = ["tcp+tls"]
  30. # Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
  31. # if tcp is added to mixed_profiles and tor is added to active_profiles)
  32. #mixed_profiles = []
  33. [net.profiles."tcp+tls"]
  34. # P2P accept addresses the instance listens on for inbound connections
  35. inbound = ["tcp+tls://0.0.0.0:38967"]
  36. # P2P external addresses the instance advertises so other peers can
  37. # reach us and connect to us, as long as inbound addrs are configured.
  38. #external_addrs = []
  39. # Peer nodes to manually connect to
  40. #peers = []
  41. # Seed nodes to connect to for peer discovery and/or adversising our
  42. # own external addresses
  43. #seeds = []
  44. # Outbound connection timeout (in seconds)
  45. #outbound_connect_timeout = 10
  46. # Exchange versions (handshake) timeout (in seconds)
  47. #channel_handshake_timeout = 4
  48. # Ping-pong exchange execution interval (in seconds)
  49. #channel_heartbeat_interval = 10