| 42 | // ELEMENTS: |
| 43 | |
| 44 | class CachingRangeProofChecker |
| 45 | { |
| 46 | private: |
| 47 | bool store; |
| 48 | public: |
| 49 | CachingRangeProofChecker(bool storeIn){ |
| 50 | store = storeIn; |
| 51 | }; |
| 52 | |
| 53 | bool VerifyRangeProof(const std::vector<unsigned char>& vchRangeProof, const std::vector<unsigned char>& vchValueCommitment, const std::vector<unsigned char>& vchAssetCommitment, const CScript& scriptPubKey, const secp256k1_context* ctx) const; |
| 54 | |
| 55 | }; |
| 56 | |
| 57 | class CachingSurjectionProofChecker |
| 58 | { |