| 948 | } |
| 949 | |
| 950 | void CTxMemPool::UpdateParent(txiter entry, txiter parent, bool add) |
| 951 | { |
| 952 | setEntries s; |
| 953 | if (add && mapLinks[entry].parents.insert(parent).second) { |
| 954 | cachedInnerUsage += memusage::IncrementalDynamicUsage(s); |
| 955 | } else if (!add && mapLinks[entry].parents.erase(parent)) { |
| 956 | cachedInnerUsage -= memusage::IncrementalDynamicUsage(s); |
| 957 | } |
| 958 | } |
| 959 | |
| 960 | const CTxMemPool::setEntries & CTxMemPool::GetMemPoolParents(txiter entry) const |
| 961 | { |
nothing calls this directly
no test coverage detected