cuprate_helper::crypto

Function compute_zero_commitment

Source
pub fn compute_zero_commitment(amount: u64) -> EdwardsPoint
Expand description

This function computes the zero commitment given a specific amount.

It will first attempt to lookup into the table of known Pre-RCT value. Compute it otherwise.