-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial support for connecting via libp2p (#238)
* added hivemind.P2P that wraps go-libp2p * moved pythonic libp2p daemon bindings to hivemind.p2p * implemented add_unary/stream_handler API for p2p communication * added configuration options for NAT traversal and circuit relays * added functionality tests for hivemind.P2P Co-authored-by: Maxim Kashirin <[email protected]> Co-authored-by: Denis Mazur <[email protected]> Co-authored-by: Ilya Kobelev <[email protected]> Co-authored-by: Alexey Bukhtiyarov <[email protected]> Co-authored-by: Alexander Borzunov <[email protected]> Co-authored-by: Max Ryabinin <[email protected]> Co-authored-by: Michael Diskin <[email protected]>
- Loading branch information
1 parent
020c068
commit aea7a38
Showing
16 changed files
with
2,356 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,3 +78,6 @@ debian/files | |
|
||
# protobuf stuff | ||
hivemind/proto/*_pb2* | ||
|
||
# libp2p-daemon binary | ||
hivemind/hivemind_cli/p2pd |
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 @@ | ||
from hivemind.p2p.p2p_daemon import P2P |
Oops, something went wrong.