Skip to content

Commit 01940eb

Browse files
committed
Remove privateness of thin node
1 parent 6783bf6 commit 01940eb

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ echo-android:
99

1010
run-main:
1111
go install github.com/wailsapp/wails/v2/cmd/wails@v2.10.2
12-
cd cmd/node/member && wails build -m -nosyncgomod -devtools -tags webkit2_41 && GOLOG_LOG_LEVEL="swarm2=debug,autorelay=debug,relay=debug" ./build/bin/warpnet --node.network testnet
12+
cd cmd/node/member && wails build -m -nosyncgomod -devtools -tags webkit2_41 && ./build/bin/warpnet --node.network testnet
1313

1414
run-second:
1515
cd cmd/node/member && wails build -m -nosyncgomod -devtools -tags webkit2_41 && ./build/bin/warpnet --node.network testnet --node.port 4002 --node.seed backendtest --database.dir backend1
@@ -65,8 +65,10 @@ download-golang-armv6:
6565
gen-aar:
6666
cd warpdroid/node && ./build-native.sh && cd -
6767

68-
.PHONY: generate
69-
generate:
68+
.PHONY: frontend
69+
frontend:
7070
cd frontend && make rebuild && cd -
71+
72+
aar:
7173
cd warpdroid && make aar && cd -
72-
go mod tidy && go mod vendor
74+
go mod tidy && go mod vendor

warpdroid/node/node.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ func newClient(
166166
libp2p.Security(noise.ID, noise.New), // Noise protocol for encryption
167167
libp2p.Transport(camouflage.NewCamouflageTransport), // TCP transport
168168
libp2p.UserAgent("warpdroid"), // Custom user agent
169-
libp2p.ForceReachabilityPrivate(),
170169
libp2p.Muxer(yamux.ID, ya),
171170
libp2p.ConnectionManager(connManager),
172171
libp2p.ResourceManager(rm),
-1.14 KB
Binary file not shown.

0 commit comments

Comments
 (0)