| 4016 | } |
| 4017 | |
| 4018 | void CWallet::GetAllReserveKeys(std::set<CKeyID>& setAddress) const |
| 4019 | { |
| 4020 | setAddress.clear(); |
| 4021 | |
| 4022 | CWalletDB walletdb(strWalletFile); |
| 4023 | |
| 4024 | LOCK2(cs_main, cs_wallet); |
| 4025 | LoadReserveKeysToSet(setAddress, setInternalKeyPool, walletdb); |
| 4026 | LoadReserveKeysToSet(setAddress, setExternalKeyPool, walletdb); |
| 4027 | |
| 4028 | for (const CKeyID& keyID : setAddress) { |
| 4029 | if (!HaveKey(keyID)) { |
| 4030 | throw std::runtime_error(std::string(__func__) + ": unknown key in key pool"); |
| 4031 | } |
| 4032 | } |
| 4033 | } |
| 4034 | |
| 4035 | bool CWallet::UpdatedTransaction(const uint256& hashTx) |
| 4036 | { |
no test coverage detected