| 122 | typedef indexed_modified_transaction_set::index<confidential_score>::type::iterator modconftxscoreiter; // ELEMENTS |
| 123 | |
| 124 | struct update_for_parent_inclusion |
| 125 | { |
| 126 | explicit update_for_parent_inclusion(CTxMemPool::txiter it) : iter(it) {} |
| 127 | |
| 128 | void operator() (CTxMemPoolModifiedEntry &e) |
| 129 | { |
| 130 | e.nModFeesWithAncestors -= iter->GetFee(); |
| 131 | e.nSizeWithAncestors -= iter->GetTxSize(); |
| 132 | e.discountSizeWithAncestors -= iter->GetDiscountTxSize(); |
| 133 | e.nSigOpCostWithAncestors -= iter->GetSigOpCost(); |
| 134 | } |
| 135 | |
| 136 | CTxMemPool::txiter iter; |
| 137 | }; |
| 138 | |
| 139 | /** Generate a new block, without valid proof-of-work */ |
| 140 | class BlockAssembler |
no outgoing calls
no test coverage detected