rust-secp256k1-zkp icon indicating copy to clipboard operation
rust-secp256k1-zkp copied to clipboard

Improvement: use pointers in function arguments

Open jaspervdm opened this issue 5 years ago • 0 comments

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()

jaspervdm avatar Jun 03 '19 11:06 jaspervdm