We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
commit
It's unfortunate that the BP+ API forces copies :(
There are a few ways to remove this need:
Update commit in the BP+ API to accept I: Iterator<Item=&Scalar>, then you can pass in k_i.iter().map(|k| &k.0)
I: Iterator<Item=&Scalar>
k_i.iter().map(|k| &k.0)
Or take something like
pub fn commit<S: AsRef<Scalar>>(&self, value: Scalar, blindings: &[S]) -> Result<P, ProofError>
Either way, it requires changes to the BP+ repo, which is not something we can do in this PR.
Originally posted by @CjS77 in tari-project/tari-crypto#99 (comment)
The text was updated successfully, but these errors were encountered:
See #12
Sorry, something went wrong.
No branches or pull requests
It's unfortunate that the BP+ API forces copies :(
There are a few ways to remove this need:
Update
commit
in the BP+ API to acceptI: Iterator<Item=&Scalar>
, then you can pass ink_i.iter().map(|k| &k.0)
Or take something like
Either way, it requires changes to the BP+ repo, which is not something we can do in this PR.
Originally posted by @CjS77 in tari-project/tari-crypto#99 (comment)
The text was updated successfully, but these errors were encountered: