#include "ui_interface.h"
#include "util.h"
#include "walletdb.h"
+#include "base58.h"
extern unsigned int nStakeMaxAge;
extern bool fWalletUnlockMintOnly;
bool EncryptWallet(const SecureString& strWalletPassphrase);
bool DecryptWallet(const SecureString& strWalletPassphrase);
- void GetKeyBirthTimes(std::map<CKeyID, int64_t> &mapKeyBirth) const;
+ void GetAddresses(std::map<CBitcoinAddress, int64_t> &mapAddresses) const;
/** Increment the next transaction order id
int ScanForWalletTransactions(CBlockIndex* pindexStart, bool fUpdate = false);
int ScanForWalletTransaction(const uint256& hashTx);
void ReacceptWalletTransactions();
- void ResendWalletTransactions();
+ void ResendWalletTransactions(bool fForceResend=false);
int64_t GetBalance() const;
int64_t GetWatchOnlyBalance() const;
int64_t GetUnconfirmedBalance() const;
bool GetTransaction(const uint256 &hashTx, CWalletTx& wtx);
- bool ExtractAddress(const CScript& scriptPubKey, std::string& addressRet);
+ bool ExtractAddress(const CScript& scriptPubKey, CBitcoinAddress& addressRet);
bool SetDefaultKey(const CPubKey &vchPubKey);