| 135 | }; |
| 136 | |
| 137 | const CWalletTx* CWallet::GetWalletTx(const uint256& hash) const |
| 138 | { |
| 139 | LOCK(cs_wallet); |
| 140 | std::map<uint256, CWalletTx>::const_iterator it = mapWallet.find(hash); |
| 141 | if (it == mapWallet.end()) |
| 142 | return NULL; |
| 143 | return &(it->second); |
| 144 | } |
| 145 | |
| 146 | CPubKey CWallet::GenerateNewKey(uint64_t nAccountIndex, bool internal) |
| 147 | { |
no test coverage detected