darkfid1.toml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. ## Localnet JSON-RPC settings
  36. [network_config."localnet".rpc]
  37. # JSON-RPC listen URL
  38. rpc_listen = "tcp://127.0.0.1:48445"
  39. # Disabled RPC methods
  40. #rpc_disabled_methods = []
  41. ## Localnet management JSON-RPC settings
  42. [network_config."localnet".management_rpc]
  43. # JSON-RPC listen URL
  44. rpc_listen = "tcp://127.0.0.1:48446"
  45. # Disabled RPC methods
  46. #rpc_disabled_methods = []
  47. ## Localnet JSON-RPC settings for stratum mining requests (optional)
  48. [network_config."localnet".stratum_rpc]
  49. # JSON-RPC listen URL (stratum mining)
  50. rpc_listen = "tcp://127.0.0.1:48447"
  51. ## Localnet P2P network settings
  52. [network_config."localnet".net]
  53. # Allow localnet hosts
  54. localnet = true
  55. # Whitelisted network transports for outbound connections
  56. active_profiles = ["tcp+tls"]
  57. [network_config."localnet".net.profiles."tcp+tls"]
  58. # P2P accept addresses the instance listens on for inbound connections
  59. inbound = ["tcp+tls://0.0.0.0:48440"]
  60. # Peer nodes to manually connect to
  61. peers = ["tcp+tls://0.0.0.0:48340"]