darkfid2.toml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. # Chain to use (testnet, mainnet)
  9. chain = "testnet"
  10. # Path to the wallet database
  11. wallet_path = "darkfid2/wallet.db"
  12. # Password for the wallet database
  13. wallet_pass = "changeme"
  14. # Path to the blockchain database directory
  15. database = "darkfid2/blockchain"
  16. # JSON-RPC listen url
  17. rpc_listen = "tcp://127.0.0.1:8540"
  18. # Participate in the consensus protocol
  19. consensus = false
  20. # Enable single-node mode for local testing
  21. single_node = false
  22. # P2P accept addresses for the consensus protocol
  23. #consensus_p2p_accept = ["tcp://127.0.0.1:8541"]
  24. # P2P external addressesfor the consensus protocol
  25. #consensus_p2p_external = ["tcp://127.0.0.1:8541"]
  26. # Connection slots for the consensus protocol
  27. #consensus_slots = 8
  28. # Connection slots for the consensus protocol
  29. #consensus_p2p_seed = ["tcp://127.0.0.1:33033"]
  30. # Peers to connect to for the consensus protocol
  31. #consensus_p2p_peer = []
  32. # Prefered transports of outbound connections for the consensus protocol
  33. consensus_p2p_transports = ["tls", "tcp"]
  34. # P2P accept addresses for the syncing protocol
  35. sync_p2p_accept = ["tcp://127.0.0.1:8542"]
  36. # P2P external addresses for the syncing protocol
  37. sync_p2p_external = ["tcp://127.0.0.1:8542"]
  38. # Connection slots for the syncing protocol
  39. #sync_slots = 8
  40. # Seed nodes to connect to for the syncing protocol
  41. sync_p2p_seed = ["tcp://127.0.0.1:33032"]
  42. # Peers to connect to for the syncing protocol
  43. #sync_p2p_peer = []
  44. # Prefered transports of outbound connections for the syncing protocol
  45. sync_p2p_transports = ["tls", "tcp"]
  46. # Enable localnet hosts
  47. localnet = true
  48. # Enable channel log
  49. channel_log = true
  50. # Whitelisted faucet public key
  51. faucet_pub = ["DqaZzCTipXeJw4kcc6ro1SJuzo3diaNjFiaAnKTGQEK1"]
  52. # Verify system clock is correct
  53. #clock_sync = true