Changeset View
Changeset View
Standalone View
Standalone View
src/script/script.h
Show First 20 Lines • Show All 628 Lines • ▼ Show 20 Lines | public: | ||||
* Accurately count sigOps, including sigOps in pay-to-script-hash | * Accurately count sigOps, including sigOps in pay-to-script-hash | ||||
* transactions: | * transactions: | ||||
*/ | */ | ||||
uint32_t GetSigOpCount(uint32_t flags, const CScript &scriptSig) const; | uint32_t GetSigOpCount(uint32_t flags, const CScript &scriptSig) const; | ||||
bool IsPayToScriptHash() const; | bool IsPayToScriptHash() const; | ||||
bool IsCommitment(const std::vector<uint8_t> &data) const; | bool IsCommitment(const std::vector<uint8_t> &data) const; | ||||
bool IsWitnessProgram(int &version, std::vector<uint8_t> &program) const; | bool IsWitnessProgram(int &version, std::vector<uint8_t> &program) const; | ||||
bool IsWitnessProgram() const; | |||||
/** | /** | ||||
* Called by IsStandardTx and P2SH/BIP62 VerifyScript (which makes it | * Called by IsStandardTx and P2SH/BIP62 VerifyScript (which makes it | ||||
* consensus-critical). | * consensus-critical). | ||||
*/ | */ | ||||
bool IsPushOnly(const_iterator pc) const; | bool IsPushOnly(const_iterator pc) const; | ||||
bool IsPushOnly() const; | bool IsPushOnly() const; | ||||
Show All 26 Lines |