Check pblocktree
This commit is contained in:
@@ -6443,6 +6443,8 @@ bool InitBlockIndex() {
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if ( pblocktree != 0 )
|
||||
{
|
||||
// Use the provided setting for -txindex in the new database
|
||||
fTxIndex = GetBoolArg("-txindex", true);
|
||||
pblocktree->WriteFlag("txindex", fTxIndex);
|
||||
@@ -6458,7 +6460,7 @@ bool InitBlockIndex() {
|
||||
pblocktree->WriteFlag("spentindex", fSpentIndex);
|
||||
fprintf(stderr,"fAddressIndex.%d/%d fSpentIndex.%d/%d\n",fAddressIndex,DEFAULT_ADDRESSINDEX,fSpentIndex,DEFAULT_SPENTINDEX);
|
||||
LogPrintf("Initializing databases...\n");
|
||||
|
||||
}
|
||||
// Only add the genesis block if not reindexing (in which case we reuse the one already on disk)
|
||||
if (!fReindex) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user