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

Feature/config files #117

Merged
merged 143 commits into from
Feb 17, 2020
Merged

Feature/config files #117

merged 143 commits into from
Feb 17, 2020

Conversation

jstuczyn
Copy link
Contributor

@jstuczyn jstuczyn commented Feb 5, 2020

Closes #69
Closes #26 (indirectly)
Closes #21

Now it works for anything that can be converted into String
@futurechimp futurechimp merged commit 1f06aa2 into develop Feb 17, 2020
@futurechimp futurechimp deleted the feature/config_files branch February 17, 2020 14:56
)
}

pub fn encapsulate_message<T: NymTopology>(
recipient: Destination,
message: Vec<u8>,
topology: &T,
average_delay: f64,
average_delay_duration: time::Duration,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: rename to just average_delay


pub fn sample(average_delay: f64) -> f64 {
pub fn sample_from_duration(average_duration: time::Duration) -> time::Duration {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: just call sample

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