The functions are extracted from the PeerManager::AddTxAnnouncement()
method so they can be reused for proofs announcements as well. They take
the InvRequestTracker as a parameter as well as a structure containing
the inventory specific parameters.
Part of T1611