-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce number of messages sent when propagating
This is a stop gap fix - the code will be simplified by ConnectivityManager. - Added `propagation_factor` (default: 0.5) to indicate what percentage of neighbours should be propagated to - If the destination is given, send to at most `num_neighbours * propagation_factor` nodes unless nodes are further away from the destination - If destination is Unknown, send to a random set of peers (either connect to a random set of peers or if we have enough peers, select randomly from peers that are already connected) - Join messages are propagated with a reduced number of messages - Updated memorynet to test network wide message propagation
- Loading branch information
Showing
4 changed files
with
281 additions
and
127 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
Oops, something went wrong.