pub struct Proof {
pub r: Vec<ProjectivePoint>,
pub x: Vec<ProjectivePoint>,
pub l: Vec<Scalar>,
pub n: Vec<Scalar>,
}Expand description
Represents weight norm linear argument proof - zk-proof of knowledge of vectors l, n that
satisfies commitment C = v*g + <h_vec, l> + <g_vec, n>, where v = |n|_{mu}^2 + <c, l>
with respect to public g, g_vec, h_vec, c
Fields§
§r: Vec<ProjectivePoint>§x: Vec<ProjectivePoint>§l: Vec<Scalar>§n: Vec<Scalar>Trait Implementations§
Source§impl From<&Proof> for SerializableProof
impl From<&Proof> for SerializableProof
Source§impl From<&SerializableProof> for Proof
impl From<&SerializableProof> for Proof
Source§fn from(value: &SerializableProof) -> Self
fn from(value: &SerializableProof) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Proof
impl RefUnwindSafe for Proof
impl Send for Proof
impl Sync for Proof
impl Unpin for Proof
impl UnwindSafe for Proof
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