This commit is contained in:
@@ -391,7 +391,7 @@ void *dicefinish(void *_ptr)
|
|||||||
utxos = (struct dicefinish_utxo *)calloc(vin0_needed,sizeof(*utxos));
|
utxos = (struct dicefinish_utxo *)calloc(vin0_needed,sizeof(*utxos));
|
||||||
if ( (n= dicefinish_utxosget(num,utxos,vin0_needed,coinaddr)) > 0 )
|
if ( (n= dicefinish_utxosget(num,utxos,vin0_needed,coinaddr)) > 0 )
|
||||||
{
|
{
|
||||||
fprintf(stderr,"iter.%d vin0_needed.%d got %d\n",iter,vin0_needed,n);
|
//fprintf(stderr,"iter.%d vin0_needed.%d got %d\n",iter,vin0_needed,n);
|
||||||
m = 0;
|
m = 0;
|
||||||
DL_FOREACH_SAFE(DICEFINISH_LIST,ptr,tmp)
|
DL_FOREACH_SAFE(DICEFINISH_LIST,ptr,tmp)
|
||||||
{
|
{
|
||||||
@@ -406,7 +406,7 @@ void *dicefinish(void *_ptr)
|
|||||||
if ( ptr->txid != zeroid )
|
if ( ptr->txid != zeroid )
|
||||||
{
|
{
|
||||||
CCduration(numblocks,ptr->txid);
|
CCduration(numblocks,ptr->txid);
|
||||||
fprintf(stderr,"numblocks %s %d\n",ptr->txid.GetHex().c_str(),numblocks);
|
//fprintf(stderr,"numblocks %s %d\n",ptr->txid.GetHex().c_str(),numblocks);
|
||||||
if ( numblocks > 0 )
|
if ( numblocks > 0 )
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -441,7 +441,7 @@ void *dicefinish(void *_ptr)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fprintf(stderr,"error ready.%d dicefinish %d of %d process %s %s using need %.8f finish.%s size.%d betspent.%d\n",ptr->bettxid_ready,m,n,iter<0?"loss":"win",ptr->bettxid.GetHex().c_str(),(double)(iter<0 ? 0 : ptr->winamount)/COIN,ptr->txid.GetHex().c_str(),(int32_t)ptr->rawtx.size(),dice_betspent((char *)"dicefinish",ptr->bettxid));
|
//fprintf(stderr,"error ready.%d dicefinish %d of %d process %s %s using need %.8f finish.%s size.%d betspent.%d\n",ptr->bettxid_ready,m,n,iter<0?"loss":"win",ptr->bettxid.GetHex().c_str(),(double)(iter<0 ? 0 : ptr->winamount)/COIN,ptr->txid.GetHex().c_str(),(int32_t)ptr->rawtx.size(),dice_betspent((char *)"dicefinish",ptr->bettxid));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user