#include "init.h"
#include "util.h"
#include "ui_interface.h"
+#include "checkpoints.h"
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/filesystem/convenience.hpp>
// Start
//
#if !defined(QT_GUI)
-#if !defined(PPCOIN_GENESIS)
int main(int argc, char* argv[])
{
bool fRet = false;
return 1;
}
#endif
-#endif
bool AppInit(int argc, char* argv[])
{
}
}
+ if (mapArgs.count("-checkpointkey")) // ppcoin: checkpoint master priv key
+ {
+ if (!Checkpoints::SetCheckpointPrivKey(GetArg("-checkpointkey", "")))
+ ThreadSafeMessageBox(_("Unable to sign checkpoint, wrong checkpointkey?\n"), _("PPCoin"), wxOK | wxMODAL);
+ }
+
//
// Start the node
//