Building on #19590 and the recent wtxid
and GenTxid
changes, this is a refactoring and cleanup PR to simplify and improve some of the net processing code.
Some of the diffs are best reviewed with -w
to ignore spacing.
Co-authored by John Newbery.