[−][src]Struct grin_core::libtx::proof::LegacyProofBuilder
The legacy proof builder, used before the first hard fork
Implementations
impl<'a, K> LegacyProofBuilder<'a, K> where
K: Keychain,
[src]
K: Keychain,
Trait Implementations
impl<'a, K> Drop for LegacyProofBuilder<'a, K> where
K: Keychain,
[src]
K: Keychain,
impl<'a, K> ProofBuild for LegacyProofBuilder<'a, K> where
K: Keychain,
[src]
K: Keychain,
fn rewind_nonce(
&self,
_secp: &Secp256k1,
commit: &Commitment
) -> Result<SecretKey, Error>
[src]
&self,
_secp: &Secp256k1,
commit: &Commitment
) -> Result<SecretKey, Error>
fn private_nonce(
&self,
_secp: &Secp256k1,
commit: &Commitment
) -> Result<SecretKey, Error>
[src]
&self,
_secp: &Secp256k1,
commit: &Commitment
) -> Result<SecretKey, Error>
fn proof_message(
&self,
_secp: &Secp256k1,
id: &Identifier,
_switch: SwitchCommitmentType
) -> Result<ProofMessage, Error>
[src]
&self,
_secp: &Secp256k1,
id: &Identifier,
_switch: SwitchCommitmentType
) -> Result<ProofMessage, Error>
Message bytes: 0-3: 0 4-19: derivation path All outputs with this scheme are assumed to use regular switch commitments
fn check_output(
&self,
_secp: &Secp256k1,
commit: &Commitment,
amount: u64,
message: ProofMessage
) -> Result<Option<(Identifier, SwitchCommitmentType)>, Error>
[src]
&self,
_secp: &Secp256k1,
commit: &Commitment,
amount: u64,
message: ProofMessage
) -> Result<Option<(Identifier, SwitchCommitmentType)>, Error>
impl<'a, K> Zeroize for LegacyProofBuilder<'a, K> where
K: Keychain,
[src]
K: Keychain,
Auto Trait Implementations
impl<'a, K> RefUnwindSafe for LegacyProofBuilder<'a, K> where
K: RefUnwindSafe,
K: RefUnwindSafe,
impl<'a, K> Send for LegacyProofBuilder<'a, K>
impl<'a, K> Sync for LegacyProofBuilder<'a, K>
impl<'a, K> Unpin for LegacyProofBuilder<'a, K>
impl<'a, K> UnwindSafe for LegacyProofBuilder<'a, K> where
K: RefUnwindSafe,
K: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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> UnsafeAny for T where
T: Any,
T: Any,
impl<Z> Zeroize for Z where
Z: DefaultIsZeroes,
[src]
Z: DefaultIsZeroes,