-print, auto reindex if cc state changes

This commit is contained in:
jl777
2018-08-21 07:50:49 -11:00
parent 37b14d06b5
commit 602732e3df
2 changed files with 1 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ int64_t AddFaucetInputs(struct CCcontract_info *cp,CMutableTransaction &mtx,CPub
{
txid = it->first.txhash;
vout = (int32_t)it->first.index;
char str[65]; fprintf(stderr,"check %s/v%d %.8f`\n",uint256_str(str,txid),vout,(double)it->second.satoshis/COIN);
//char str[65]; fprintf(stderr,"check %s/v%d %.8f`\n",uint256_str(str,txid),vout,(double)it->second.satoshis/COIN);
// no need to prevent dup
if ( GetTransaction(txid,vintx,hashBlock,false) != 0 )
{

View File

@@ -5319,7 +5319,6 @@ bool InitBlockIndex() {
// Initialize global variables that cannot be constructed at startup.
recentRejects.reset(new CRollingBloomFilter(120000, 0.000001));
fprintf(stderr,"InitBlockIndex called\n");
// Check whether we're already initialized
if (chainActive.Genesis() != NULL)
{