damd_config.toml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. # Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
  33. #transport_mixing = true
  34. # Outbound connection slots number, this many connections will be
  35. # attempted. (This does not include manual connections)
  36. #outbound_connections = 8
  37. # Inbound connections slots number, this many active inbound connections
  38. # will be allowed. (This does not include manual or outbound connections)
  39. #inbound_connections = 8
  40. ## White connection percent
  41. # gold_connect_count = 2
  42. ## White connection percent
  43. # white_connect_percent = 70
  44. # Manual connections retry limit, 0 for forever looping
  45. #manual_attempt_limit = 0
  46. # Outbound connection timeout (in seconds)
  47. #outbound_connect_timeout = 10
  48. # Exchange versions (handshake) timeout (in seconds)
  49. #channel_handshake_timeout = 4
  50. # Ping-pong exchange execution interval (in seconds)
  51. #channel_heartbeat_interval = 10
  52. # Allow localnet hosts
  53. localnet = false
  54. # Cooling off time for peer discovery when unsuccessful
  55. #outbound_peer_discovery_cooloff_time = 30
  56. # Time between peer discovery attempts
  57. #outbound_peer_discovery_attempt_time = 5