This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #400 from ipfs/feat/go-libp2p-0.16-and-sharding-co…
…nfig-option feat: go-libp2p 0.16 and autosharding
- Loading branch information
Showing
17 changed files
with
543 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"RelayV1": { | ||
"Enabled": true | ||
}, | ||
"RelayV2": { | ||
"Enabled": false | ||
}, | ||
"Network": { | ||
"ListenAddrs": ["/ip4/127.0.0.1/tcp/14111/ws"], | ||
"AnnounceAddrs": ["/ip4/127.0.0.1/tcp/14111/ws"] | ||
}, | ||
"Daemon": { | ||
"PprofPort": -1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"RelayV1": { | ||
"Enabled": false | ||
}, | ||
"RelayV2": { | ||
"Enabled": true | ||
}, | ||
"Network": { | ||
"ListenAddrs": ["/ip4/127.0.0.1/tcp/24222/ws"], | ||
"AnnounceAddrs": ["/ip4/127.0.0.1/tcp/24222/ws"] | ||
}, | ||
"Daemon": { | ||
"PprofPort": -1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# This script ensures go-libp2p-relay-daemon is available | ||
# for use in circuit v1 and v2 tests. | ||
|
||
set -eo pipefail | ||
|
||
if ! test -e ./go-libp2p-relay-daemon/relayd; then | ||
echo "Building ./go-libp2p-relay-daemon/relayd binary.." | ||
rm -rf ./go-libp2p-relay-daemon | ||
git clone https://github.com/libp2p/go-libp2p-relay-daemon.git | ||
cd go-libp2p-relay-daemon | ||
# no releases atm, so we pin implementation to specific commit | ||
git checkout 65211a0b6d881086feb7c386d780f55c37dff101 # 2021-11-19 | ||
go build ./... | ||
echo "./go-libp2p-relay-daemon/relayd is ready" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.