Most easily reviewed with
git show --color-moved=dimmed-zebra --color-moved-ws=ignore-all-space
Co-authored-by: Ryan Ofsky <ryan@ofsky.org>
This is a partial backport of core#27596
https://github.com/bitcoin/bitcoin/pull/27596/commits/62ac519e718eb7a31dca1102a96ba219fbc7f95d
with a minor change to a log message (work, not height) from core#28562
Depends on D17898