pub struct Note<E: JubjubEngine> {
pub value: u64,
pub g_d: Point<E, PrimeOrder>,
pub pk_d: Point<E, PrimeOrder>,
pub r: E::Fs,
}Fields§
§value: u64The value of the note
g_d: Point<E, PrimeOrder>The diversified base of the address, GH(d)
pk_d: Point<E, PrimeOrder>The public key of the address, g_d^ivk
r: E::FsThe commitment randomness
Implementations§
Source§impl<E: JubjubEngine> Note<E>
impl<E: JubjubEngine> Note<E>
Auto Trait Implementations§
impl<E> Freeze for Note<E>
impl<E> RefUnwindSafe for Note<E>
impl<E> Send for Note<E>
impl<E> Sync for Note<E>
impl<E> Unpin for Note<E>
impl<E> UnwindSafe for Note<E>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more