| 250 | } |
| 251 | |
| 252 | void CTxMemPool::UpdateEntryForAncestors(txiter it, const setEntries &setAncestors) |
| 253 | { |
| 254 | int64_t updateCount = setAncestors.size(); |
| 255 | int64_t updateSize = 0; |
| 256 | CAmount updateFee = 0; |
| 257 | int64_t updateSigOpsCost = 0; |
| 258 | for (txiter ancestorIt : setAncestors) { |
| 259 | updateSize += ancestorIt->GetTxSize(); |
| 260 | updateFee += ancestorIt->GetModifiedFee(); |
| 261 | updateSigOpsCost += ancestorIt->GetSigOpCost(); |
| 262 | } |
| 263 | mapTx.modify(it, update_ancestor_state(updateSize, updateFee, updateCount, updateSigOpsCost)); |
| 264 | } |
| 265 | |
| 266 | void CTxMemPool::UpdateChildrenForRemoval(txiter it) |
| 267 | { |
nothing calls this directly
no test coverage detected