-
Notifications
You must be signed in to change notification settings - Fork 707
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
Get rid of Consensus #2894
Comments
I think we should first fix all consensus tests and do other clean-ups first, otherwise it's going to be very hard to resolve the conflicts with this proposed refactoring. Also, the use of async and the fact that "consensus" doesn't do much besides managing graph, is not a big problem right now, so it could be done for the next testnet? |
Yes let's keep it for testnet 15. Together with #2895 |
I still don't think "graph" is a good module name, there are graphs in other places, and it does not reflect what's going on inside... so why no going for "consensus" or "blockclique" or "Nakamoto" or "clique" or "bestclique" ? |
because this module does all the block graph handling (dependency tree resolution AND graph storage AND compatibility graph computation AND clique computations AND nakamoto) but doesn't do all the consensus (the final state/ledger is also part of the consensus but is not handled by this module) |
Actually after thinking more about it I think you're right @sebastien-forestier , "consensus" sounds better :) |
Done in #3162 |
Rationale
Since the refactoring, block production, operation management etc... were all removed from Consensus.
Consensus now only manages the block graph, ticks for the block graph, and communication between graph and other modules.
It also uses async for no good reason.
TODO in this PR
The text was updated successfully, but these errors were encountered: