Skip to content

fuzz: fix wallet notifications.cpp - #27786

Merged
fanquake merged 1 commit into
bitcoin:masterfrom
furszy:2023_fuzz_fix_wallet_notifications
May 31, 2023
Merged

fanquake merged 1 commit into
bitcoin:masterfrom
furszy:2023_fuzz_fix_wallet_notifications

Conversation

@furszy

@furszy furszy commented May 30, 2023 •

Copy link
Copy Markdown
Member

Fixing #27469 (comment).

As the fuzzing test requires all blocks to be scanned by the wallet
(because it is asserting the wallet balance at the end), we need to
ensure that no blocks are skipped by the recently added wallet
birth time functionality.

This just means setting the chain accumulated time to the maximum
value, so the wallet birth time is always below it, and the block is
always processed by the wallet.

As the fuzzer test requires all blocks to be
scanned by the wallet (because it is asserting
the wallet balance at the end), we need to
ensure that no blocks are skipped by the recently
added wallet birth time functionality.

This just means setting the chain accumulated time
to the maximum value, so the wallet birth time is
always below it, and the block is always processed.
@DrahtBot

DrahtBot commented May 30, 2023 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK MarcoFalke

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@maflcko

maflcko commented May 31, 2023

Copy link
Copy Markdown
Member

lgtm ACK a10f032, thanks

@fanquake
fanquake merged commit 1b8b28d into bitcoin:master May 31, 2023
@furszy
furszy deleted the 2023_fuzz_fix_wallet_notifications branch February 3, 2024 15:40
@bitcoin bitcoin locked and limited conversation to collaborators Feb 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants