darkfid.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. # 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 = "darkfid"
  14. # Confirmation threshold, denominated by number of blocks
  15. threshold = 1
  16. # Max in-memory forks to maintain
  17. max_forks = 8
  18. # PoW block production target, in seconds
  19. pow_target = 10
  20. # Optional fixed PoW difficulty, used for testing
  21. pow_fixed_difficulty = 1
  22. # Skip syncing process and start node right away
  23. skip_sync = true
  24. # Disable transaction's fee verification, used for testing
  25. skip_fees = false
  26. # Optional sync checkpoint height
  27. #checkpoint_height = 0
  28. # Optional sync checkpoint hash
  29. #checkpoint = ""
  30. ## Localnet JSON-RPC settings
  31. [network_config."localnet".rpc]
  32. # JSON-RPC listen URL
  33. rpc_listen = "tcp://127.0.0.1:48345"
  34. # Disabled RPC methods
  35. #rpc_disabled_methods = []
  36. ## Localnet management JSON-RPC settings
  37. [network_config."localnet".management_rpc]
  38. # JSON-RPC listen URL
  39. rpc_listen = "tcp://127.0.0.1:48346"
  40. # Disabled RPC methods
  41. #rpc_disabled_methods = []
  42. ## Localnet JSON-RPC settings for stratum mining requests (optional)
  43. [network_config."localnet".stratum_rpc]
  44. # JSON-RPC listen URL (stratum mining)
  45. rpc_listen = "tcp://127.0.0.1:48347"
  46. # Disabled RPC methods (stratum mining)
  47. #rpc_disabled_methods = []
  48. ## Localnet JSON-RPC settings for p2pool merge mining requests (optional)
  49. #[network_config."localnet".mm_rpc]
  50. # JSON-RPC listen URL (merge mining)
  51. #rpc_listen = "http+tcp://127.0.0.1:48348"
  52. # Disabled RPC methods (merge mining)
  53. #rpc_disabled_methods = []
  54. ## Localnet P2P network settings
  55. [network_config."localnet".net]
  56. # Allow localnet hosts
  57. localnet = true
  58. # Whitelisted network transports for outbound connections
  59. active_profiles = ["tcp+tls"]
  60. [network_config."localnet".net.profiles."tcp+tls"]
  61. # P2P accept addresses the instance listens on for inbound connections
  62. inbound = ["tcp+tls://0.0.0.0:48340"]