darkfid_config.toml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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 = "~/.config/darkfi/darkfid_wallet_testnet.db"
  12. # Password for the wallet database
  13. #wallet_pass = "changeme"
  14. # Path to the blockchain database directory
  15. database = "~/.config/darkfi/darkfid_blockchain_testnet"
  16. # JSON-RPC listen URL
  17. rpc_listen = "tcp://127.0.0.1:8340"
  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 = ["tls://127.0.0.1:8341"]
  24. # P2P external addresses for the consensus protocol
  25. #consensus_p2p_external = ["tls://127.0.0.1:8341"]
  26. # Connection slots for the consensus protocol
  27. #consensus_slots = 8
  28. # Seed nodes to connect to for the consensus protocol
  29. #consensus_p2p_seed = []
  30. # Seed nodes JSON-RPC listen URL for clock synchronization
  31. #consensus_seed_rpc = []
  32. # Peers to connect to for the consensus protocol
  33. #consensus_p2p_peer = []
  34. # Peers JSON-RPC listen URL for clock synchronization
  35. #consensus_peer_rpc = []
  36. # Prefered transports of outbound connections for the consensus protocol
  37. #consensus_p2p_transports = ["tls", "tcp"]
  38. # P2P accept addresses for the syncing protocol
  39. sync_p2p_accept = ["tls://0.0.0.0:8342"]
  40. # P2P external addresses for the syncing protocol
  41. #sync_p2p_external = ["tls://127.0.0.1:8342"]
  42. # Connection slots for the syncing protocol
  43. sync_slots = 8
  44. # Seed nodes to connect to for the syncing protocol
  45. sync_p2p_seed = ["tls://lilith0.dark.fi:8342", "tls://lilith1.dark.fi:8342"]
  46. # Peers to connect to for the syncing protocol
  47. #sync_p2p_peer = []
  48. # Prefered transports of outbound connections for the syncing protocol
  49. sync_p2p_transports = ["tls"]
  50. # Enable localnet hosts
  51. localnet = false
  52. # Enable channel log
  53. #channel_log = false
  54. # Whitelisted cashier addresses
  55. #cashier_pub = []
  56. # Whitelisted faucet addresses
  57. faucet_pub = ["3ce5xa3PjuQGFtTaF7AvMJp7fGxqeGRJx7zj3LCwNCkP"]
  58. # Verify system clock is correct
  59. #clock_sync = true