darkfid1.toml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. # Max in-memory forks to maintain
  24. max_forks = 8
  25. # PoW block production target, in seconds
  26. pow_target = 20
  27. # Optional fixed PoW difficulty, used for testing
  28. #pow_fixed_difficulty = 1
  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. ## Localnet JSON-RPC settings
  38. [network_config."localnet".rpc]
  39. # JSON-RPC listen URL
  40. rpc_listen = "tcp://127.0.0.1:48445"
  41. # Disabled RPC methods
  42. #rpc_disabled_methods = []
  43. ## Localnet management JSON-RPC settings
  44. [network_config."localnet".management_rpc]
  45. # JSON-RPC listen URL
  46. rpc_listen = "tcp://127.0.0.1:48446"
  47. # Disabled RPC methods
  48. #rpc_disabled_methods = []
  49. ## Localnet JSON-RPC settings for stratum mining requests (optional)
  50. [network_config."localnet".stratum_rpc]
  51. # JSON-RPC listen URL (stratum mining)
  52. rpc_listen = "tcp://127.0.0.1:48447"
  53. ## Localnet P2P network settings
  54. [network_config."localnet".net]
  55. # Allow localnet hosts
  56. localnet = true
  57. # Whitelisted network transports for outbound connections
  58. active_profiles = ["tcp+tls"]
  59. [network_config."localnet".net.profiles."tcp+tls"]
  60. # P2P accept addresses the instance listens on for inbound connections
  61. inbound = ["tcp+tls://0.0.0.0:48440"]
  62. # Peer nodes to manually connect to
  63. peers = ["tcp+tls://0.0.0.0:48340"]