test
This commit is contained in:
@@ -528,7 +528,8 @@ uint64_t komodo_paxprice(uint64_t *seedp,int32_t height,char *base,char *rel,uin
|
|||||||
int32_t i,nonz=0; int64_t diff; uint64_t price,seed,sum = 0;
|
int32_t i,nonz=0; int64_t diff; uint64_t price,seed,sum = 0;
|
||||||
if ( ASSETCHAINS_SYMBOL[0] == 0 && chainActive.Tip() != 0 && height > chainActive.Tip()->nHeight )
|
if ( ASSETCHAINS_SYMBOL[0] == 0 && chainActive.Tip() != 0 && height > chainActive.Tip()->nHeight )
|
||||||
{
|
{
|
||||||
printf("height.%d vs tip.%d\n",height,chainActive.Tip()->nHeight);
|
if ( height != 1381319936 )
|
||||||
|
printf("height.%d vs tip.%d\n",height,chainActive.Tip()->nHeight);
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
*seedp = komodo_seed(height);
|
*seedp = komodo_seed(height);
|
||||||
|
|||||||
@@ -627,7 +627,7 @@ void static BitcoinMiner(CWallet *pwallet)
|
|||||||
{
|
{
|
||||||
for (j=0; j<65; j++)
|
for (j=0; j<65; j++)
|
||||||
fprintf(stderr,"%d ",mids[j]);
|
fprintf(stderr,"%d ",mids[j]);
|
||||||
fprintf(stderr," <- minerids from ht.%d\n",pindexPrev->nHeight);
|
fprintf(stderr," <- prev minerids from ht.%d notary.%d\n",pindexPrev->nHeight,notaryid);
|
||||||
for (j=0; j<65; j++)
|
for (j=0; j<65; j++)
|
||||||
if ( mids[j] == notaryid )
|
if ( mids[j] == notaryid )
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user