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

Improvement: use pointers in function arguments #57

Open
jaspervdm opened this issue Jun 3, 2019 · 0 comments
Open

Improvement: use pointers in function arguments #57

jaspervdm opened this issue Jun 3, 2019 · 0 comments

Comments

@jaspervdm
Copy link
Contributor

jaspervdm commented Jun 3, 2019

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

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