darkfid1.toml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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:48440"
  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 = "darkfid1"
  16. # Finalization threshold, denominated by number of blocks
  17. threshold = 3
  18. # minerd JSON-RPC endpoint
  19. minerd_endpoint = "tcp://127.0.0.1:48567"
  20. # PoW block production target, in seconds
  21. pow_target = 20
  22. # Participate in block production
  23. miner = true
  24. # Wallet address to receive mining rewards.
  25. # This is a dummy one so the miner can start,
  26. # replace with your own one.
  27. recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U"
  28. # Skip syncing process and start node right away
  29. skip_sync = false
  30. ## Localnet sync P2P network settings
  31. [network_config."localnet".sync_net]
  32. # P2P accept addresses the instance listens on for inbound connections
  33. inbound = ["tcp+tls://0.0.0.0:48342"]
  34. # Whitelisted network transports for outbound connections
  35. allowed_transports = ["tcp+tls"]
  36. # Peer nodes to manually connect to
  37. peers = ["tcp+tls://0.0.0.0:48242"]
  38. # Allow localnet hosts
  39. localnet = true
  40. ## Localnet miners P2P network settings
  41. [network_config."localnet".miners_net]
  42. # P2P accept addresses the instance listens on for inbound connections
  43. inbound = ["tcp+tls://0.0.0.0:48341"]
  44. # Whitelisted network transports for outbound connections
  45. allowed_transports = ["tcp+tls"]
  46. # Peer nodes to manually connect to
  47. peers = ["tcp+tls://0.0.0.0:48241"]
  48. # Allow localnet hosts
  49. localnet = true