dhtd_config.toml 623 B

123456789101112131415161718192021222324252627282930
  1. ## dht 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. # P2P accept addresses
  9. #p2p_accept = ["tls://127.0.0.1:9541"]
  10. # P2P external addresses
  11. #p2p_external = ["tls://127.0.0.1:9541"]
  12. # Connection slots
  13. #slots = 8
  14. # Seed nodes to connect to
  15. #seed = []
  16. # Peers to connect to
  17. #peer = []
  18. ## JSON-RPC settings
  19. [rpc]
  20. # JSON-RPC listen URL
  21. rpc_listen = "tcp://127.0.0.1:9540"
  22. # Disabled RPC methods
  23. #rpc_disabled_methods = []