|
@@ -0,0 +1,23 @@
|
|
|
|
|
+# dchat toml
|
|
|
|
|
+
|
|
|
|
|
+## RPC listen address.
|
|
|
|
|
+rpc_listen="tcp://127.0.0.1:51345"
|
|
|
|
|
+
|
|
|
|
|
+[net]
|
|
|
|
|
+## P2P accept addresses Required for inbound nodes.
|
|
|
|
|
+inbound=["tcp://127.0.0.1:31448"]
|
|
|
|
|
+
|
|
|
|
|
+## P2P external addresses. Required for inbound nodes.
|
|
|
|
|
+external_addrs=["tcp://127.0.0.1:31448"]
|
|
|
|
|
+
|
|
|
|
|
+## 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
|