| 119 | } |
| 120 | |
| 121 | size_t CTxMemPoolEntry::GetDiscountTxSize() const |
| 122 | { |
| 123 | // discountvsize only differs from vsize if we accept discounted CTs |
| 124 | if (Params().GetAcceptDiscountCT()) { |
| 125 | return GetDiscountVirtualTransactionSize(*tx, sigOpCost, ::nBytesPerSigOp); |
| 126 | } else { |
| 127 | return GetVirtualTransactionSize(nTxWeight, sigOpCost); |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | void CTxMemPool::UpdateForDescendants(txiter updateIt, cacheMap& cachedDescendants, |
| 132 | const std::set<uint256>& setExclude, std::set<uint256>& descendants_to_remove, |
no test coverage detected