| 938 | } |
| 939 | |
| 940 | void CTxMemPool::UpdateChild(txiter entry, txiter child, bool add) |
| 941 | { |
| 942 | setEntries s; |
| 943 | if (add && mapLinks[entry].children.insert(child).second) { |
| 944 | cachedInnerUsage += memusage::IncrementalDynamicUsage(s); |
| 945 | } else if (!add && mapLinks[entry].children.erase(child)) { |
| 946 | cachedInnerUsage -= memusage::IncrementalDynamicUsage(s); |
| 947 | } |
| 948 | } |
| 949 | |
| 950 | void CTxMemPool::UpdateParent(txiter entry, txiter parent, bool add) |
| 951 | { |
nothing calls this directly
no test coverage detected