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

Introduce: ConsensusReactor and ConsensusBroadcaster for PBFT #1528

Closed

Conversation

riemannulus
Copy link
Member

@riemannulus riemannulus commented Oct 15, 2021

This PR introduces the consensus reactor architecture for achieving consensus, which is the basis of the PBFT implementation.

@dahlia I've to make the architecture you've mentioned but I re-design my own way. Please review carefully between ConsensusReactor and ConsensusBroadcaster

@kfangw Try to implement exactly what you're working stuff. Please review ConsensusReactor's logic and test code. If don't mind. could you propose more test code like I working on this PR?

@riemannulus riemannulus self-assigned this Oct 15, 2021
@codecov
Copy link

codecov bot commented Oct 15, 2021

Codecov Report

Merging #1528 (afb80c1) into pbft (279076d) will decrease coverage by 0.29%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             pbft    #1528      +/-   ##
==========================================
- Coverage   26.91%   26.62%   -0.30%     
==========================================
  Files         276      283       +7     
  Lines       18096    18298     +202     
==========================================
  Hits         4871     4871              
- Misses      12838    13040     +202     
  Partials      387      387              
Impacted Files Coverage Δ
Libplanet/Net/Consensus/ConsensusBroadcaster.cs 0.00% <0.00%> (ø)
Libplanet/Net/Consensus/ConsensusReactor.cs 0.00% <0.00%> (ø)
Libplanet/Net/Consensus/ConsensusState.cs 0.00% <0.00%> (ø)
Libplanet/Net/Messages/ConsensusMessage.cs 0.00% <0.00%> (ø)
Libplanet/Net/Messages/ConsensusPropose.cs 0.00% <0.00%> (ø)
Libplanet/Net/Messages/ConsensusVote.cs 0.00% <0.00%> (ø)
Libplanet/Net/Messages/ConsensusVote23.cs 0.00% <0.00%> (ø)
Libplanet/Net/Messages/Message.cs 0.00% <0.00%> (ø)
Libplanet/Net/Swarm.MessageHandlers.cs 0.00% <0.00%> (ø)
Libplanet/Net/Swarm.cs 0.00% <0.00%> (ø)

@riemannulus riemannulus linked an issue Oct 24, 2021 that may be closed by this pull request
@riemannulus riemannulus marked this pull request as ready for review October 24, 2021 19:12
@riemannulus riemannulus changed the title feat(message): draft consensus message Introduce: ConsensusReactor and ConsensusBroadcaster for PBFT Oct 24, 2021
@stale
Copy link

stale bot commented Nov 9, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale The issue is stale label Nov 9, 2021
@riemannulus
Copy link
Member Author

We don't implement PBFT now.

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

Successfully merging this pull request may close these issues.

Defining PoS Consensus Message Types
1 participant