mzumsande
commented at 7:28 PM on March 27, 2023:
contributor
Before wiping a ChainStateManager and creating a new one, the validationinterface queue should be emptied to avoid the possibility of accessing deleted memory.
This could lead to very rare CI failures reported in #26613 and #27320 (see here for a more detailed explanation).
Thank you for fixing this! During actual node restart (which this unittest is trying to model) the validationinterface queue will of course have been flushed, so this change makes the test affected more realistic.
maflcko
commented at 7:47 AM on March 28, 2023:
member
lgtm ACKf8abcb3e3b2e731c002ec88f7559c21e26a2c079
fanquake merged this on Mar 28, 2023
fanquake closed this on Mar 28, 2023
sidhujag referenced this in commit 6aa17fe6c3 on Mar 28, 2023
mzumsande deleted the branch on May 4, 2023
Fabcien referenced this in commit 540195703a on Dec 14, 2023
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-17 03:13 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me