Having /ip4 and /ip6 explicit is very useful and nice. Though there are use cases where people want to be able to represent either, such as being able to have a /dns multiaddr like:
Resolve to either ip4 or ip6 addresses, depending on the application's capabilities
/ip4/1.2.3.4/tcp/80
/ip6/aaaa::1/tcp/80
- I'm not convinced this is necessary, we can likely do without.
- But opening issue to gather thoughts
- This is also related to combinations of multiaddrs
Having
/ip4and/ip6explicit is very useful and nice. Though there are use cases where people want to be able to represent either, such as being able to have a/dnsmultiaddr like:Resolve to either ip4 or ip6 addresses, depending on the application's capabilities