darkfid.toml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 = "darkfid"
  14. # Confirmation threshold, denominated by number of blocks
  15. threshold = 1
  16. # PoW block production target, in seconds
  17. pow_target = 10
  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. # Optional bootstrap timestamp
  29. #bootstrap = 1718807405
  30. ## Localnet JSON-RPC settings
  31. [network_config."localnet".rpc]
  32. # JSON-RPC listen URL
  33. rpc_listen = "tcp://127.0.0.1:48240"
  34. # Disabled RPC methods
  35. #rpc_disabled_methods = ["p2p.get_info"]
  36. ## Localnet JSON-RPC settings for p2pool merge mining requests (optional)
  37. #[network_config."localnet".mm_rpc]
  38. # JSON-RPC listen URL (merge mining)
  39. #rpc_listen = "http+tcp://127.0.0.1:8241"
  40. # Disabled RPC methods (merge mining)
  41. #rpc_disabled_methods = []
  42. ## Localnet P2P network settings
  43. [network_config."localnet".net]
  44. # P2P accept addresses the instance listens on for inbound connections
  45. inbound = ["tcp+tls://0.0.0.0:48242"]
  46. # Allow localnet hosts
  47. localnet = true