Some preparations before enabling -v2transport
as the default:
- Use v2 for
-connect
,-addnode
config arg and-seednode
if-v2transport
is enabled. Our peer may or may not support v2, but I don’t think an extra option is necessary for any of these (we have that for theaddnode
rpc), because we have the reconnection mechanism that will try again withv1
if our peer doesn’t supportv2
. - Add a column for the transport protocol to
-netinfo
. I added it next to thenet
column because I thought it looked nice there, but if people prefer it somewhere else I’m happy to move it.