From 3a7db19af45b4acb4ec99cc3d198024dfbd90fa8 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Thu, 24 Oct 2019 16:39:43 -0700 Subject: [PATCH] Add some debug prints --- src/init.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index 88d8f0f51..5257040a6 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1998,6 +1998,8 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) CValidationState state; if ( !ActivateBestChain(true,state)) strErrors << "Failed to connect best block"; + } else { + fprintf(stderr,"KOMODO_REWIND < 0\n"); } std::vector vImportFiles; if (mapArgs.count("-loadblock")) @@ -2014,6 +2016,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) // ********************************************************* Step 11: start node + fprintf(stderr,"Checking disk space...\n"); if (!CheckDiskSpace()) return false; @@ -2038,6 +2041,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) if (GetBoolArg("-listenonion", DEFAULT_LISTEN_ONION)) StartTorControl(threadGroup, scheduler); + fprintf(stderr,"Starting txnotify thread\n"); StartNode(threadGroup, scheduler); #ifdef ENABLE_MINING @@ -2055,7 +2059,8 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) // ********************************************************* Step 11: finished SetRPCWarmupFinished(); - uiInterface.InitMessage(_("Done loading")); + fprintf(stderr,"RPC warmump finished\n"); + uiInterface.InitMessage(_("Done loading!")); #ifdef ENABLE_WALLET if (pwalletMain) {