cryptocondition transaction is standard too

This commit is contained in:
Scott Sadler
2018-02-17 02:03:34 -03:00
parent a01d0f5672
commit a99ca25a5a
4 changed files with 33 additions and 0 deletions

View File

@@ -176,6 +176,7 @@ enum opcodetype
OP_PUBKEYS = 0xfb,
OP_PUBKEYHASH = 0xfd,
OP_PUBKEY = 0xfe,
OP_CRYPTOCONDITION = 0xfc,
OP_INVALIDOPCODE = 0xff,
};
@@ -563,6 +564,7 @@ public:
unsigned int GetSigOpCount(const CScript& scriptSig) const;
bool IsPayToScriptHash() const;
bool IsPayToCryptoCondition() const;
/** Called by IsStandardTx and P2SH/BIP62 VerifyScript (which makes it consensus-critical). */
bool IsPushOnly() const;