Go to the source code of this file.
|
#define | stacktop(i) (stack.at(stack.size()+(i))) |
| Script is a stack machine (like Forth) that evaluates a predicate returning a bool indicating valid or not. More...
|
|
#define | altstacktop(i) (altstack.at(altstack.size()+(i))) |
|
|
typedef std::vector< unsigned char > | valtype |
|
|
bool | CastToBool (const valtype &vch) |
|
bool | CheckSignatureEncoding (const std::vector< unsigned char > &vchSig, unsigned int flags, ScriptError *serror) |
|
int | FindAndDelete (CScript &script, const CScript &b) |
|
bool | EvalScript (std::vector< std::vector< unsigned char > > &stack, const CScript &script, unsigned int flags, const BaseSignatureChecker &checker, SigVersion sigversion, ScriptError *serror) |
|
template<class T > |
uint256 | SignatureHash (const CScript &scriptCode, const T &txTo, unsigned int nIn, int nHashType, const CAmount &amount, SigVersion sigversion, const PrecomputedTransactionData *cache) |
|
bool | VerifyScript (const CScript &scriptSig, const CScript &scriptPubKey, const CScriptWitness *witness, unsigned int flags, const BaseSignatureChecker &checker, ScriptError *serror) |
|
size_t | CountWitnessSigOps (const CScript &scriptSig, const CScript &scriptPubKey, const CScriptWitness *witness, unsigned int flags) |
|
◆ altstacktop
#define altstacktop |
( |
|
i | ) |
(altstack.at(altstack.size()+(i))) |
◆ stacktop
#define stacktop |
( |
|
i | ) |
(stack.at(stack.size()+(i))) |
Script is a stack machine (like Forth) that evaluates a predicate returning a bool indicating valid or not.
There are no loops.
Definition at line 54 of file interpreter.cpp.
◆ valtype
typedef std::vector<unsigned char> valtype |
◆ CastToBool()
bool CastToBool |
( |
const valtype & |
vch | ) |
|
◆ CheckSignatureEncoding()
bool CheckSignatureEncoding |
( |
const std::vector< unsigned char > & |
vchSig, |
|
|
unsigned int |
flags, |
|
|
ScriptError * |
serror |
|
) |
| |
◆ CountWitnessSigOps()
◆ EvalScript()
◆ FindAndDelete()
◆ SignatureHash()
◆ VerifyScript()