darkfid_config.toml 3.7 KB

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