[][src]Function grin_core::libtx::proof::rewind

pub fn rewind<B>(
    secp: &Secp256k1,
    b: &B,
    commit: Commitment,
    extra_data: Option<Vec<u8>>,
    proof: RangeProof
) -> Result<Option<(u64, Identifier, SwitchCommitmentType)>, Error> where
    B: ProofBuild

Rewind a rangeproof to retrieve the amount, derivation path and switch commitment type