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

[Consensus] Clean up the pending messages of the previous epoch #1612

Closed
wants to merge 1 commit into from
Closed

[Consensus] Clean up the pending messages of the previous epoch #1612

wants to merge 1 commit into from

Commits on Nov 5, 2019

  1. [Consensus] Clean up the pending messages of the previous epoch

    Summary:
    When we start a new epoch there might be still pending messages in the LibraChannel between
    networking and SMR event loop.
    In this diff we introduce a capability of cleaning up the LibraChannel from all the messages and
    use it in NetworkReceivers. (As a side effect this also gives a way to GC old keys from LibraChannel).
    
    Testing:
    Added a unit test for the LibraChannel.
    Dmitri Perelman committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    c8c9657 View commit details
    Browse the repository at this point in the history