darkfid.toml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. # JSON-RPC listen URL
  13. rpc_listen = "tcp://127.0.0.1:48240"
  14. # Path to the blockchain database directory
  15. database = "darkfid"
  16. # Confirmation threshold, denominated by number of blocks
  17. threshold = 1
  18. # minerd JSON-RPC endpoint
  19. minerd_endpoint = "tcp://127.0.0.1:48467"
  20. # Optional HTTP JSON-RPC listen URL to serve handlers for p2pool merge mining requests
  21. #mm_rpc_listen = "http+tcp://127.0.0.1:8241"
  22. # PoW block production target, in seconds
  23. pow_target = 10
  24. # Optional fixed PoW difficulty, used for testing
  25. pow_fixed_difficulty = 1
  26. # Wallet address to receive mining rewards.
  27. # This is a dummy one so the miner can start,
  28. # replace with your own one.
  29. recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U"
  30. # Optional contract spend hook to use in the mining reward
  31. #spend_hook = "6iW9nywZYvyhcM7P1iLwYkh92rvYtREDsC8hgqf2GLuT"
  32. # Optional user data to use in the mining reward
  33. #user_data = "YOUR_USER_DATA_HERE"
  34. # Skip syncing process and start node right away
  35. skip_sync = true
  36. # Disable transaction's fee verification, used for testing
  37. skip_fees = false
  38. # Optional sync checkpoint height
  39. #checkpoint_height = 0
  40. # Optional sync checkpoint hash
  41. #checkpoint = ""
  42. # Optional bootstrap timestamp
  43. #bootstrap = 1718807405
  44. ## Localnet P2P network settings
  45. [network_config."localnet".net]
  46. # P2P accept addresses the instance listens on for inbound connections
  47. inbound = ["tcp+tls://0.0.0.0:48242"]
  48. # Allow localnet hosts
  49. localnet = true