X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Finit.cpp;h=8635ace96ab030dd418c2108ba37730bb707d614;hp=65386e84a1f7132a3d834e17aa58e3dc3edeb5de;hb=6a467ea5724ee2bd7a6f53af3abcc5a57effafbb;hpb=a9b672e77d90ac92e47dd67bb81aa6368259f439 diff --git a/src/init.cpp b/src/init.cpp index 65386e8..8635ace 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -585,6 +585,16 @@ bool AppInit2(int argc, char* argv[]) 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="), _("PPCoin"), wxOK | wxMODAL); + return false; + } + } + // // Start the node //