Expand description
Payment proof re-exports from ant_protocol.
Extracted to the ant_protocol crate in 0.11 so ant-client and
ant-node share one version of the serialization format. Internal
callers using crate::payment::proof::… keep working unchanged.
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.