darkfid3.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:48540"
  14. # Path to the blockchain database directory
  15. database = "darkfid3"
  16. # Confirmation threshold, denominated by number of blocks
  17. threshold = 6
  18. # minerd JSON-RPC endpoint
  19. minerd_endpoint = "tcp://127.0.0.1:48767"
  20. # PoW block production target, in seconds
  21. pow_target = 60
  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 = "YOUR_SPEND_HOOK_HERE"
  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 = false
  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 = 1712581283
  40. ## Localnet P2P network settings
  41. [network_config."localnet".net]
  42. # P2P accept addresses the instance listens on for inbound connections
  43. inbound = ["tcp+tls://0.0.0.0:48542"]
  44. # Whitelisted network transports for outbound connections
  45. allowed_transports = ["tcp+tls"]
  46. # Peer nodes to manually connect to
  47. peers = ["tcp+tls://0.0.0.0:48242", "tcp+tls://0.0.0.0:48342", "tcp+tls://0.0.0.0:48442"]
  48. # Allow localnet hosts
  49. localnet = true