Expand description
Payment proof wrapper that includes transaction hashes.
PaymentProof bundles a ProofOfPayment (quotes + peer IDs) with the
on-chain transaction hashes returned by the wallet after payment.
Structs§
- Payment
Proof - A payment proof that includes both the quote-based proof and on-chain tx hashes.
Enums§
- Proof
Type - The detected type of a payment proof.
Functions§
- deserialize_
merkle_ proof - Deserialize proof bytes as a
MerklePaymentProof. - deserialize_
proof - Deserialize proof bytes from the
PaymentProofformat (single-node). - detect_
proof_ type - Detect the proof type from the first byte (version tag).
- serialize_
merkle_ proof - Serialize a
MerklePaymentProofwith the version tag prefix. - serialize_
single_ node_ proof - Serialize a
PaymentProof(single-node) with the version tag prefix.