darkfid1.toml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. ## darkfid configuration file
  9. ##
  10. ## Please make sure you go through all the settings so you can configure
  11. ## your daemon properly.
  12. ##
  13. ## The default values are left commented. They can be overridden either by
  14. ## uncommenting, or by using the command-line.
  15. # JSON-RPC listen URL
  16. rpc_listen = "tcp://127.0.0.1:48440"
  17. # Blockchain network to use
  18. network = "localnet"
  19. # Localnet blockchain network configuration
  20. [network_config."localnet"]
  21. # Path to the blockchain database directory
  22. database = "darkfid1"
  23. # Finalization threshold, denominated by number of blocks
  24. threshold = 6
  25. # minerd JSON-RPC endpoint
  26. minerd_endpoint = "tcp://127.0.0.1:48567"
  27. # PoW block production target, in seconds
  28. pow_target = 20
  29. # Participate in block production
  30. miner = true
  31. # Wallet address to receive mining rewards.
  32. # This is a dummy one so the miner can start,
  33. # replace with your own one.
  34. recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U"
  35. # Skip syncing process and start node right away
  36. skip_sync = false
  37. # Disable transaction's fee verification, used for testing
  38. skip_fees = false
  39. # Optional sync checkpoint height
  40. #checkpoint_height = 0
  41. # Optional sync checkpoint hash
  42. #checkpoint = ""
  43. # Optional bootstrap timestamp
  44. #bootstrap = 1712581283
  45. ## Localnet P2P network settings
  46. [network_config."localnet".net]
  47. # P2P accept addresses the instance listens on for inbound connections
  48. inbound = ["tcp+tls://0.0.0.0:48342"]
  49. # Whitelisted network transports for outbound connections
  50. allowed_transports = ["tcp+tls"]
  51. # Peer nodes to manually connect to
  52. peers = ["tcp+tls://0.0.0.0:48242"]
  53. # Allow localnet hosts
  54. localnet = true