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 2909 Build 3922: Bitcoin ABC Buildbot (legacy) Build 3921: arc lint + arc unit
Event Timeline
src/txmempool.cpp | ||
---|---|---|
331 | 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 | int -> int64_t | |
402 | Nit: Looks like this should be int64_t as well? | |
src/validation.h | ||
59 | This is per kB right? Please clarify the comment to reflect that. | |
test/functional/bip68-sequence.py | ||
298 | Looks like this may have been dependent on your other diff. Please correct that there if it's not landed already. |