Commit Graph

14 Commits

Author SHA1 Message Date
Marten Seemann 1269a5877b move ResolveUnspecifiedAddress(es) here from libp2p/go-addr-util 2021-12-14 17:29:04 +04:00
Marten Seemann 940e23124a remove forced dependency on deprecated go-maddr-filter 2021-07-25 11:29:40 +02:00
Marten Seemann 9592ea17b9 fix use of deprecated go-multiaddr/net 2021-03-30 17:08:36 +07:00
Marten Seemann 5cb6a881aa run go mod tidy 2021-03-30 16:56:51 +07:00
Steven Allen 6be5442314 dep: add "codependencies" for handling version conflicts
This patch adds a special, internal, "codependencies" package that allows us to
specify minimum required versions for modules we don't directly depend on.

Downside:

* Anyone using this module will also have to download these deprecated modules.

Upside:

* After upgrading this module, all "codependencies" will automatically be
  upgraded to compatible versions.
* If unused, codependencies will _not_ end up bloating the binary size. This is
  because "usage" is computed at the import/package layer, while module version
  requirements are computed at the module layer.
2020-08-20 13:37:36 -07:00
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