darkfid1.toml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. # PoW block production target, in seconds
  24. pow_target = 20
  25. # Optional fixed PoW difficulty, used for testing
  26. #pow_fixed_difficulty = 1
  27. # Skip syncing process and start node right away
  28. skip_sync = false
  29. # Disable transaction's fee verification, used for testing
  30. skip_fees = false
  31. # Optional sync checkpoint height
  32. #checkpoint_height = 0
  33. # Optional sync checkpoint hash
  34. #checkpoint = ""
  35. # Optional bootstrap timestamp
  36. #bootstrap = 1712581283
  37. ## Localnet JSON-RPC settings
  38. [network_config."localnet".rpc]
  39. # JSON-RPC listen URL
  40. rpc_listen = "tcp://127.0.0.1:48340"
  41. # Disabled RPC methods
  42. #rpc_disabled_methods = ["p2p.get_info"]
  43. ## Localnet P2P network settings
  44. [network_config."localnet".net]
  45. # P2P accept addresses the instance listens on for inbound connections
  46. inbound = ["tcp+tls://0.0.0.0:48342"]
  47. # Whitelisted network transports for outbound connections
  48. allowed_transports = ["tcp+tls"]
  49. # Peer nodes to manually connect to
  50. peers = ["tcp+tls://0.0.0.0:48242"]
  51. # Allow localnet hosts
  52. localnet = true