Merge #7648: BIP9 versionbits softfork for BIP68, BIP112 and BIP113
71527a0Test of BIP9 fork activation of mtp, csv, sequence_lock (NicolasDorier)19d73d5Add RPC test for BIP 68/112/113 soft fork. (Alex Morcos)12c89c9Policy: allow transaction version 2 relay policy. (BtcDrak)02c2435Soft fork logic for BIP68 (BtcDrak)478fba6Soft fork logic for BIP113 (BtcDrak)65751a3Add CHECKSEQUENCEVERIFY softfork through BIP9 (Pieter Wuille)
This commit is contained in:
@@ -55,7 +55,7 @@ bool IsStandard(const CScript& scriptPubKey, txnouttype& whichType)
|
||||
|
||||
bool IsStandardTx(const CTransaction& tx, std::string& reason)
|
||||
{
|
||||
if (tx.nVersion > CTransaction::CURRENT_VERSION || tx.nVersion < 1) {
|
||||
if (tx.nVersion > CTransaction::MAX_STANDARD_VERSION || tx.nVersion < 1) {
|
||||
reason = "version";
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user