generic_node_config.toml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. # Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
  23. # if tcp is added to mixed_transports and tor is added to allowed_transports)
  24. #mixed_transports = []
  25. # Outbound connection slots number, this many connections will be
  26. # attempted. (This does not include manual connections)
  27. #outbound_connections = 8
  28. # Inbound connections slots number, this many active inbound connections
  29. # will be allowed. (This does not include manual or outbound connections)
  30. #inbound_connections = 8
  31. ## White connection percent
  32. # gold_connect_count = 2
  33. ## White connection percent
  34. # white_connect_percent = 70
  35. # Manual connections retry limit, 0 for forever looping
  36. #manual_attempt_limit = 0
  37. # Outbound connection timeout (in seconds)
  38. #outbound_connect_timeout = 10
  39. # Exchange versions (handshake) timeout (in seconds)
  40. #channel_handshake_timeout = 4
  41. # Ping-pong exchange execution interval (in seconds)
  42. #channel_heartbeat_interval = 10
  43. # Allow localnet hosts
  44. localnet = true
  45. # Cooling off time for peer discovery when unsuccessful
  46. #outbound_peer_discovery_cooloff_time = 30
  47. # Time between peer discovery attempts
  48. #outbound_peer_discovery_attempt_time = 5