Commit Graph

9 Commits

Author SHA1 Message Date
Adin Schmahmann 9eb5a88b09 feat: support decoding /p2p addresses that are encoded as CIDs 2020-08-12 02:26:28 -04:00
Adin Schmahmann 38d498d4e4 chore: bump deps go-varint and go-multihash 2020-08-11 14:48:49 -04:00
Raúl Kripalani 192ac0f7fd
absorb go-maddr-filter; rm stale Makefile targets; upgrade deps (#124) 2020-05-14 16:34:54 +01:00
dependabot-preview[bot] 57dbdc32ad
Bump github.com/multiformats/go-multihash from 0.0.10 to 0.0.13
Bumps [github.com/multiformats/go-multihash](https://github.com/multiformats/go-multihash) from 0.0.10 to 0.0.13.
- [Release notes](https://github.com/multiformats/go-multihash/releases)
- [Commits](https://github.com/multiformats/go-multihash/compare/v0.0.10...v0.0.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-04 11:19:36 +00:00
dependabot-preview[bot] afddcded5f
Bump github.com/multiformats/go-varint from 0.0.1 to 0.0.2
Bumps [github.com/multiformats/go-varint](https://github.com/multiformats/go-varint) from 0.0.1 to 0.0.2.
- [Release notes](https://github.com/multiformats/go-varint/releases)
- [Commits](https://github.com/multiformats/go-varint/compare/v0.0.1...v0.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-29 05:58:13 +00:00
dependabot-preview[bot] 3fdfdec192
Bump github.com/multiformats/go-multihash from 0.0.8 to 0.0.10
Bumps [github.com/multiformats/go-multihash](https://github.com/multiformats/go-multihash) from 0.0.8 to 0.0.10.
- [Release notes](https://github.com/multiformats/go-multihash/releases)
- [Commits](https://github.com/multiformats/go-multihash/compare/v0.0.8...v0.0.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-29 05:52:47 +00:00
Steven Allen 8af58b283a fix: minimal varint decoding
* 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`.
2019-09-19 14:43:22 -07:00
Steven Allen a088a4a5ef feat: add dns support
This is a defacto standard and is used by js-libp2p.

Ported from https://github.com/multiformats/go-multiaddr-dns/pull/17.
This was decided in https://github.com/multiformats/multiaddr/issues/22.
2019-09-18 17:13:14 -07:00
Jakub Sztandera f5b8871dd9 Add go.mod support 2019-02-25 11:53:48 +01:00