maflcko
commented at 1:00 PM on July 12, 2023:
member
The node in this test was never really needed, because the compatibility tests shouldn't be used to test previous releases. (The test suite of the previous release itself should be used for that). So remove it.
Also, other test changes. (See individual commits)
DrahtBot
commented at 1:00 PM on July 12, 2023:
contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
No conflicts as of last run.
DrahtBot added the label Tests on Jul 12, 2023
fanquake requested review from theStack on Jul 20, 2023
theStack
commented at 9:48 AM on July 22, 2023:
contributor
Concept ACK
Small note: regarding using clean chain in feature_txindex_compatibility.py, is there any obvious advantage of re-generating blocks on every test-run rather than simply using the pre-generated one that's shared between tests? Probably both approaches are fine, Just wondering what's our general strategy here.
maflcko
commented at 9:57 AM on July 22, 2023:
member
Good question. If the cached test blockdir is stored in XOR format (https://github.com/bitcoin/bitcoin/pull/28052), it obviously can't be read by previous tests. So I can just drop the change here, and instead defer it to the later pull. Also, it may be good to include a compat test in the later pull?
test: Use clean chain in MempoolCompatibilityTest
The test creates enough blocks itself, so there is no need to have more.
Also, remove os import.
fa7f65b0f8
maflcko force-pushed on Jul 25, 2023
test: Drop 22.x node from TxindexCompatibilityTest
* The node was only used to migrate the legacy txindex. But now that it
is known to be working and that 22.x is EOL, it can be dropped.
* Also, fix a typo to properly check the txindex of node [1], not [2].
faba4fc325
test: Add blocks_path property to TestNodefa060c15fb
Additional replacement suggestion for the scripted-diff (last commit), to also tackle chain_path + "blocks" concatenations that are done via os.path.join:
sed -i 's|].chain_path, "blocks"|].blocks_path|g' $(git grep -l chain_path)
maflcko added the label UTXO Db and Indexes on Aug 1, 2023
maflcko removed the label Tests on Aug 1, 2023
maflcko removed the label UTXO Db and Indexes on Aug 1, 2023
maflcko added the label Tests on Aug 1, 2023
fanquake merged this on Aug 1, 2023
fanquake closed this on Aug 1, 2023
maflcko
commented at 8:40 AM on August 1, 2023:
member
Looks like this was merged, so I'll submit the scripted diff in the follow-up
maflcko deleted the branch on Aug 1, 2023
maflcko
commented at 10:30 AM on August 1, 2023:
member
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-24 09:14 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me