This commit is contained in:
@@ -600,7 +600,7 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr
|
|||||||
{
|
{
|
||||||
if ( scriptbuf[len] == 'K' )
|
if ( scriptbuf[len] == 'K' )
|
||||||
{
|
{
|
||||||
fprintf(stderr,"i.%d j.%d KV OPRET len.%d %.8f\n",i,j,opretlen,dstr(value));
|
//fprintf(stderr,"i.%d j.%d KV OPRET len.%d %.8f\n",i,j,opretlen,dstr(value));
|
||||||
komodo_stateupdate(height,0,0,0,txhash,0,0,0,0,0,0,value,&scriptbuf[len],opretlen,j,zero,0);
|
komodo_stateupdate(height,0,0,0,txhash,0,0,0,0,0,0,value,&scriptbuf[len],opretlen,j,zero,0);
|
||||||
return(-1);
|
return(-1);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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:";
|
||||||
|
|||||||
@@ -1306,7 +1306,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
|
||||||
|
|||||||
Reference in New Issue
Block a user