|
|
@ -736,7 +736,7 @@ bool IsStandardTx(const CTransaction& tx, string& reason, const int nHeight) |
|
|
|
if (!::IsStandard(txout.scriptPubKey, whichType)) |
|
|
|
{ |
|
|
|
reason = "scriptpubkey"; |
|
|
|
fprintf(stderr,">>>>>>>>>>>>>>> vout.%d nDataout.%d\n",v,nDataOut); |
|
|
|
//fprintf(stderr,">>>>>>>>>>>>>>> vout.%d nDataout.%d\n",v,nDataOut);
|
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
@ -1312,7 +1312,7 @@ bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransa |
|
|
|
string reason; |
|
|
|
if (Params().RequireStandard() && !IsStandardTx(tx, reason, nextBlockHeight)) |
|
|
|
{ |
|
|
|
fprintf(stderr,"AcceptToMemoryPool reject nonstandard transaction: %s\n",reason.c_str()); |
|
|
|
//fprintf(stderr,"AcceptToMemoryPool reject nonstandard transaction: %s\n",reason.c_str());
|
|
|
|
return state.DoS(0,error("AcceptToMemoryPool: nonstandard transaction: %s", reason),REJECT_NONSTANDARD, reason); |
|
|
|
} |
|
|
|
// Only accept nLockTime-using transactions that can be mined in the next
|
|
|
|