[−][src]Struct zei::core::XProofs
Proove Me Baby One More Time
Fields
range_proof: RangeProof
Proove that amounts are non zero and within range
equality_proof: EqualityProof
Proove that total amounts in-out are equal
asset_proof: BatchEqualityProof
Proove that asset types havent mixed
Methods
impl XProofs
[src]
pub fn proove(
inputs: &Vec<OpenAssetOut>,
outputs: &Vec<OpenAssetOut>
) -> Result<XProofs, ZeiError>
[src]
inputs: &Vec<OpenAssetOut>,
outputs: &Vec<OpenAssetOut>
) -> Result<XProofs, ZeiError>
Create Proofs
pub fn proove_internal(
&mut self,
inputs: &Vec<OpenAssetOut>,
outputs: &Vec<OpenAssetOut>
) -> Result<(), ZeiError>
[src]
&mut self,
inputs: &Vec<OpenAssetOut>,
outputs: &Vec<OpenAssetOut>
) -> Result<(), ZeiError>
Create Proofs
pub fn verify(
&self,
inputs: &Vec<AssetOut>,
outputs: &Vec<AssetOut>
) -> Result<(), ZeiError>
[src]
&self,
inputs: &Vec<AssetOut>,
outputs: &Vec<AssetOut>
) -> Result<(), ZeiError>
pub fn verify_step_one(
&self,
inputs: &Vec<AssetOut>,
outputs: &Vec<AssetOut>
) -> Result<(), ZeiError>
[src]
&self,
inputs: &Vec<AssetOut>,
outputs: &Vec<AssetOut>
) -> Result<(), ZeiError>
Equality Proof
pub fn verify_step_two(
&self,
inputs: &Vec<AssetOut>,
outputs: &Vec<AssetOut>
) -> Result<(), ZeiError>
[src]
&self,
inputs: &Vec<AssetOut>,
outputs: &Vec<AssetOut>
) -> Result<(), ZeiError>
Verify Batch Equality Proof
Trait Implementations
Auto Trait Implementations
impl Send for XProofs
impl Sync for XProofs
impl Unpin for XProofs
impl UnwindSafe for XProofs
impl RefUnwindSafe for XProofs
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,