Browse Source

Test

pull/4/head
jl777 7 years ago
parent
commit
eaba9a27a8
  1. 2
      src/miner.cpp
  2. 2
      src/wallet/wallet.cpp

2
src/miner.cpp

@ -670,7 +670,7 @@ void static BitcoinMiner(CWallet *pwallet)
} else Mining_start = 0;
while (true)
{
if ( ASSETCHAINS_SYMBOL[0] != 0 && pblock->vtx[0].vout.size() == 1 && Mining_height > ASSETCHAINS_MINHEIGHT )
if ( 0 && ASSETCHAINS_SYMBOL[0] != 0 && pblock->vtx[0].vout.size() == 1 && Mining_height > ASSETCHAINS_MINHEIGHT ) // skips when it shouldnt
{
fprintf(stderr,"skip generating %s on-demand block, no tx avail\n",ASSETCHAINS_SYMBOL);
sleep(10);

2
src/wallet/wallet.cpp

@ -2386,7 +2386,7 @@ bool CWallet::SelectCoinsMinConf(const CAmount& nTargetValue, int nConfMine, int
}
if ( nTotalLower > 2*nTargetValue + CENT )
{
fprintf(stderr,"why bother with all the utxo if we have double what is needed?\n");
//fprintf(stderr,"why bother with all the utxo if we have double what is needed?\n");
break;
}
}

Loading…
Cancel
Save