Repository navigation
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/34535. ReviewsSee the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste |
b403bde to
7536810
Compare
Bortlesboat
left a comment
There was a problem hiding this comment.
ACK 75368100aa36ce136039b734c317354a04ef783b. Ran wallet_assumeutxo.py locally on Ubuntu 24.04, all tests pass including the new reorg-during-background-sync test.
|
Concept ACK |
|
@b-l-u-e There are a bunch of unresolved review comments here. Can you respond to them? |
thanks for the reminder |
7536810 to
ad99afd
Compare
Bortlesboat
left a comment
There was a problem hiding this comment.
ACK ad99afd3da255703547e00f1fe8e4bd60a403c75. Re-reviewed the changes since my previous ACK 75368100aa36ce136039b734c317354a04ef783b, including the switch from removing the pruned node chain directory to the -reindex/-mocktime path and the shorter transaction confirmation timeout. Built current tip on WSL2 Ubuntu 24.04 with wallet support enabled and ran test/functional/wallet_assumeutxo.py; the test passed.
Signed-off-by: b-l-u-e <[email protected]>
ad99afd to
e42bff6
Compare
|
Comment-only on e42bff6. I don't think the new test currently guarantees that the reorg occurs while assumeutxo background validation is still in progress.
In a fresh
I also temporarily asserted So this appears to test wallet balance handling across a reorg after background validation has completed, rather than during it. Could the test arrange for background validation to remain incomplete and assert that there are still two chainstates immediately before delivering the reorg? |
|
@b-l-u-e do you want to address the most recent review comment here? |
|
This hasn't received much reviewer attention and the author has not responded in a while. Given the amount of open work, ~400 open pull requests, I'm going to close this for now. |
This PR adds a test that verifies wallet balance consistency when a chain reorg occurs while assumeutxo background validation is in progress
motivation
currently test file tests wallet functionality with snapshots but there is no test covering what happens when reorg occurs during background validation phase.
so what it tests