Skip to main content

ant_node/payment/
proof.rs

1//! Payment proof re-exports from [`ant_protocol`].
2//!
3//! Extracted to the [`ant_protocol`] crate in 0.11 so `ant-client` and
4//! `ant-node` share one version of the serialization format. Internal
5//! callers using `crate::payment::proof::…` keep working unchanged.
6
7pub use ant_protocol::payment::proof::{
8    deserialize_merkle_proof, deserialize_proof, detect_proof_type, serialize_merkle_proof,
9    serialize_single_node_proof, PaymentProof, ProofType,
10};