pub fn serialize_single_node_proof( proof: &PaymentProof, ) -> Result<Vec<u8>, Error>
Serialize a PaymentProof (single-node) with the version tag prefix.
PaymentProof
Returns an error if serialization fails.