dchat3.toml 673 B

12345678910111213141516171819202122232425262728
  1. # dchat toml
  2. ## JSON-RPC settings
  3. [rpc]
  4. ## JSON-RPC listen URL
  5. rpc_listen = "tcp://127.0.0.1:53345"
  6. ## Disabled RPC methods
  7. rpc_disabled_methods = ["p2p.get_info"]
  8. [net]
  9. ## P2P accept addresses Required for inbound nodes.
  10. inbound=["tcp://127.0.0.1:33448"]
  11. ## P2P external addresses. Required for inbound nodes.
  12. external_addrs=["tcp://127.0.0.1:33448"]
  13. ## Seed nodes to connect to. Required for inbound and outbound nodes.
  14. seeds=["tcp://127.0.0.1:44448"]
  15. ## Outbound connect slots. Required for outbound nodes.
  16. outbound_connections = 5
  17. # Prefered transports for outbound connections
  18. allowed_transports = ["tcp"]
  19. # Set to true if testing on localhost
  20. localnet = true