Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Feature/ibft round change manager #393

Merged

Conversation

Errorific
Copy link
Contributor

PR description

Manager for dealing with IBFT round change messages inside a round

}

private static final Logger LOG = LogManager.getLogger();
@VisibleForTesting
Copy link
Contributor

Choose a reason for hiding this comment

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

concerned about "VisibleForTesting" on internal data, both here and above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm open to suggestions of how to test without it.


Map<ConsensusRoundIdentifier, MessageValidator> messageValidators = Maps.newHashMap();

messageValidators.put(
Copy link
Contributor

Choose a reason for hiding this comment

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

Personally, I think these can be mocked to produce required outputs.

@Errorific Errorific merged commit 6e6893c into PegaSysEng:master Dec 13, 2018
@Errorific Errorific deleted the feature/ibft_round_change_manager branch December 13, 2018 03:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants