damd_config.toml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. ## damd 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. # JSON-RPC settings
  9. [rpc]
  10. # JSON-RPC listen URL
  11. rpc_listen = "tcp://127.0.0.1:34780"
  12. # Disabled RPC methods
  13. rpc_disabled_methods = ["p2p.get_info"]
  14. # P2P network settings
  15. [net]
  16. # Path to the P2P datastore
  17. p2p_datastore = "~/.local/share/darkfi/damd"
  18. # Path to a configured hostlist for saving known peers
  19. hostlist = "~/.local/share/darkfi/damd/p2p_hostlist.tsv"
  20. # Outbound connection slots number, this many connections will be
  21. # attempted. (This does not include manual connections)
  22. #outbound_connections = 8
  23. # Inbound connections slots number, this many active inbound connections
  24. # will be allowed. (This does not include manual or outbound connections)
  25. #inbound_connections = 8
  26. ## White connection percent
  27. # gold_connect_count = 2
  28. ## White connection percent
  29. # white_connect_percent = 70
  30. # Manual connections retry limit, 0 for forever looping
  31. #manual_attempt_limit = 0
  32. # Allow localnet hosts
  33. localnet = false
  34. # Cooling off time for peer discovery when unsuccessful
  35. #outbound_peer_discovery_cooloff_time = 30
  36. # Time between peer discovery attempts
  37. #outbound_peer_discovery_attempt_time = 5
  38. # Whitelisted network transports for outbound connections
  39. #active_profiles = ["tcp+tls"]
  40. # Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
  41. # if tcp is added to mixed_profiles and tor is added to active_profiles)
  42. #mixed_profiles = []
  43. #[net.profiles."tcp+tls"]
  44. # P2P accept addresses the instance listens on for inbound connections
  45. #inbound = ["tcp+tls://0.0.0.0:34781"]
  46. # P2P external addresses the instance advertises so other peers can
  47. # reach us and connect to us, as long as inbound addrs are configured.
  48. #external_addrs = []
  49. # Peer nodes to manually connect to
  50. #peers = []
  51. # Seed nodes to connect to for peer discovery and/or adversising our
  52. # own external addresses
  53. #seeds = []