Extract some common code into HaveOrphanTx function.
Extract some common code into AddChildrenToWorkSet function. (It's a hard knock life)
EraseOrphansFor was called both with and without g_cs_orphans held, correct that so that it's always called with it already held. LimitOrphanTxSize was always called with g_cs_orphans held, so add annotations and don't lock it a second time.
This module captures orphan tracking code for tx relay. Can be reviewed with --color-moved=dimmed-zebra