... rather than requiring the public node key.
I would suggest /ip4/x.x.x.x/tcp/x instead of ip:port, so that we can be generic over the multiaddress.
I also think a warning should be printed if the user doesn't specify the public key, because when doing so you can get man-in-the-middled.
for the purposes of UI, ip:port is still king and not supporting it would just lead to more support burden.
in other words, users don't care about multiaddress. they just want to Get Things Working.
support both though, if you like.
Most helpful comment
I would suggest
/ip4/x.x.x.x/tcp/xinstead ofip:port, so that we can be generic over the multiaddress.I also think a warning should be printed if the user doesn't specify the public key, because when doing so you can get man-in-the-middled.