Add nBillableSizeWithDescendants and nBillableSizeWithAncestors to
CTxMempoolEntry to allow CBlockAssembler to mine transactions based
on fees calculated using the billable size of a package.
Details
Details
- Reviewers
jasonbcox - Group Reviewers
Restricted Project
make check && ./test/functional/test_runner.py
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- mine-billing
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 2997 Build 4088: Bitcoin ABC Buildbot (legacy) Build 4087: arc lint + arc unit
Event Timeline
src/txmempool.cpp | ||
---|---|---|
331 ↗ | (On Diff #4359) | I noticed Amaury has been migrating code to use the more modern function-call style casting. I think it reads better, so please do that here and the line immediately above this one. Like -int64_t(removeIt->GetBillableSize()); |
397 ↗ | (On Diff #4359) | int -> int64_t |
402 ↗ | (On Diff #4359) | Nit: Looks like this should be int64_t as well? |
src/validation.h | ||
59 ↗ | (On Diff #4359) | This is per kB right? Please clarify the comment to reflect that. |
test/functional/bip68-sequence.py | ||
298 ↗ | (On Diff #4359) | Looks like this may have been dependent on your other diff. Please correct that there if it's not landed already. |