| 2552 | } |
| 2553 | |
| 2554 | void CWallet::MarkDestinationsDirty(const std::set<CTxDestination>& destinations) { |
| 2555 | for (auto& entry : mapWallet) { |
| 2556 | CWalletTx& wtx = entry.second; |
| 2557 | if (wtx.m_is_cache_empty) continue; |
| 2558 | for (unsigned int i = 0; i < wtx.tx->vout.size(); i++) { |
| 2559 | CTxDestination dst; |
| 2560 | if (ExtractDestination(wtx.tx->vout[i].scriptPubKey, dst) && destinations.count(dst)) { |
| 2561 | wtx.MarkDirty(*this); |
| 2562 | break; |
| 2563 | } |
| 2564 | } |
| 2565 | } |
| 2566 | } |
| 2567 | |
| 2568 | std::set<CTxDestination> CWallet::GetLabelAddresses(const std::string& label) const |
| 2569 | { |
nothing calls this directly
no test coverage detected