Skip to content

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

Open
iamquang95 wants to merge 6 commits into
iamquang95/qbftfrom
iamquang95/refactor-qbft
Open

refactor(qbft): introduce QbftTypes and some function structs #431
iamquang95 wants to merge 6 commits into
iamquang95/qbftfrom
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

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.

2 participants