Motivation
In #28762 there were some post merge comments which are being addressed in this PR with the following commits
In #28762 there were some post merge comments which are being addressed in this PR with the following commits
MiniMinerMempoolEntry
to match the order we have elsewherecached_descendants
to descendants
for simpler variable namingThe following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
For detailed information about the code coverage, see the test coverage report.
See the guideline for information on the review process.
Type | Reviewers |
---|---|
ACK | murchandamus, theStack |
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
This diff appears to have added new lines with trailing whitespace. The following changes were suspected:
diff –git a/src/test/miniminer_tests.cpp b/src/test/miniminer_tests.cpp @@ -668,7 +667,7 @@ BOOST_FIXTURE_TEST_CASE(manual_ctor, TestChain100Setup)
miniminer_info.emplace_back(grandparent_zero_fee, /*vsize_self=*/tx_vsize,/*vsize_ancestor=*/tx_vsize, /*fee_self=*/0,/*fee_ancestor=*/0);
@@ -696 +695 @@ BOOST_FIXTURE_TEST_CASE(manual_ctor, TestChain100Setup)
// CPFP low + double low
Changes MiniMinerMempoolEntry order to match the order of the params
elsewhere in the codebase
Refactored a variable name to be less confusing
This diff appears to have added new lines with trailing whitespace. The following changes were suspected:
diff –git a/src/test/miniminer_tests.cpp b/src/test/miniminer_tests.cpp @@ -668,7 +667,7 @@ BOOST_FIXTURE_TEST_CASE(manual_ctor, TestChain100Setup)
* ``` miniminer_info.emplace_back(grandparent_zero_fee, /*vsize_self=*/tx_vsize,/*vsize_ancestor=*/tx_vsize, /*fee_self=*/0,/*fee_ancestor=*/0); ```
@@ -696 +695 @@ BOOST_FIXTURE_TEST_CASE(manual_ctor, TestChain100Setup)
* ``` // CPFP low + double low ```
137@@ -138,7 +138,7 @@ class MiniMiner
138 MiniMiner(const CTxMemPool& mempool, const std::vector<COutPoint>& outpoints);
139
140 /** Constructor in which the MiniMinerMempoolEntry entries have been constructed manually,
ACK 89c146874175f8481c59436813ccf52a177a8664
This does address the comments I left on the prior PR #28762, and the conflicting PR appears to still be a draft. Looks cleaner and easier to understand to me, but also not particularly urgent.
Trivial fix of my nit and improved formatting of the corresponding comment.
reACK b4b01d3fb42e7b688d97b75f57cfe18cfca6d943