rust-secp256k1-zkp
rust-secp256k1-zkp copied to clipboard
Improvement: use pointers in function arguments
A lot of functions in this repository don't take pointers in their arguments but somehow also don't take ownership of the argument (due to the usage of unsafe
blocks). We should replace all these instances with pointers, so that it conforms to the regular Rust ownership rules and is clearer to use. Some examples: commit()
, bullet_proof()
, verify_bullet_proof()