#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>
ThreadSafeMessageBox(_("Warning: -paytxfee is set very high. This is the transaction fee you will pay if you send a transaction."), _("PPCoin"), wxOK | wxICON_EXCLAMATION | wxMODAL);
}
+ if (mapArgs.count("-reservebalance")) // ppcoin: reserve balance amount
+ {
+ int64 nReserveBalance = 0;
+ if (!ParseMoney(mapArgs["-reservebalance"], nReserveBalance))
+ {
+ ThreadSafeMessageBox(_("Invalid amount for -reservebalance=<amount>"), _("PPCoin"), wxOK | wxMODAL);
+ return false;
+ }
+ }
+
+ 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
//