darkfid2.toml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 = "darkfid2"
  14. # Confirmation threshold, denominated by number of blocks
  15. threshold = 6
  16. # minerd JSON-RPC endpoint
  17. minerd_endpoint = "tcp://127.0.0.1:48667"
  18. # PoW block production target, in seconds
  19. pow_target = 60
  20. # Wallet address to receive mining rewards.
  21. # This is a dummy one so the miner can start,
  22. # replace with your own one.
  23. recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U"
  24. # Optional contract spend hook to use in the mining reward
  25. #spend_hook = "YOUR_SPEND_HOOK_HERE"
  26. # Optional contract user data to use in the mining reward.
  27. # This is not arbitrary data.
  28. #user_data = "YOUR_USER_DATA_HERE"
  29. # Skip syncing process and start node right away
  30. skip_sync = false
  31. # Disable transaction's fee verification, used for testing
  32. skip_fees = false
  33. # Optional sync checkpoint height
  34. #checkpoint_height = 0
  35. # Optional sync checkpoint hash
  36. #checkpoint = ""
  37. # Optional bootstrap timestamp
  38. #bootstrap = 1712581283
  39. ## Localnet JSON-RPC settings
  40. [network_config."localnet".rpc]
  41. # JSON-RPC listen URL
  42. rpc_listen = "tcp://127.0.0.1:48440"
  43. # Disabled RPC methods
  44. #rpc_disabled_methods = ["p2p.get_info"]
  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:48442"]
  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", "tcp+tls://0.0.0.0:48342"]
  53. # Allow localnet hosts
  54. localnet = true