-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add Membership Catchup Mechanism #4109
base: main
Are you sure you want to change the base?
Conversation
/// at the given block height | ||
fn get_epoch_root( | ||
&self, | ||
block_height: u64, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be epoch
rather than block_height
?
I think this is the only function in Membership
that uses block_height
currently, and I think we should be doing the conversion ourselves
use utils::anytrace::Result; | ||
|
||
use super::node_implementation::NodeType; | ||
use crate::{traits::signature_key::SignatureKey, PeerConfig}; | ||
|
||
#[async_trait] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what was the reason for removing async_trait
and returning impl Future
s?
Closes #<ISSUE_NUMBER>
This PR:
This PR does not:
Key places to review: