Skip to content

net: emit per-item getdata wtx log at TRACE - #163

Merged
reardencode merged 1 commit into
masterfrom
net/getdata-trace
Aug 20, 2026
Merged

net: emit per-item getdata wtx log at TRACE#163
reardencode merged 1 commit into
masterfrom
net/getdata-trace

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

One DEBUG line per peer MSG_WTX getdata is too noisy on tip-follow. Emit at TRACE. Counts stay on tip: perf.

Core p2p_blocksonly.py still greps received getdata for: wtx in debug.log. TestNode always passes -debug and -loglevel=trace; the bitcoind shim now takes the more verbose of those (--log-level trace) so the needle still appears.

Test

  • cargo test -p rbitcoin-net core_log_helpers_match_step21_needles
  • scripts/core-functional/bitcoind.test.sh (-debug -loglevel=trace--log-level trace)

Label core-functional so p2p_blocksonly runs.

One DEBUG line per peer MSG_WTX getdata drowns tip-follow logs. Counts
stay on tip: perf. The bitcoind shim maps Core TestNode -loglevel=trace
to --log-level trace so p2p_blocksonly still sees the debug.log needle.
@rearden-grok rearden-grok Bot added the core-functional Run Core functional nightly.sh on this PR (inventory + release-pin warn) label Aug 20, 2026
@reardencode
reardencode merged commit 42a8445 into master Aug 20, 2026
16 of 17 checks passed
@rearden-grok
rearden-grok Bot deleted the net/getdata-trace branch August 20, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core-functional Run Core functional nightly.sh on this PR (inventory + release-pin warn)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant