darkfid_config.toml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. ## darkfid 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 listen URL
  9. rpc_listen = "tcp://127.0.0.1:8340"
  10. # Participate in the consensus protocol
  11. consensus = false
  12. # Enable testing mode for local testing
  13. testing_mode = false
  14. ## Sync P2P network settings
  15. [sync_net]
  16. # P2P accept addresses the instance listens on for inbound connections
  17. # You can also use an IPv6 address
  18. inbound = ["tls://0.0.0.0:8342"]
  19. # IPv6 version:
  20. #inbound = ["tls://[::]:8342"]
  21. # Combined:
  22. #inbound = ["tls://0.0.0.0:8342", "tls://[::]:8342"]
  23. # P2P external addresses the instance advertises so other peers can
  24. # reach us and connect to us, as long as inbound addrs are configured.
  25. # You can also use an IPv6 address
  26. #external_addrs = ["tls://XXX.XXX.XXX.XXX:8342"]
  27. # IPv6 version:
  28. #external_addrs = ["tls://[ipv6 address here]:8342"]
  29. # Combined:
  30. #external_addrs = ["tls://XXX.XXX.XXX.XXX:8342", "tls://[ipv6 address here]:8342"]
  31. # Peer nodes to manually connect to
  32. #peers = []
  33. # Seed nodes to connect to for peer discovery and/or adversising our
  34. # own external addresses
  35. #seeds = ["tls://lilith0.dark.fi:8342", "tls://lilith1.dark.fi:8342"]
  36. # Whitelisted network transports for outbound connections
  37. #allowed_transports = ["tls"]
  38. # Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
  39. #transport_mixing = true
  40. # Outbound connection slots number, this many connections will be
  41. # attempted. (This does not include manual connections)
  42. outbound_connections = 8
  43. # Manual connections retry limit, 0 for forever looping
  44. #manual_attempt_limit = 0
  45. # Outbound connection timeout (in seconds)
  46. #outbound_connect_timeout = 10
  47. # Exchange versions (handshake) timeout (in seconds)
  48. #channel_handshake_timeout = 4
  49. # Ping-pong exchange execution interval (in seconds)
  50. #channel_heartbeat_interval = 10
  51. # Allow localnet hosts
  52. #localnet = false
  53. ## Sync P2P network settings
  54. [consensus_net]
  55. # P2P accept addresses the instance listens on for inbound connections
  56. # You can also use an IPv6 address
  57. #inbound = ["tls://0.0.0.0:8341"]
  58. # IPv6 version:
  59. #inbound = ["tls://[::]:8341"]
  60. # Combined:
  61. #inbound = ["tls://0.0.0.0:8341", "tls://[::]:8341"]
  62. # P2P external addresses the instance advertises so other peers can
  63. # reach us and connect to us, as long as inbound addrs are configured.
  64. # You can also use an IPv6 address
  65. #external_addrs = ["tls://XXX.XXX.XXX.XXX:8341"]
  66. # IPv6 version:
  67. #external_addrs = ["tls://[ipv6 address here]:8341"]
  68. # Combined:
  69. #external_addrs = ["tls://XXX.XXX.XXX.XXX:8341", "tls://[ipv6 address here]:8341"]
  70. # Peer nodes to manually connect to
  71. #peers = []
  72. # Seed nodes to connect to for peer discovery and/or adversising our
  73. # own external addresses
  74. #seeds = ["tls://lilith0.dark.fi:8341", "tls://lilith1.dark.fi:8341"]
  75. # Whitelisted network transports for outbound connections
  76. #allowed_transports = ["tls"]
  77. # Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
  78. #transport_mixing = true
  79. # Outbound connection slots number, this many connections will be
  80. # attempted. (This does not include manual connections)
  81. #outbound_connections = 8
  82. # Manual connections retry limit, 0 for forever looping
  83. #manual_attempt_limit = 0
  84. # Outbound connection timeout (in seconds)
  85. #outbound_connect_timeout = 10
  86. # Exchange versions (handshake) timeout (in seconds)
  87. #channel_handshake_timeout = 4
  88. # Ping-pong exchange execution interval (in seconds)
  89. #channel_heartbeat_interval = 10
  90. # Allow localnet hosts
  91. #localnet = false