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,
Expand description
Rewind a rangeproof to retrieve the amount, derivation path and switch commitment type