Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Commit 036085e

Browse files
authored
add discovery to p2p setup, fix README (#450)
1 parent e385923 commit 036085e

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ This can also be used to upgrade the current installation to the latest release.
5151

5252
For the latest dev build use:
5353
```
54-
curl -sSL https://raw.githubusercontent.com/PrimeIntellect-ai/protocol/main/crates/worker/scripts/install.sh | bash -s -- --dev
54+
curl -sSL https://raw.githubusercontent.com/PrimeIntellect-ai/protocol/develop/crates/worker/scripts/install.sh | bash -s -- --dev
5555
```
5656

5757
## Documentation

crates/shared/src/p2p/client.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ impl P2PClient {
2828
let endpoint = Endpoint::builder()
2929
.secret_key(secret_key)
3030
.alpns(vec![PRIME_P2P_PROTOCOL.to_vec()])
31+
.discovery_n0()
3132
.bind()
3233
.await?;
3334

crates/worker/src/p2p/service.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ impl P2PService {
7676
let endpoint = Endpoint::builder()
7777
.secret_key(secret_key)
7878
.alpns(vec![PRIME_P2P_PROTOCOL.to_vec()])
79+
.discovery_n0()
7980
.bind()
8081
.await?;
8182

0 commit comments

Comments
 (0)