diff --git a/src/avalanche/proof.h b/src/avalanche/proof.h --- a/src/avalanche/proof.h +++ b/src/avalanche/proof.h @@ -15,6 +15,8 @@ #include #include +class CCoinsView; + namespace avalanche { class ProofValidationState; @@ -126,6 +128,7 @@ uint32_t getScore() const; bool verify(ProofValidationState &state) const; + bool verify(ProofValidationState &state, const CCoinsView &view) const; }; } // namespace avalanche diff --git a/src/avalanche/proof.cpp b/src/avalanche/proof.cpp --- a/src/avalanche/proof.cpp +++ b/src/avalanche/proof.cpp @@ -5,8 +5,9 @@ #include #include -#include // For SaltedOutpointHasher +#include #include +#include