X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fwallet.h;h=775143fd96b1861282add3f7cd58711524dfb7a2;hb=b92fd202e243bf3cbb6902833d991296213b8c2f;hp=2fb41dbbd6b1bb0f1b18d855b025009ac33e4756;hpb=c9d655232500a0b4e085fb6a9cc0ba1966db027a;p=novacoin.git diff --git a/src/wallet.h b/src/wallet.h index 2fb41db..775143f 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -87,9 +87,10 @@ public: int64 GetBalance() const; int64 GetUnconfirmedBalance() const; int64 GetStake() const; + int64 GetNewMint() const; bool CreateTransaction(const std::vector >& vecSend, CWalletTx& wtxNew, CReserveKey& reservekey, int64& nFeeRet); bool CreateTransaction(CScript scriptPubKey, int64 nValue, CWalletTx& wtxNew, CReserveKey& reservekey, int64& nFeeRet); - bool CreateCoinStake(CScript scriptPubKey, CTransaction& txNew); + bool CreateCoinStake(unsigned int nBits, CTransaction& txNew); bool CommitTransaction(CWalletTx& wtxNew, CReserveKey& reservekey); bool BroadcastTransaction(CWalletTx& wtxNew); std::string SendMoney(CScript scriptPubKey, int64 nValue, CWalletTx& wtxNew, bool fAskFee=false); @@ -216,6 +217,7 @@ public: bool CheckSpentCoins(int& nMismatchSpent, int64& nBalanceInQuestion); void FixSpentCoins(int& nMismatchSpent, int64& nBalanceInQuestion); + void DisableTransaction(const CTransaction &tx); };