darkfid_config.toml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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:18342"]
  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. # Inbound connections slots number, this many active inbound connections
  46. # will be allowed. (This does not include manual or outbound connections)
  47. #inbound_connections = 0
  48. # Manual connections retry limit, 0 for forever looping
  49. #manual_attempt_limit = 0
  50. # Outbound connection timeout (in seconds)
  51. #outbound_connect_timeout = 10
  52. # Exchange versions (handshake) timeout (in seconds)
  53. #channel_handshake_timeout = 4
  54. # Ping-pong exchange execution interval (in seconds)
  55. #channel_heartbeat_interval = 10
  56. # Allow localnet hosts
  57. #localnet = false
  58. ## Sync P2P network settings
  59. [consensus_net]
  60. # P2P accept addresses the instance listens on for inbound connections
  61. # You can also use an IPv6 address
  62. #inbound = ["tcp+tls://0.0.0.0:8341"]
  63. # IPv6 version:
  64. #inbound = ["tcp+tls://[::]:8341"]
  65. # Combined:
  66. #inbound = ["tcp+tls://0.0.0.0:8341", "tcp+tls://[::]:8341"]
  67. # P2P external addresses the instance advertises so other peers can
  68. # reach us and connect to us, as long as inbound addrs are configured.
  69. # You can also use an IPv6 address
  70. #external_addrs = ["tcp+tls://XXX.XXX.XXX.XXX:8341"]
  71. # IPv6 version:
  72. #external_addrs = ["tcp+tls://[ipv6 address here]:8341"]
  73. # Combined:
  74. #external_addrs = ["tcp+tls://XXX.XXX.XXX.XXX:8341", "tcp+tls://[ipv6 address here]:8341"]
  75. # Peer nodes to manually connect to
  76. #peers = []
  77. # Seed nodes to connect to for peer discovery and/or adversising our
  78. # own external addresses
  79. #seeds = ["tcp+tls://lilith0.dark.fi:8341", "tcp+tls://lilith1.dark.fi:8341"]
  80. # Whitelisted network transports for outbound connections
  81. #allowed_transports = ["tcp+tls"]
  82. # Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
  83. #transport_mixing = true
  84. # Outbound connection slots number, this many connections will be
  85. # attempted. (This does not include manual connections)
  86. #outbound_connections = 8
  87. # Manual connections retry limit, 0 for forever looping
  88. #manual_attempt_limit = 0
  89. # Outbound connection timeout (in seconds)
  90. #outbound_connect_timeout = 10
  91. # Exchange versions (handshake) timeout (in seconds)
  92. #channel_handshake_timeout = 4
  93. # Ping-pong exchange execution interval (in seconds)
  94. #channel_heartbeat_interval = 10
  95. # Allow localnet hosts
  96. #localnet = false