Skip to content

Conversation

ivan-aksamentov
Copy link
Member

This is an idea for improving code structure in reconsensus module:

  • split away blocks requiring realignment early
  • separate logic for mutation-only reconsensus and full reconsensus

Additionally:

  • make find_majority* functions into methods of Block - they look very much like fancy accessors

This is an idea for improving code structure in reconsensus module:
 - split away blocks requiring realignment early
 - separate logic for mutation-only reconsensus and full reconsensus

Additionally:
 - make `find_majority*` functions into methods of `Block` - they look very much like fancy accessors
@ivan-aksamentov ivan-aksamentov changed the title refactor: add OrphanedNode struct refactor: reorganize reconsensus Jul 23, 2025
@ivan-aksamentov ivan-aksamentov marked this pull request as draft July 23, 2025 19:09
@ivan-aksamentov
Copy link
Member Author

Superseded by #164

@ivan-aksamentov ivan-aksamentov deleted the refactor/reconsensus branch July 25, 2025 08:05
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.

1 participant