darkfid_config.toml 4.0 KB

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