darkfid0.toml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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 = "darkfid0/wallet.db"
  12. # Password for the wallet database
  13. wallet_pass = "changeme"
  14. # Path to the blockchain database directory
  15. database = "darkfid0/blockchain"
  16. # JSON-RPC listen url
  17. rpc_listen = "tcp://127.0.0.1:8340"
  18. # Participate in the consensus protocol
  19. consensus = true
  20. # Enable single-node mode for local testing
  21. single_node = true
  22. # P2P accept addresses for the consensus protocol
  23. consensus_p2p_accept = ["tcp://127.0.0.1:8341"]
  24. # P2P external addresses for the consensus protocol
  25. consensus_p2p_external = ["tcp://127.0.0.1:8341"]
  26. # Connection slots for the consensus protocol
  27. #consensus_slots = 8
  28. # Connection slots for the consensus protocol
  29. #consensus_p2p_seed = []
  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:8342"]
  36. # P2P external addresses for the syncing protocol
  37. sync_p2p_external = ["tcp://127.0.0.1:8342"]
  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 = []
  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