-prints
This commit is contained in:
@@ -151,7 +151,7 @@ void komodo_kvupdate(uint8_t *opretbuf,int32_t opretlen,uint64_t value)
|
|||||||
HASH_FIND(hh,KOMODO_KV,key,keylen,ptr);
|
HASH_FIND(hh,KOMODO_KV,key,keylen,ptr);
|
||||||
if ( ptr != 0 )
|
if ( ptr != 0 )
|
||||||
{
|
{
|
||||||
fprintf(stderr,"(%s) already there\n",(char *)key);
|
//fprintf(stderr,"(%s) already there\n",(char *)key);
|
||||||
//if ( (ptr->flags & KOMODO_KVPROTECTED) != 0 )
|
//if ( (ptr->flags & KOMODO_KVPROTECTED) != 0 )
|
||||||
{
|
{
|
||||||
tstr = (char *)"transfer:";
|
tstr = (char *)"transfer:";
|
||||||
|
|||||||
@@ -736,7 +736,7 @@ bool IsStandardTx(const CTransaction& tx, string& reason, const int nHeight)
|
|||||||
if (!::IsStandard(txout.scriptPubKey, whichType))
|
if (!::IsStandard(txout.scriptPubKey, whichType))
|
||||||
{
|
{
|
||||||
reason = "scriptpubkey";
|
reason = "scriptpubkey";
|
||||||
fprintf(stderr,">>>>>>>>>>>>>>> vout.%d nDataout.%d\n",v,nDataOut);
|
//fprintf(stderr,">>>>>>>>>>>>>>> vout.%d nDataout.%d\n",v,nDataOut);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1312,7 +1312,7 @@ bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransa
|
|||||||
string reason;
|
string reason;
|
||||||
if (Params().RequireStandard() && !IsStandardTx(tx, reason, nextBlockHeight))
|
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);
|
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
|
// Only accept nLockTime-using transactions that can be mined in the next
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, vector<vector<unsi
|
|||||||
// small pushdata, <= nMaxDatacarrierBytes
|
// small pushdata, <= nMaxDatacarrierBytes
|
||||||
if (vch1.size() > nMaxDatacarrierBytes)
|
if (vch1.size() > nMaxDatacarrierBytes)
|
||||||
{
|
{
|
||||||
fprintf(stderr,"size.%d > nMaxDatacarrier.%d\n",(int32_t)vch1.size(),(int32_t)nMaxDatacarrierBytes);
|
//fprintf(stderr,"size.%d > nMaxDatacarrier.%d\n",(int32_t)vch1.size(),(int32_t)nMaxDatacarrierBytes);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user