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

VerifyBls[Single|Multi]SigRequest #32

Open
bilboquet opened this issue Jul 7, 2023 · 0 comments
Open

VerifyBls[Single|Multi]SigRequest #32

bilboquet opened this issue Jul 7, 2023 · 0 comments

Comments

@bilboquet
Copy link
Collaborator

We have chosen to not implement those abis.
Keep them here if we change our mind later.
(from massa-proto/**/abi.proto)

// BLS signature single verification request
message VerifyBlsSingleSigRequest {
  // Signature to verify
  bytes sig = 1;
  // Message to verify
  bytes message = 2;
  // Public key to verify with
  bytes pub_key = 3;
}

// BLS signature single verification result
message VerifyBlsSingleSigResult {
  // Verification result
  bool is_verified = 1;
}

// BLS signature multiple verification request
message VerifyBlsMultiSigRequest {
  // Signature to verify
  bytes sig = 1;
  // Message to verify
  bytes message = 2;
  // Public keys to verify with
  repeated bytes pub_keys = 3;
}

// BLS signature multiple verification result
message VerifyBlsMultiSigResult {
  // Verification result
  bool is_verified = 1;
}
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

No branches or pull requests

1 participant