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

Added bls aggregate sig check for block validation #371

Merged
merged 3 commits into from
Apr 24, 2020
Merged

Conversation

dutterbutter
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Added get_bls_public_key method
  • Added the block message check verifying bls aggregate

Reference issue to close (if applicable)

Closes #215

Other information and links

@@ -83,4 +83,17 @@ where
))
}
}
/// Returns a bls public key from provided address
pub fn get_bls_public_key(&self, addr: &Address, state_cid: &Cid) -> Result<Vec<u8>, Error> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a note that the public key should probably be an array (I'll make a pass through the Address crate soon I guess)

@dutterbutter dutterbutter merged commit 1648353 into master Apr 24, 2020
@dutterbutter dutterbutter deleted the db/bls-pk branch April 24, 2020 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Retrieve BLS Public Key
3 participants