Browse Source

Merge pull request #2223 from gavinandresen/nonfinalnonstandard

Treat non-final transactions as non-standard
0.8
Gavin Andresen 12 years ago
parent
commit
f73abdc82d
  1. 3
      src/main.cpp

3
src/main.cpp

@ -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…
Cancel
Save