Code cleanup
[novacoin.git] / src / qt / walletmodel.h
index 5eafe5d..99648d1 100644 (file)
@@ -102,8 +102,8 @@ public:
     bool dumpWallet(const QString &filename);
     bool importWallet(const QString &filename);
 
-    void getStakeWeight(quint64& nMinWeight, quint64& nMaxWeight, quint64& nWeight);
-    void getStakeWeightFromValue(const qint64& nTime, const qint64& nValue, quint64& nWeight);
+    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
@@ -135,6 +135,7 @@ public:
     void unlockCoin(COutPoint& output);
     void listLockedCoins(std::vector<COutPoint>& vOutpts);
     void clearOrphans();
+    CWallet* getWallet();
 
 private:
     CWallet *wallet;