| 55 | }; |
| 56 | |
| 57 | class CachingSurjectionProofChecker |
| 58 | { |
| 59 | private: |
| 60 | bool store; |
| 61 | public: |
| 62 | CachingSurjectionProofChecker(bool storeIn){ |
| 63 | store = storeIn; |
| 64 | }; |
| 65 | |
| 66 | bool VerifySurjectionProof(secp256k1_surjectionproof& proof, std::vector<secp256k1_generator>& vTags, secp256k1_generator& gen, const secp256k1_context* ctx, const uint256& wtxid) const; |
| 67 | |
| 68 | }; |
| 69 | |
| 70 | void InitRangeproofCache(); |
| 71 | void InitSurjectionproofCache(); |