diff --git a/src/avalanche/proof.h b/src/avalanche/proof.h --- a/src/avalanche/proof.h +++ b/src/avalanche/proof.h @@ -108,6 +108,9 @@ bool verify(ProofValidationState &state, const CCoinsView &view) const; }; +/** Decode proof from hex str, return false in case of failure. */ +bool DecodeHexProof(Proof &proof, const std::string &strHexProof); + } // namespace avalanche #endif // BITCOIN_AVALANCHE_PROOF_H diff --git a/src/avalanche/proof.cpp b/src/avalanche/proof.cpp --- a/src/avalanche/proof.cpp +++ b/src/avalanche/proof.cpp @@ -8,6 +8,8 @@ #include #include #include