dcSpark / cardano-multiplatform-lib

Rust implementation of Cardano
MIT License
98 stars 35 forks source link

Ipv6 proper text format #306

Closed rooooooooob closed 7 months ago

rooooooooob commented 7 months ago

Ipv6 before was just using the Ipv4 but extended to 16 bytes but that's not how Ipv6 addresses are represented via text.

Now the hex-format hextet format with the RFC5952 canonicization rules and shortening are used instead.

Added test cases for both Ipv4 and Ipv6