| 227 | } |
| 228 | |
| 229 | void CTxMemPool::UpdateEntryForAncestors(txiter it, const setEntries &setAncestors) |
| 230 | { |
| 231 | int64_t updateCount = setAncestors.size(); |
| 232 | int64_t updateSize = 0; |
| 233 | CAmount updateFee = 0; |
| 234 | int64_t updateSigOpsCost = 0; |
| 235 | for (txiter ancestorIt : setAncestors) { |
| 236 | updateSize += ancestorIt->GetTxSize(); |
| 237 | updateFee += ancestorIt->GetModifiedFee(); |
| 238 | updateSigOpsCost += ancestorIt->GetSigOpCost(); |
| 239 | } |
| 240 | mapTx.modify(it, update_ancestor_state(updateSize, updateFee, updateCount, updateSigOpsCost)); |
| 241 | } |
| 242 | |
| 243 | void CTxMemPool::UpdateChildrenForRemoval(txiter it) |
| 244 | { |
nothing calls this directly
no test coverage detected