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

Add some better status output #25

Merged
merged 1 commit into from
Sep 23, 2018
Merged

Add some better status output #25

merged 1 commit into from
Sep 23, 2018

Conversation

Vagabond
Copy link
Member

No description provided.

@@ -443,3 +445,11 @@ serialize_hbbft_data(#hbbft_data{batch_size=BatchSize,
-spec is_serialized(hbbft_data() | hbbft_serialized_data()) -> boolean().
is_serialized(Data) when is_record(Data, hbbft_serialized_data) -> true;
is_serialized(Data) when is_record(Data, hbbft_data) -> false.

group_by(Tuples) ->
Copy link
Member

Choose a reason for hiding this comment

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

Nitpicking here, move this to hbfft_utils perhaps?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm hesitant to put functions with a single callsite in a utility module. If we need it elsewhere we should move it then.

Copy link
Member

Choose a reason for hiding this comment

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

That's fair 👍

Copy link
Member

@vihu vihu left a comment

Choose a reason for hiding this comment

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

Added a comment in-line

@vihu vihu merged commit 0e6c755 into master Sep 23, 2018
@vihu vihu deleted the adt/better-stats branch September 23, 2018 19:19
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

Successfully merging this pull request may close these issues.

None yet

2 participants