darkfid2.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. # JSON-RPC listen URL
  9. rpc_listen = "tcp://127.0.0.1:48540"
  10. # Blockchain network to use
  11. network = "localnet"
  12. # Localnet blockchain network configuration
  13. [network_config."localnet"]
  14. # Path to the blockchain database directory
  15. database = "darkfid2"
  16. # Finalization threshold, denominated by number of blocks
  17. threshold = 3
  18. # PoW block production target, in seconds
  19. pow_target = 20
  20. # Participate in block production
  21. miner = false
  22. # Skip syncing process and start node right away
  23. skip_sync = false
  24. ## Localnet sync P2P network settings
  25. [network_config."localnet".sync_net]
  26. # P2P accept addresses the instance listens on for inbound connections
  27. inbound = ["tcp+tls://0.0.0.0:48442"]
  28. # Whitelisted network transports for outbound connections
  29. allowed_transports = ["tcp+tls"]
  30. # Peer nodes to manually connect to
  31. peers = ["tcp+tls://0.0.0.0:48242", "tcp+tls://0.0.0.0:48342"]
  32. # Allow localnet hosts
  33. localnet = true