• Steven Allen's avatar
    fix: minimal varint decoding · 8af58b28
    Steven Allen authored
    * Enforce minimal varint encoding when decoding multiaddrs.
    * Ensure codecs fit in 32bit integers for compatibility. We can increase the
    size, but we'd need to change the `Protocol.Codec` type from `int` to `uint64`.
    8af58b28
component.go 3.64 KB