damd_config.toml 2.3 KB

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