mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Add IsPayToWitnessPubkeyHash convenience function
This commit is contained in:
parent
1241343bd5
commit
71acfb359b
2 changed files with 8 additions and 0 deletions
|
|
@ -538,6 +538,7 @@ public:
|
|||
unsigned int GetSigOpCount(const CScript& scriptSig) const;
|
||||
|
||||
bool IsPayToPubkeyHash() const;
|
||||
bool IsPayToWitnessPubkeyHash() const;
|
||||
bool IsPayToScriptHash() const;
|
||||
bool IsPayToWitnessScriptHash() const;
|
||||
bool IsWitnessProgram(int& version, std::vector<unsigned char>& program) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue