From 1a568deacbb3bbcd65fd092fcd4c20b14ffa6a26 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Thu, 8 Dec 2022 09:56:20 +0100 Subject: Cache successful `verRctNonSemanticsSimple` calls --- src/ringct/rctSigs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ringct/rctSigs.h') diff --git a/src/ringct/rctSigs.h b/src/ringct/rctSigs.h index 17cfd77b9..18c7e5fe6 100644 --- a/src/ringct/rctSigs.h +++ b/src/ringct/rctSigs.h @@ -132,6 +132,7 @@ namespace rct { bool verRctSemanticsSimple(const rctSig & rv); bool verRctSemanticsSimple(const std::vector & rv); bool verRctNonSemanticsSimple(const rctSig & rv); + bool verRctNonSemanticsSimpleCached(const rctSig & rv); static inline bool verRctSimple(const rctSig & rv) { return verRctSemanticsSimple(rv) && verRctNonSemanticsSimple(rv); } xmr_amount decodeRct(const rctSig & rv, const key & sk, unsigned int i, key & mask, hw::device &hwdev); xmr_amount decodeRct(const rctSig & rv, const key & sk, unsigned int i, hw::device &hwdev); -- cgit v1.2.3