Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network.send to handle sender other than message.sender #153

Closed
djrtwo opened this issue Dec 8, 2017 · 1 comment
Closed

Network.send to handle sender other than message.sender #153

djrtwo opened this issue Dec 8, 2017 · 1 comment

Comments

@djrtwo
Copy link
Collaborator

djrtwo commented Dec 8, 2017

Issue

Network.send currently assumes the sender is the message.sender when calculating the delay for receipt by the receiver. This is okay for now, but would be limiting if we modeled a Network with peers and a gossip protocol.

Proposed Implementation

  • Change Network.send function signature to (sender, receiver, message) and use the delay of delay(sender, receiver)
@naterush
Copy link
Collaborator

Closing, as networks no longer in use. This functionality is currently supported by the network delay functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants