Update CMakeLists.txt - play with openssl
[novacoin.git] / src / qt / walletmodel.h
index f00ce70..6aeace7 100644 (file)
@@ -103,14 +103,13 @@ public:
     bool dumpWallet(const QString &filename);
     bool importWallet(const QString &filename);
 
-    void getStakeStats(float &nKernelsRate, float &nCoinDaysRate);
     void getStakeWeightFromValue(const int64_t& nTime, const int64_t& nValue, uint64_t& nWeight);
 
     // RAI object for unlocking wallet, returned by requestUnlock()
     class UnlockContext
     {
     public:
-        UnlockContext(WalletModel *wallet, bool valid, bool relock);
+        UnlockContext(WalletModel *wallet, bool valid, bool relock, bool mintflag);
         ~UnlockContext();
 
         bool isValid() const { return valid; }
@@ -122,6 +121,7 @@ public:
         WalletModel *wallet;
         bool valid;
         mutable bool relock; // mutable, as it can be set to false by copying
+        bool mintflag;
 
         void CopyFrom(const UnlockContext& rhs);
     };