librustzcash icon indicating copy to clipboard operation
librustzcash copied to clipboard

Add a newtype for a Sapling nullifier

Open str4d opened this issue 4 years ago • 0 comments

We don't appear to have one, which has led to various parts of the codebase using either [u8; 32], Vec<u8>, or &[u8] in their APIs. We should have a struct Nullifier([u8; 32]) to ensure type safety.

str4d avatar Jan 05 '21 17:01 str4d