Currently, we use the full transaction size for a minimum fee calculation.
This commit changes the behavior to charge for the additional (minimum) of
179 bytes it would take to spend any newly created outputs.
Details
Details
make check && ./test/functional/test_runner.py --extended
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- fees
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 2717 Build 3546: Bitcoin ABC Buildbot (legacy) Build 3545: arc lint + arc unit
Event Timeline
src/txmempool.cpp | ||
---|---|---|
897 | The previous GetTxSize() cached the size internally to the mempool entry. This does not. I am curious as to if I should make the mempool entry cache this data. |
src/wallet/wallet.cpp | ||
---|---|---|
2921 ↗ | (On Diff #4155) | remove second space after // the |
src/primitives/transaction.cpp | ||
---|---|---|
114 ↗ | (On Diff #4420) | change -> charge? |