| 45 | }; |
| 46 | |
| 47 | struct update_ancestor_state |
| 48 | { |
| 49 | update_ancestor_state(int64_t _modifySize, CAmount _modifyFee, int64_t _modifyCount, int64_t _modifySigOpsCost, int64_t _discountSize) : |
| 50 | modifySize(_modifySize), modifyFee(_modifyFee), modifyCount(_modifyCount), modifySigOpsCost(_modifySigOpsCost), |
| 51 | discountSize(_discountSize) |
| 52 | {} |
| 53 | |
| 54 | void operator() (CTxMemPoolEntry &e) |
| 55 | { e.UpdateAncestorState(modifySize, modifyFee, modifyCount, modifySigOpsCost, discountSize); } |
| 56 | |
| 57 | private: |
| 58 | int64_t modifySize; |
| 59 | CAmount modifyFee; |
| 60 | int64_t modifyCount; |
| 61 | int64_t modifySigOpsCost; |
| 62 | int64_t discountSize; |
| 63 | }; |
| 64 | |
| 65 | bool TestLockPointValidity(CChain& active_chain, const LockPoints& lp) |
| 66 | { |
no outgoing calls
no test coverage detected