MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / VerifySignature

Method VerifySignature

src/script/interpreter.cpp:1347–1350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1345
1346template <class T>
1347bool GenericTransactionSignatureChecker<T>::VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& pubkey, const uint256& sighash) const
1348{
1349 return pubkey.Verify(sighash, vchSig);
1350}
1351
1352template <class T>
1353bool GenericTransactionSignatureChecker<T>::CheckSig(const std::vector<unsigned char>& vchSigIn, const std::vector<unsigned char>& vchPubKey, const CScript& scriptCode, SigVersion sigversion, bool no_forkid) const

Callers

nothing calls this directly

Calls 1

VerifyMethod · 0.45

Tested by

no test coverage detected