Closed garyyu closed 6 years ago
The library includes tests for the multi-party proof, see here Edit: for reference, I previously made this explanation how to generate the proof: https://i.imgur.com/s7exNSf.png
@jaspervdm more test cases has been added: https://github.com/mimblewimble/rust-secp256k1-zkp/pull/37
And one problem found: rewind_bullet_proof()
will fail on this new range proof. Any idea on rewinding?
// 5. Rewind message with same blinding factor
let commit = secp
.commit_sum(vec![partial_commit_a, partial_commit_b], vec![])
.unwrap();
let proof_info = secp.rewind_bullet_proof(
commit,
common_nonce.clone(),
Some(extra_data.to_vec()),
bullet_proof,
);
println!("proof_info after rewind: {:#?}", proof_info);
rewind_bullet_proof()
will not support at the moment. Refer to detail info in: https://github.com/mimblewimble/grin/issues/1601
Closed by #37
After adding this feature, we don't have any tests.
@jaspervdm Could you please give me some examples to use this new feature? so as me to add some tests for it.