darkfid1.toml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. # Blockchain network to use
  16. network = "localnet"
  17. # Localnet blockchain network configuration
  18. [network_config."localnet"]
  19. # Path to the blockchain database directory
  20. database = "darkfid1"
  21. # Confirmation threshold, denominated by number of blocks
  22. threshold = 6
  23. # minerd JSON-RPC endpoint
  24. minerd_endpoint = "tcp://127.0.0.1:48567"
  25. # PoW block production target, in seconds
  26. pow_target = 20
  27. # Wallet address to receive mining rewards.
  28. # This is a dummy one so the miner can start,
  29. # replace with your own one.
  30. recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U"
  31. # Optional contract spend hook to use in the mining reward
  32. #spend_hook = "YOUR_SPEND_HOOK_HERE"
  33. # Optional contract user data to use in the mining reward.
  34. # This is not arbitrary data.
  35. #user_data = "YOUR_USER_DATA_HERE"
  36. # Skip syncing process and start node right away
  37. skip_sync = false
  38. # Disable transaction's fee verification, used for testing
  39. skip_fees = false
  40. # Optional sync checkpoint height
  41. #checkpoint_height = 0
  42. # Optional sync checkpoint hash
  43. #checkpoint = ""
  44. # Optional bootstrap timestamp
  45. #bootstrap = 1712581283
  46. ## Localnet JSON-RPC settings
  47. [network_config."localnet".rpc]
  48. # JSON-RPC listen URL
  49. rpc_listen = "tcp://127.0.0.1:48340"
  50. # Disabled RPC methods
  51. #rpc_disabled_methods = ["p2p.get_info"]
  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:48342"]
  56. # Whitelisted network transports for outbound connections
  57. allowed_transports = ["tcp+tls"]
  58. # Peer nodes to manually connect to
  59. peers = ["tcp+tls://0.0.0.0:48242"]
  60. # Allow localnet hosts
  61. localnet = true