```
It moves the RelayTransaction() function to be a member function of the PeerManager class. This is required in order to move the transaction inventory data into the Peer object, since Peer objects are only accessible from within PeerManager.
```
Backport of [[https://github.com/bitcoin/bitcoin/pull/21162 | core#21162]].