darkwikid_config.toml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. ## darkwiki 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 commandline.
  8. # JSON-RPC endpoint listen URL, this is where the daemon's clients connect to.
  9. # Usually, this should be listening on localhost, where you'll also be running
  10. # your clients that interface with the daemon. Running the JSON-RPC endpoint
  11. # publicly accessible is dangerous as it allows others to interact with it and
  12. # potentially destroy and/or steal your data!
  13. #rpc_listen = "tcp://localhost:24330"
  14. # Toplevel path to where you wish to store darkwiki files. This is where you'll
  15. # make edits to files and commit them.
  16. #docs = "~/darkwiki"
  17. # The nickname your darkwikid will use for your patches.
  18. #author = "Anonymous"
  19. # Workspaces, configured as an array, so instead of having multiple
  20. # keys, just append them in this list:
  21. # workspace = [
  22. # "darkwiki_playground:Ar7GhqEPdc8dYWbmPwLaTfvtHGwaS9Ki2UmSJvCURisd",
  23. # ]
  24. # Network settings
  25. [net]
  26. # P2P accept addresses, set this to 0.0.0.0 and/or [::] to listen on all
  27. # available interfaces. Alternatively, add the IP addresses or domains you
  28. # want your daemon to listen to.
  29. #inbound = ["tls://0.0.0.0:24331"]
  30. # Outbound connection slots, the target number of peers your node will try
  31. # to connect to.
  32. outbound_connections = 8
  33. # P2P external addresses. If your node is reachable from the Internet, this
  34. # address will be advertised to the seed node(s) you connect to for bootstrap.
  35. # If your daemon isn't reachable by others, leave this commented.
  36. #external_addr = ["tls://your_ip_addr_or_domain:24331"]
  37. # Manual connections to peers. This is in addition to outbound_connections.
  38. #peers = ["tls://127.0.0.1:24331"]
  39. # Seed nodes to connect to
  40. seeds = ["tls://lilith0.dark.fi:24331", "tls://lilith1.dark.fi:24331"]
  41. # Prefered transports for outbound connections
  42. #transports = ["tls", "tcp"]
  43. # These are the default configuration for the P2P network
  44. #manual_attempt_limit = 0
  45. #seed_query_timeout_seconds = 8
  46. #connect_timeout_seconds = 10
  47. #channel_handshake_seconds = 4
  48. #channel_heartbeat_seconds = 10