16 const std::vector<uint8_t> script_bytes = [&] {
23 return std::vector<uint8_t>();
26 const CScript script(script_bytes.begin(), script_bytes.end());
28 std::vector<std::vector<unsigned char>> stack;
Serialized script, used inside transaction inputs and outputs.
std::vector< T > ConsumeRemainingBytes()
bool EvalScript(std::vector< std::vector< unsigned char > > &stack, const CScript &script, unsigned int flags, const BaseSignatureChecker &checker, SigVersion sigversion, ScriptExecutionData &execdata, ScriptError *serror)
@ BASE
Bare scripts and BIP16 P2SH-wrapped redeemscripts.
@ WITNESS_V0
Witness v0 (P2WPKH and P2WSH); see BIP 141.