Skip to content

refactor(qbft): introduce QbftTypes and some function structs #431

Merged
iamquang95 merged 37 commits into
mainfrom
iamquang95/refactor-qbft
May 22, 2026
Merged

refactor(qbft): introduce QbftTypes and some function structs #431
iamquang95 merged 37 commits into
mainfrom
iamquang95/refactor-qbft

Conversation

@iamquang95
Copy link
Copy Markdown
Collaborator

@iamquang95 iamquang95 commented May 21, 2026

Part of: #393

This PR:

  • Introduce QbftTypes for QBFT associated types.
  • Replace tuple-style callbacks with typed request structs.
  • Move callback boundary types into qbft/callbacks.rs.
  • Remove broad mod.rs lint allows.

+ Send
+ Sync,
>,
pub broadcast: Box<BroadcastFn<T>>,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Excellent cleanup

Base automatically changed from iamquang95/qbft to main May 22, 2026 13:18
# Conflicts:
#	crates/core/src/qbft/fake_clock.rs
#	crates/core/src/qbft/internal_test.rs
#	crates/core/src/qbft/mod.rs
@iamquang95 iamquang95 merged commit a4792e0 into main May 22, 2026
11 checks passed
@iamquang95 iamquang95 deleted the iamquang95/refactor-qbft branch May 22, 2026 15:46
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.

3 participants