darkfid0.toml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. # Blockchain network to use
  9. network = "localnet"
  10. # Localnet blockchain network configuration
  11. [network_config."localnet"]
  12. # Path to the blockchain database directory
  13. database = "darkfid0"
  14. # Confirmation threshold, denominated by number of blocks
  15. threshold = 6
  16. # PoW block production target, in seconds
  17. pow_target = 60
  18. # Optional fixed PoW difficulty, used for testing
  19. #pow_fixed_difficulty = 1
  20. # Skip syncing process and start node right away
  21. skip_sync = true
  22. # Disable transaction's fee verification, used for testing
  23. skip_fees = false
  24. # Optional sync checkpoint height
  25. #checkpoint_height = 0
  26. # Optional sync checkpoint hash
  27. #checkpoint = ""
  28. ## Localnet JSON-RPC settings
  29. [network_config."localnet".rpc]
  30. # JSON-RPC listen URL
  31. rpc_listen = "tcp://127.0.0.1:48345"
  32. # Disabled RPC methods
  33. #rpc_disabled_methods = ["p2p.get_info"]
  34. ## Localnet JSON-RPC settings for stratum mining requests (optional)
  35. [network_config."localnet".stratum_rpc]
  36. # JSON-RPC listen URL (stratum mining)
  37. rpc_listen = "tcp://127.0.0.1:48346"
  38. ## Localnet P2P network settings
  39. [network_config."localnet".net]
  40. # Allow localnet hosts
  41. localnet = true
  42. # Whitelisted network transports for outbound connections
  43. active_profiles = ["tcp+tls"]
  44. [network_config."localnet".net.profiles."tcp+tls"]
  45. # P2P accept addresses the instance listens on for inbound connections
  46. inbound = ["tcp+tls://0.0.0.0:48340"]