This addresses a few remaining comments on #28196:
- Deduplicate the
V2Transport
constructors (https://github.com/bitcoin/bitcoin/pull/28196#discussion_r1318573111) - Do not use the send buffer to store garbage (https://github.com/bitcoin/bitcoin/pull/28196#discussion_r1319134141)
- Fix typo (https://github.com/bitcoin/bitcoin/pull/28196#discussion_r1315179378)
In addition, also fix an incorrect description in V2Transport::SendState
(it claimed garbage was sent in the READY
state, but it’s in the AWAITING_KEY
state).