@@ -245,9 +245,12 @@ bool mySenddicetransaction(std::string res,uint256 entropyused,int32_t entropyvo
|
|||||||
{
|
{
|
||||||
RelayTransaction(tx);
|
RelayTransaction(tx);
|
||||||
fprintf(stderr,"rebroadcast.%c and clear [%d] and broadcast entropyused.%s bettxid.%s -> %s\n",funcid,i,entropyused.GetHex().c_str(),bettxid.GetHex().c_str(),tx.GetHash().GetHex().c_str());
|
fprintf(stderr,"rebroadcast.%c and clear [%d] and broadcast entropyused.%s bettxid.%s -> %s\n",funcid,i,entropyused.GetHex().c_str(),bettxid.GetHex().c_str(),tx.GetHash().GetHex().c_str());
|
||||||
if ( ptr->rawtx.empty() == 0 )
|
if ( ptr != 0 )
|
||||||
ptr->rawtx.clear();
|
{
|
||||||
ptr->txid = zeroid;
|
if ( ptr->rawtx.empty() == 0 )
|
||||||
|
ptr->rawtx.clear();
|
||||||
|
ptr->txid = zeroid;
|
||||||
|
}
|
||||||
//fprintf(stderr,"error adding funcid.%c E.%s bet.%s -> %s to mempool, probably Disable replacement feature size.%d\n",funcid,entropyused.GetHex().c_str(),bettxid.GetHex().c_str(),tx.GetHash().GetHex().c_str(),(int32_t)ptr->rawtx.size());
|
//fprintf(stderr,"error adding funcid.%c E.%s bet.%s -> %s to mempool, probably Disable replacement feature size.%d\n",funcid,entropyused.GetHex().c_str(),bettxid.GetHex().c_str(),tx.GetHash().GetHex().c_str(),(int32_t)ptr->rawtx.size());
|
||||||
}
|
}
|
||||||
} else fprintf(stderr,"error duplicate entropyused different bettxid\n");
|
} else fprintf(stderr,"error duplicate entropyused different bettxid\n");
|
||||||
|
|||||||
@@ -5623,9 +5623,11 @@ bool static LoadBlockIndexDB()
|
|||||||
CBlockIndex *pindex;
|
CBlockIndex *pindex;
|
||||||
if ( (pindex= chainActive.LastTip()) != 0 )
|
if ( (pindex= chainActive.LastTip()) != 0 )
|
||||||
{
|
{
|
||||||
fprintf(stderr,"set sapling height, if possible from ht.%d %u\n",(int32_t)pindex->GetHeight(),(uint32_t)pindex->nTime);
|
|
||||||
if ( ASSETCHAINS_SAPLING <= 0 )
|
if ( ASSETCHAINS_SAPLING <= 0 )
|
||||||
|
{
|
||||||
|
fprintf(stderr,"set sapling height, if possible from ht.%d %u\n",(int32_t)pindex->GetHeight(),(uint32_t)pindex->nTime);
|
||||||
komodo_activate_sapling(pindex);
|
komodo_activate_sapling(pindex);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user