Page MenuHomePhabricator

Log new headers
ClosedPublic

Authored by PiRK on Nov 28 2024, 12:44.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC8f4fa769ea1d: Log new headers
Summary

Devs were suprised to realize last night that we don't have definitive logging for when a given header was first received.

This logs to the main stream when new headers are received outside of IBD, as well as when headers come in over cmpctblocks. The rationale of not hiding these under log categories is that they may be useful to have widely available when debugging strange network activity, and the marginal volume is modest.

This is a backport of core#27278
Depends on D17223

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Nov 28 2024, 12:44
This revision is now accepted and ready to land.Nov 29 2024, 09:07
This revision was automatically updated to reflect the committed changes.