@ -737,7 +737,7 @@ public:
CPubKey GenerateNewKey ( ) ;
CPubKey GenerateNewKey ( ) ;
void DeriveNewChildKey ( CKeyMetadata & metadata , CKey & secret ) ;
void DeriveNewChildKey ( CKeyMetadata & metadata , CKey & secret ) ;
//! Adds a key to the store, and saves it to disk.
//! Adds a key to the store, and saves it to disk.
bool AddKeyPubKey ( const CKey & key , const CPubKey & pubkey ) ;
bool AddKeyPubKey ( const CKey & key , const CPubKey & pubkey ) override ;
//! Adds a key to the store, without saving it to disk (used by LoadWallet)
//! Adds a key to the store, without saving it to disk (used by LoadWallet)
bool LoadKey ( const CKey & key , const CPubKey & pubkey ) { return CCryptoKeyStore : : AddKeyPubKey ( key , pubkey ) ; }
bool LoadKey ( const CKey & key , const CPubKey & pubkey ) { return CCryptoKeyStore : : AddKeyPubKey ( key , pubkey ) ; }
//! Load metadata (used by LoadWallet)
//! Load metadata (used by LoadWallet)
@ -747,10 +747,10 @@ public:
void UpdateTimeFirstKey ( int64_t nCreateTime ) ;
void UpdateTimeFirstKey ( int64_t nCreateTime ) ;
//! Adds an encrypted key to the store, and saves it to disk.
//! Adds an encrypted key to the store, and saves it to disk.
bool AddCryptedKey ( const CPubKey & vchPubKey , const std : : vector < unsigned char > & vchCryptedSecret ) ;
bool AddCryptedKey ( const CPubKey & vchPubKey , const std : : vector < unsigned char > & vchCryptedSecret ) override ;
//! Adds an encrypted key to the store, without saving it to disk (used by LoadWallet)
//! Adds an encrypted key to the store, without saving it to disk (used by LoadWallet)
bool LoadCryptedKey ( const CPubKey & vchPubKey , const std : : vector < unsigned char > & vchCryptedSecret ) ;
bool LoadCryptedKey ( const CPubKey & vchPubKey , const std : : vector < unsigned char > & vchCryptedSecret ) ;
bool AddCScript ( const CScript & redeemScript ) ;
bool AddCScript ( const CScript & redeemScript ) override ;
bool LoadCScript ( const CScript & redeemScript ) ;
bool LoadCScript ( const CScript & redeemScript ) ;
//! Adds a destination data tuple to the store, and saves it to disk
//! Adds a destination data tuple to the store, and saves it to disk
@ -764,7 +764,7 @@ public:
//! Adds a watch-only address to the store, and saves it to disk.
//! Adds a watch-only address to the store, and saves it to disk.
bool AddWatchOnly ( const CScript & dest , int64_t nCreateTime ) ;
bool AddWatchOnly ( const CScript & dest , int64_t nCreateTime ) ;
bool RemoveWatchOnly ( const CScript & dest ) ;
bool RemoveWatchOnly ( const CScript & dest ) override ;
//! Adds a watch-only address to the store, without saving it to disk (used by LoadWallet)
//! Adds a watch-only address to the store, without saving it to disk (used by LoadWallet)
bool LoadWatchOnly ( const CScript & dest ) ;
bool LoadWatchOnly ( const CScript & dest ) ;
@ -786,11 +786,11 @@ public:
void MarkDirty ( ) ;
void MarkDirty ( ) ;
bool AddToWallet ( const CWalletTx & wtxIn , bool fFlushOnClose = true ) ;
bool AddToWallet ( const CWalletTx & wtxIn , bool fFlushOnClose = true ) ;
bool LoadToWallet ( const CWalletTx & wtxIn ) ;
bool LoadToWallet ( const CWalletTx & wtxIn ) ;
void SyncTransaction ( const CTransaction & tx , const CBlockIndex * pindex , int posInBlock ) ;
void SyncTransaction ( const CTransaction & tx , const CBlockIndex * pindex , int posInBlock ) override ;
bool AddToWalletIfInvolvingMe ( const CTransaction & tx , const CBlockIndex * pIndex , int posInBlock , bool fUpdate ) ;
bool AddToWalletIfInvolvingMe ( const CTransaction & tx , const CBlockIndex * pIndex , int posInBlock , bool fUpdate ) ;
int ScanForWalletTransactions ( CBlockIndex * pindexStart , bool fUpdate = false ) ;
int ScanForWalletTransactions ( CBlockIndex * pindexStart , bool fUpdate = false ) ;
void ReacceptWalletTransactions ( ) ;
void ReacceptWalletTransactions ( ) ;
void ResendWalletTransactions ( int64_t nBestBlockTime , CConnman * connman ) ;
void ResendWalletTransactions ( int64_t nBestBlockTime , CConnman * connman ) override ;
std : : vector < uint256 > ResendWalletTransactionsBefore ( int64_t nTime , CConnman * connman ) ;
std : : vector < uint256 > ResendWalletTransactionsBefore ( int64_t nTime , CConnman * connman ) ;
CAmount GetBalance ( ) const ;
CAmount GetBalance ( ) const ;
CAmount GetUnconfirmedBalance ( ) const ;
CAmount GetUnconfirmedBalance ( ) const ;
@ -872,7 +872,7 @@ public:
bool IsAllFromMe ( const CTransaction & tx , const isminefilter & filter ) const ;
bool IsAllFromMe ( const CTransaction & tx , const isminefilter & filter ) const ;
CAmount GetCredit ( const CTransaction & tx , const isminefilter & filter ) const ;
CAmount GetCredit ( const CTransaction & tx , const isminefilter & filter ) const ;
CAmount GetChange ( const CTransaction & tx ) const ;
CAmount GetChange ( const CTransaction & tx ) const ;
void SetBestChain ( const CBlockLocator & loc ) ;
void SetBestChain ( const CBlockLocator & loc ) override ;
DBErrors LoadWallet ( bool & fFirstRunRet ) ;
DBErrors LoadWallet ( bool & fFirstRunRet ) ;
DBErrors ZapWalletTx ( std : : vector < CWalletTx > & vWtx ) ;
DBErrors ZapWalletTx ( std : : vector < CWalletTx > & vWtx ) ;
@ -882,9 +882,9 @@ public:
bool DelAddressBook ( const CTxDestination & address ) ;
bool DelAddressBook ( const CTxDestination & address ) ;
void UpdatedTransaction ( const uint256 & hashTx ) ;
void UpdatedTransaction ( const uint256 & hashTx ) override ;
void Inventory ( const uint256 & hash )
void Inventory ( const uint256 & hash ) override
{
{
{
{
LOCK ( cs_wallet ) ;
LOCK ( cs_wallet ) ;
@ -894,8 +894,8 @@ public:
}
}
}
}
void GetScriptForMining ( boost : : shared_ptr < CReserveScript > & script ) ;
void GetScriptForMining ( boost : : shared_ptr < CReserveScript > & script ) override ;
void ResetRequestCount ( const uint256 & hash )
void ResetRequestCount ( const uint256 & hash ) override
{
{
LOCK ( cs_wallet ) ;
LOCK ( cs_wallet ) ;
mapRequestCount [ hash ] = 0 ;
mapRequestCount [ hash ] = 0 ;