| 12345678910111213141516171819202122232425262728 |
- # dchat toml
- ## JSON-RPC settings
- [rpc]
- ## JSON-RPC listen URL
- rpc_listen = "tcp://127.0.0.1:52345"
- ## Disabled RPC methods
- rpc_disabled_methods = ["p2p.get_info"]
- [net]
- ## P2P accept addresses Required for inbound nodes.
- inbound=["tcp://127.0.0.1:32448"]
- ## P2P external addresses. Required for inbound nodes.
- external_addrs=["tcp://127.0.0.1:32448"]
- ## Seed nodes to connect to. Required for inbound and outbound nodes.
- seeds=["tcp://127.0.0.1:44448"]
- ## Outbound connect slots. Required for outbound nodes.
- outbound_connections = 5
- # Prefered transports for outbound connections
- allowed_transports = ["tcp"]
- # Set to true if testing on localhost
- localnet = true
|