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

Method CheckSig

src/script/sign.cpp:308–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306};
307
308bool SignatureExtractorChecker::CheckSig(const std::vector<unsigned char>& scriptSig, const std::vector<unsigned char>& vchPubKey, const CScript& scriptCode, SigVersion sigversion, bool no_forkid) const
309{
310 if (checker.CheckSig(scriptSig, vchPubKey, scriptCode, sigversion, no_forkid)) {
311 CPubKey pubkey(vchPubKey);
312 sigdata.signatures.emplace(pubkey.GetID(), SigPair(pubkey, scriptSig));
313 return true;
314 }
315 return false;
316}
317
318namespace
319{

Callers 1

DataFromTransactionFunction · 0.45

Calls 1

GetIDMethod · 0.80

Tested by

no test coverage detected