-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update network to use async libp2p (#206)
* chore: update package.json * refactor: cleanup network.js * refactor(test): create libp2p util * refactor(test): remove pull-* usage * refactor: use async peer-id * refactor: fix peer store usage * refactor: peerbook to peerstore * refactor: clean up bitswap protocol stream creation * refactor(network): cleanup findAndConnect and await message decode * refactor(protobuf): clean up Message importing * test(protobuf): clean up Message importing * chore: use latest dht * fix: networking cleanup and add bufferlist slice * test: cleanup network tests a bit * chore: update libp2p dep * chore: fix lint * fix: check connections directly form the registrar * test: clean up gen bitswap network tests * test: bump unwant delay * test: add delay before getting block * chore: bump libp2p to latest pre release * test: add delay before stat processing * test(fix): correct libp2p datastore usage * test: listen before the event might fire * chore: remove unused deps * fix: catch errors on connection and break reading on error * chore: update multicodec dependency * chore: update to libp2p rc * chore: update libp2p to 0.27 release Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
- Loading branch information
Showing
17 changed files
with
227 additions
and
264 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
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
Oops, something went wrong.