-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integration of DHT middleware with comms and domain
This PR uses the middlewares in #790 and #791. Unfortunately a lot had to change in order to implement the middleware architecture, this PR contains those changes. - Big refactor of messages being passed around (comms-level and dht-level messages) - OMS is responsible for signing comms-level header for peers - DHT is responsible for signing dht-level header - Pulled out middleware from comms (replaced with inbound and outbound mpsc channel) - Moved domain-level middleware into tari_p2p - Moved DHT-level middleware from tari_middleware to tari_middleware_dht - Bug fix for OMS exponential backoff - Setup DHT module in tari_p2p initialize_comms - Moved broadcast strategy into dht - Updated pingpong example
- Loading branch information
Showing
89 changed files
with
2,344 additions
and
3,197 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
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.