#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
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);