X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqt%2Fwalletmodel.h;h=6aeace745e7a76a9a8a519ed163c841a7032e242;hb=a348ee6f5081803ad1ae860c29075b08d772dd08;hp=f00ce70225b3d43c07dc26247fdeffa3b2f6e52b;hpb=48564f02c4769f26295bedfc04b796246ad0d0bc;p=novacoin.git diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h index f00ce70..6aeace7 100644 --- a/src/qt/walletmodel.h +++ b/src/qt/walletmodel.h @@ -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); };