Recently added mempool_util implementation probably evolved in parallel with the package RBF one before being submitted as part of ephemeral dust in e2e30e89ba4b9bdbcabaf5b4346610922f0728bb (related comments: #30239 (review), #31279#pullrequestreview-2445579323).
test: Deduplicate assert_mempool_contents() #31338
pull hodlinator wants to merge 1 commits into bitcoin:master from hodlinator:2024/11/dedup_assert_mempool_contents changing 1 files +2 −9-
hodlinator commented at 11:07 AM on November 21, 2024: contributor
-
a0eafc10f9
functional test: Deduplicate assert_mempool_contents()
Recently added mempool_util implementation probably evolved in parallel with the package RBF one before being submitted as part of ephemeral dust in e2e30e89ba4b9bdbcabaf5b4346610922f0728bb.
-
DrahtBot commented at 11:07 AM on November 21, 2024: contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
Code Coverage & Benchmarks
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/31338.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline for information on the review process.
Type Reviewers ACK l0rinc, theStack, instagibbs, achow101 If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
- DrahtBot added the label Tests on Nov 21, 2024
-
in test/functional/mempool_package_rbf.py:41 in a0eafc10f9
45 | - expected = [] 46 | - mempool = self.nodes[0].getrawmempool(verbose=False) 47 | - assert_equal(len(mempool), len(expected)) 48 | - for tx in expected: 49 | - assert tx.rehash() in mempool 50 | + mempool_util.assert_mempool_contents(self, self.nodes[0], expected, sync=False)
l0rinc commented at 12:02 PM on November 21, 2024:inlining
assert_mempool_contentsand removing dead code results in the exact same code as before 👍l0rinc approvedl0rinc commented at 12:02 PM on November 21, 2024: contributorACK a0eafc10f94362408f54195ffd5a9237dc1ef638
theStack approvedtheStack commented at 12:50 PM on November 21, 2024: contributorACK a0eafc10f94362408f54195ffd5a9237dc1ef638
Thanks for following up!
instagibbs commented at 7:29 PM on November 21, 2024: memberACK a0eafc10f94362408f54195ffd5a9237dc1ef638
thanks for opening this
achow101 commented at 11:16 PM on November 21, 2024: memberACK a0eafc10f94362408f54195ffd5a9237dc1ef638
achow101 merged this on Nov 22, 2024achow101 closed this on Nov 22, 2024hodlinator deleted the branch on Nov 23, 2024TheCharlatan referenced this in commit bd64a555d7 on Dec 3, 2024TheCharlatan referenced this in commit 15319cfcd5 on Dec 4, 2024stickies-v referenced this in commit f6b6da7935 on Dec 18, 2024stickies-v referenced this in commit 6816a65596 on Dec 18, 2024stickies-v referenced this in commit de777e8ed6 on Dec 18, 2024bug-castercv502 referenced this in commit c87bcd9110 on Sep 28, 2025bitcoin locked this on Nov 23, 2025
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-19 03:13 UTC
More mirrored repositories can be found on mirror.b10c.me