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

Properly handle messages sent by ourselves #166

Open
wants to merge 2 commits into
base: unstable
Choose a base branch
from

Conversation

dknopik
Copy link
Member

@dknopik dknopik commented Mar 4, 2025

The QBFT instance needs to handle messages that it has sent. For this, it needs the signed message - for example, so that it can embed signed quorums in the round change messages.

This PR adds an optional callback mechanism to the common message sender. This is used in the QBFT instance to enqueue signed message for handling by the same instance.

While we're at it, we get rid of qbft::Message, which is no longer adequate as outgoing message type. The different variants are not treated differently at all in the current design, where we directly use SSV-specific messages.

@dknopik dknopik added the QBFT label Mar 4, 2025
@dknopik dknopik requested a review from jking-aus March 4, 2025 13:18
@dknopik dknopik added the ready-for-review This PR is ready to be reviewed label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QBFT ready-for-review This PR is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant