darkfid0.toml 1.5 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. # JSON-RPC listen URL
  9. rpc_listen = "tcp://127.0.0.1:48340"
  10. # Blockchain network to use
  11. network = "localnet"
  12. # Localnet blockchain network configuration
  13. [network_config."localnet"]
  14. # Path to the blockchain database directory
  15. database = "darkfid0"
  16. # Finalization threshold, denominated by number of blocks
  17. threshold = 6
  18. # minerd JSON-RPC endpoint
  19. minerd_endpoint = "tcp://127.0.0.1:48467"
  20. # PoW block production target, in seconds
  21. pow_target = 20
  22. # Participate in block production
  23. miner = true
  24. # Wallet address to receive mining rewards.
  25. # This is a dummy one so the miner can start,
  26. # replace with your own one.
  27. recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U"
  28. # Skip syncing process and start node right away
  29. skip_sync = true
  30. # Disable transaction's fee verification, used for testing
  31. skip_fees = false
  32. # Optional sync checkpoint height
  33. #checkpoint_height = 0
  34. # Optional sync checkpoint hash
  35. #checkpoint = ""
  36. # Optional bootstrap timestamp
  37. #bootstrap = 1712581283
  38. ## Localnet P2P network settings
  39. [network_config."localnet".net]
  40. # P2P accept addresses the instance listens on for inbound connections
  41. inbound = ["tcp+tls://0.0.0.0:48242"]
  42. # Whitelisted network transports for outbound connections
  43. allowed_transports = ["tcp+tls"]
  44. # Allow localnet hosts
  45. localnet = true