dchat4.toml 692 B

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