Merge pull request #2223 from gavinandresen/nonfinalnonstandard
Treat non-final transactions as non-standard
This commit is contained in:
commit
f73abdc82d
1 changed files with 3 additions and 0 deletions
|
@ -368,6 +368,9 @@ bool CTransaction::IsStandard() const
|
||||||
if (nVersion > CTransaction::CURRENT_VERSION)
|
if (nVersion > CTransaction::CURRENT_VERSION)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (!IsFinal())
|
||||||
|
return false;
|
||||||
|
|
||||||
BOOST_FOREACH(const CTxIn& txin, vin)
|
BOOST_FOREACH(const CTxIn& txin, vin)
|
||||||
{
|
{
|
||||||
// Biggest 'standard' txin is a 3-signature 3-of-3 CHECKMULTISIG
|
// Biggest 'standard' txin is a 3-signature 3-of-3 CHECKMULTISIG
|
||||||
|
|
Loading…
Add table
Reference in a new issue