MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / CScriptID

Class CScriptID

src/script/script.h:596–602  ·  view source on GitHub ↗

A reference to a CScript: the Hash160 of its serialization */

Source from the content-addressed store, hash-verified

594
595/** A reference to a CScript: the Hash160 of its serialization */
596class CScriptID : public BaseHash<uint160>
597{
598public:
599 CScriptID() : BaseHash() {}
600 explicit CScriptID(const CScript& in);
601 explicit CScriptID(const uint160& in) : BaseHash(in) {}
602};
603
604/** Test for OP_SUCCESSx opcodes as defined by BIP342. */
605bool IsOpSuccess(const opcodetype& opcode);

Callers 15

MigrateToDescriptorMethod · 0.85
AvailableCoinsFunction · 0.85
walletdb.cppFile · 0.85
operator()Method · 0.85
FundTransactionFunction · 0.85
MakeScriptsMethod · 0.85
MakeScriptsMethod · 0.85
MakeScriptsMethod · 0.85
AddCScriptMethod · 0.85

Calls

no outgoing calls

Tested by 4

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
TestBuilderMethod · 0.68
CheckInferDescriptorFunction · 0.68