mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-10-06 08:19:07 +00:00
Remove QUIC listen addresses and set TCP port to 4001
This commit is contained in:
parent
7818c6a04e
commit
c0dee632a8
@ -3,7 +3,6 @@ node:
|
|||||||
type: "bootstrap"
|
type: "bootstrap"
|
||||||
listen_addresses:
|
listen_addresses:
|
||||||
- "/ip4/0.0.0.0/tcp/4001"
|
- "/ip4/0.0.0.0/tcp/4001"
|
||||||
- "/ip4/0.0.0.0/udp/4001/quic"
|
|
||||||
data_dir: "./data/bootstrap"
|
data_dir: "./data/bootstrap"
|
||||||
max_connections: 100
|
max_connections: 100
|
||||||
is_bootstrap: true
|
is_bootstrap: true
|
||||||
|
@ -2,8 +2,7 @@ node:
|
|||||||
id: "" # Auto-generated
|
id: "" # Auto-generated
|
||||||
type: "node"
|
type: "node"
|
||||||
listen_addresses:
|
listen_addresses:
|
||||||
- "/ip4/0.0.0.0/tcp/0" # Random port
|
- "/ip4/0.0.0.0/tcp/4001" # Random port
|
||||||
- "/ip4/0.0.0.0/udp/0/quic" # Random port
|
|
||||||
data_dir: "./data/node"
|
data_dir: "./data/node"
|
||||||
max_connections: 50
|
max_connections: 50
|
||||||
is_bootstrap: false
|
is_bootstrap: false
|
||||||
|
@ -93,7 +93,7 @@ func DefaultConfig() *Config {
|
|||||||
Node: NodeConfig{
|
Node: NodeConfig{
|
||||||
Type: "node",
|
Type: "node",
|
||||||
ListenAddresses: []string{
|
ListenAddresses: []string{
|
||||||
"/ip4/0.0.0.0/tcp/0", // TCP only - compatible with Anyone proxy/SOCKS5
|
"/ip4/0.0.0.0/tcp/4001", // TCP only - compatible with Anyone proxy/SOCKS5
|
||||||
},
|
},
|
||||||
DataDir: "./data",
|
DataDir: "./data",
|
||||||
MaxConnections: 50,
|
MaxConnections: 50,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user