MCPcopy Create free account
hub / github.com/LUX-Core/lux / MutableTransactionSignatureChecker

Class MutableTransactionSignatureChecker

src/script/interpreter.h:188–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186};
187
188class MutableTransactionSignatureChecker : public TransactionSignatureChecker
189{
190private:
191 const CTransaction txTo;
192
193public:
194 MutableTransactionSignatureChecker(const CMutableTransaction* txToIn, unsigned int nInIn, const CAmount& amountIn) : TransactionSignatureChecker(&txTo, nInIn, amountIn), txTo(*txToIn) {}
195};
196
197bool EvalScript(std::vector<std::vector<unsigned char> >& stack, const CScript& script, unsigned int flags, const BaseSignatureChecker& checker, SigVersion sigversion, ScriptError* error = nullptr);
198bool VerifyScript(const CScript& scriptSig, const CScript& scriptPubKey, const CScriptWitness* witness, unsigned int flags, const BaseSignatureChecker& checker, ScriptError* serror = nullptr);

Callers 7

MutateTxSignFunction · 0.85
SignatureValidMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
DoTestFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
VerifyFunction · 0.85

Calls

no outgoing calls

Tested by 5

BOOST_AUTO_TEST_CASEFunction · 0.68
DoTestFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
VerifyFunction · 0.68