Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[unit test] subpackage evaluation and package linearization
- package_ppfp shows benefit of assessing subpackages - package_ppfc shows that this doesn't let us do "parent pays for child;" we only do this when the individual and ancestor feerates meet mempool minimum feerate - package_needs_reorder shows necessity of linearizing using ancestor set scoring. If we used the original order, we would reject everything, even if we submit subpackages. - package_desc_limits shows that linearization can help us pick the most incentive-compatible tx to accept when transactions affect each other's eligibility (descendant package limits) - package_confirmed_parent shows benefit of treating txns-already-known as "in mempool" tx - package_with_rbf tests existing behavior that shouldn't change. Even though package RBF is not enabled, it's important that submitting a transaction as part of a package does not block it from doing a normal replacement. Otherwise we may blind ourselves to a replacement simply because it has a child and we happened to download it as a package. Co-authored-by: Andrew Chow <achow101@gmail.com>
- Loading branch information