#30214 (refactor: Improve assumeutxo state representation by ryanofsky)
#29418 (rpc: provide per message stats for global traffic via new RPC ‘getnetmsgstats’ by vasild)
#28792 (Embed default ASMap as binary dump header file by fjahr)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
maflcko
commented at 3:42 pm on June 27, 2025:
member
for testing, the single-check doesn’t hit here and can be quite expensive, so it could be disabled via:
0diff --git a/contrib/devtools/deterministic-fuzz-coverage/src/main.rs b/contrib/devtools/deterministic-fuzz-coverage/src/main.rs
1index 3eeb121db0..f729740a3a 100644
2--- a/contrib/devtools/deterministic-fuzz-coverage/src/main.rs
3+++ b/contrib/devtools/deterministic-fuzz-coverage/src/main.rs
4@@ -219,13 +219,6 @@ The coverage was not deterministic between runs.
5 if !entry.is_file() {
6 Err(format!("{} should be a file", entry.display()))?;
7 }
8- let cov_txt_base = run_single('a', &entry, thread_id)?;
9- let cov_txt_repeat = run_single('b', &entry, thread_id)?;
10- check_diff(
11- &cov_txt_base,
12- &cov_txt_repeat,
13- &format!("The fuzz target input was {}.", entry.display()),
14- )?;
15 Ok(())
16 };
17 thread::scope(|s| -> AppResult {
dergoegge approved
dergoegge
commented at 10:50 am on July 1, 2025:
member
utACKfa30966d7d881f5f299a531bd83a666fa15f4563
fanquake requested review from marcofleon
on Jul 1, 2025
maflcko force-pushed
on Jul 1, 2025
maflcko force-pushed
on Jul 1, 2025
maflcko
commented at 4:41 pm on July 1, 2025:
member
Apologies for the force push. However, it seems that the fuzz target actually produces valid block headers, so the chainman state is dirty and needs to be reset as well for those fuzz inputs. I’ve pushed a new commit doing this (after a rebase).
There is still non-determinism in operator==<transaction_identifier>, however I fail to see the source. I may take a look in the future.
maflcko force-pushed
on Jul 2, 2025
brunoerg approved
brunoerg
commented at 1:50 pm on July 2, 2025:
contributor
DrahtBot requested review from dergoegge
on Jul 2, 2025
marcofleon
commented at 11:50 pm on July 2, 2025:
contributor
tACKfac673d434b4d32d8c44dcc50a3655ba4a1816de
Running the stability script, there’s significantly less coverage differences with this PR. My only question is why does ResetChainman set mock time in process_messages but not in process_message? Didn’t see an obvious reason, but I could be missing something.
maflcko force-pushed
on Jul 3, 2025
maflcko
commented at 6:49 am on July 3, 2025:
member
mock time
My bad and nice catch. Added it there as well. should be trivial to re-review with range-diff
marcofleon
commented at 8:49 pm on July 3, 2025:
contributor
ReACK fa501ea5ed874ffcba2b606806460e61a1204bd2
DrahtBot requested review from brunoerg
on Jul 3, 2025
brunoerg
commented at 2:36 pm on July 10, 2025:
contributor
reACKfa501ea5ed874ffcba2b606806460e61a1204bd2
dergoegge approved
dergoegge
commented at 9:47 am on July 11, 2025:
member
utACKfa501ea5ed874ffcba2b606806460e61a1204bd2
As a follow up (if someone is interested), we could add the block hashes for the blocks with mature coinbases (as well as the mature coinbase prevouts) to the dictionary in qa-assets.
DrahtBot added the label
Needs rebase
on Jul 11, 2025
dergoegge
commented at 12:47 pm on July 17, 2025:
member
This needs a rebase, but should be good to go otherwise.
fuzz: Avoid non-determinism in process_message(s) target (PeerMan)
The PeerManager has several members, such as the FastRandomContext,
which need to be reset before every run to avoid leaking state from one
run into the next.
Also, style fixups in p2p_handshake.cpp, where this code is copied from.
fa11eea405
fuzz: Reset dirty connman state in process_message(s) targetsaeeeeec9f7
fuzz: DisableNextWrite
This is required in the process_message(s) fuzz targets to avoid leaking
the next write time from one run to the next. Also, disable it
completely because it is not needed and due to leveldb-internal
non-determinism.
fa9a3de09b
fuzz: Reset chainman state in process_message(s) targetsfa1a14a13a
maflcko force-pushed
on Jul 18, 2025
DrahtBot removed the label
Needs rebase
on Jul 18, 2025
maflcko
commented at 1:32 pm on July 18, 2025:
member
(rebased)
marcofleon
commented at 2:32 pm on July 18, 2025:
contributor
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: 2025-07-23 00:13 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me