This was taken from #28031 (see #27463 for project tracking).
- Log wtxids in addition to txids when possible. This allows us to track the fate of a transaction from inv to mempool accept/reject through logs.
- Additional orphan-related logging to make testing and debugging easier. Suggested in #28031#pullrequestreview-1531022386 and #28031 (review)
- Add
TXPACKAGES
category for logging. - Move a nearby comment block that was in the wrong place.