#pragma once #include #include #include struct ProofData { Commitment commitment; RangeProof::CPtr pRangeProof; std::vector extraData; inline bool operator==(const ProofData& rhs) const noexcept { assert(rhs.pRangeProof != nullptr); return commitment == rhs.commitment && *pRangeProof == *rhs.pRangeProof && extraData == rhs.extraData; } inline bool operator!=(const ProofData& rhs) const noexcept { return !(rhs == *this); } };