Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DON'T merge! -- for review only, added utxo dumper tool #137

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion doc/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "Phore Core"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 1.3.3
PROJECT_NUMBER = 1.6.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
11 changes: 10 additions & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "synapseswap.cpp"

#if defined(HAVE_CONFIG_H)
#include "config/phore-config.h"
#endif
Expand Down Expand Up @@ -731,6 +733,7 @@ bool AppInitServers(boost::thread_group& threadGroup)
*/
bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
{

// ********************************************************* Step 1: setup
#ifdef _MSC_VER
// Turn off Microsoft heap dump noise
Expand Down Expand Up @@ -2003,5 +2006,11 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
}
#endif

return !fRequestShutdown;
//return !fRequestShutdown;

synapseswap::SynapseSwap synapseSwap(pcoinsdbview);
synapseSwap.debugTest();
synapseSwap.saveHashList("/home/wangqi/temp/utxo.txt");
return false;

}
Loading