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