web3-bot
956e49a77d
add .github/workflows/autorebase.yml
2021-03-30 08:41:29 +00:00
web3-bot
d7d65e5590
add .github/workflows/automerge.yml ( #140 )
2021-03-29 14:32:13 +00:00
Will
a051a05e20
Merge pull request #136 from marten-seemann/dont-listen-on-all-interfaces
...
don't listen on all interfaces in tests, unless on CI
2021-02-25 22:23:34 -08:00
Marten Seemann
8c84127a99
don't listen on all interfaces in tests, unless on CI
2021-02-26 12:35:19 +08:00
Aarsh Shah
7274874c78
Merge pull request #135 from multiformats/feat/fix-local-addr
...
Fix Local Address on TCP connections
2021-01-22 08:14:40 +05:30
aarshkshah1992
900a4d7ebb
fix local addr use
2021-01-21 14:59:39 +05:30
Adin Schmahmann
d18c05e0e1
Merge pull request #132 from multiformats/feat/codependencies
...
dep: add "codependencies" for handling version conflicts
2020-08-25 15:11:28 -04:00
Steven Allen
d4e3365e6b
doc: update codependency readme
...
Note that we're using codependencies to depend on packages that have been merged in to this package.
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2020-08-25 11:56:36 -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
26a85b98ec
Merge pull request #130 from multiformats/feat/parse-peerids-from-cids
...
Support /p2p addresses encoded as CIDs
2020-08-17 08:17:44 -04: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
Steven Allen
2da13ecd1a
Merge go-multiaddr-net
2020-05-20 09:30:44 -07:00
Steven Allen
0ae1c1ce2e
move multiaddr-net for merge with multiaddr
2020-05-20 09:28:33 -07:00
Raúl Kripalani
192ac0f7fd
absorb go-maddr-filter; rm stale Makefile targets; upgrade deps ( #124 )
2020-05-14 16:34:54 +01:00
Steven Allen
f512d0e050
Merge pull request #70 from multiformats/feat/zero-alloc-to-ip
...
feat: zero-alloc ToIP
2020-04-29 17:38:53 -07:00
Steven Allen
8838e2aa67
feat: zero-alloc ToIP
...
This is called frequently when querying the DHT.
2020-04-29 17:29:01 -07:00
Will
e68f4d6331
Refactor ToIP on DialArgs ( #69 )
...
Refactor ToIP to use logic from DialArgs
address #67
fix #68
2020-04-02 08:57:53 -07:00
Will
fc1542af81
Merge pull request #65 from multiformats/dependabot/go_modules/github.com/multiformats/go-multiaddr-0.2.1
...
Bump github.com/multiformats/go-multiaddr from 0.2.0 to 0.2.1
2020-03-10 11:18:06 -07:00
dependabot-preview[bot]
4c8ecdb6cb
Bump github.com/multiformats/go-multiaddr from 0.2.0 to 0.2.1
...
Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/multiformats/go-multiaddr/releases )
- [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.2.0...v0.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 11:21:27 +00:00
Steven Allen
8ae68cf376
Merge pull request #122 from multiformats/feat/wss
...
feat: add wss protocol
2020-02-28 19:02:26 -08:00
Steven Allen
7bffa37597
feat: add wss protocol
...
Now that we define all protocols in this package, we might as well add wss.
fixes #72
2020-02-28 18:58:05 -08:00
Steven Allen
201fa11a96
Merge pull request #64 from willscott/feat/toip
...
add ToIP to complement ToNetAddr
2020-02-26 11:46:32 -08:00
Will Scott
9a640fd884
add ToIP to complement ToNetAddr
...
The specific implementations of net.Addr are internal implementation
details of this package, and a downstream consumner shouldn't relay on
the internal use of net.IPAddr / net.TCPAddr to implement that interface
for direct extraction of IP. The consumer would instead need to go through
a round of string conversion to retreive IP safely. Adding an IP extraction
function to the interface here will allow the IP to be retreived more
efficiently.
2020-02-26 10:50:47 -08:00
Steven Allen
07114b1ba0
feat: add support for /dns in DialArgs ( #63 )
2020-02-05 18:13:14 +00:00
Steven Allen
41a8e2e768
Merge pull request #121 from multiformats/dependabot/go_modules/github.com/multiformats/go-multihash-0.0.13
...
Bump github.com/multiformats/go-multihash from 0.0.10 to 0.0.13
2020-02-04 09:46:58 -08: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
Steven Allen
d3472d6fa6
Merge pull request #119 from multiformats/dependabot/go_modules/github.com/multiformats/go-varint-0.0.2
...
Bump github.com/multiformats/go-varint from 0.0.1 to 0.0.2
2020-01-29 14:29:27 -08: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
Steven Allen
24cbc341c9
Merge pull request #118 from multiformats/dependabot/go_modules/github.com/multiformats/go-multihash-0.0.10
...
Bump github.com/multiformats/go-multihash from 0.0.8 to 0.0.10
2020-01-28 21:56:57 -08:00
Steven Allen
d6d94242ca
Merge pull request #62 from multiformats/dependabot/go_modules/github.com/multiformats/go-multiaddr-0.2.0
...
Bump github.com/multiformats/go-multiaddr from 0.1.0 to 0.2.0
2020-01-28 21:55:24 -08:00
dependabot-preview[bot]
6164f8a9e3
Bump github.com/multiformats/go-multiaddr from 0.1.0 to 0.2.0
...
Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr ) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/multiformats/go-multiaddr/releases )
- [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.1.0...v0.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-29 05:52:53 +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
8c6cee15b3
Merge pull request #115 from multiformats/feat/p2p-by-default
...
feat: switch to /p2p multiaddrs by default
2019-12-10 16:20:53 +01:00
Steven Allen
8f388501b1
Merge pull request #116 from aratz-lasa/patch-1
...
Validate bytes when parsing string
2019-12-09 22:11:29 +01:00
Aratz M. Lasa
b00b4ac894
Documented Transcoder functions, and fixed ip6zone string validation
...
Documented Transcoder functions, and fixed ip6zone string validation
2019-12-09 23:00:42 +01:00
bigs
64e3415480
Merge pull request #112 from multiformats/fix/deterministic
...
fix: minimal varint decoding
2019-11-06 13:36:06 -05:00
Steven Allen
438f18c3f9
feat: switch to /p2p multiaddrs by default
2019-11-01 14:22:21 -07:00
Steven Allen
c9acf9f27c
Merge pull request #60 from multiformats/feat/test-unix
...
test: test unix addrs
2019-09-30 07:54:09 -07:00
Dominic Della Valle
2646b1d6f3
fix unescaped back-slash target
2019-09-28 16:18:46 -04:00
Steven Allen
611d2a4f64
address CR
2019-09-27 17:41:20 -07: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
bdd6dd165d
chore: use pre-encoded codec
2019-09-19 14:37:06 -07:00
Steven Allen
d66032c340
fix unix path handling on windows
...
* Convert to windows paths when converting from a multiaddr to a net.Addr
* Convert from windows paths when converting from a net.Addr to a multiaddr
Also, don't "clean". `filepath.Clean` is _usually_ correct but not _technically_
correct in all cases. We should leave cleaning to the application.
2019-09-19 08:59:17 -07:00
Steven Allen
f96df18bf0
Merge pull request #113 from multiformats/feat/dns
...
feat: add dns support
2019-09-18 17:19:38 -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
Steven Allen
1b2246d7be
test: test unix addrs
2019-09-18 17:07:27 -07:00
Steven Allen
a5c136c974
Merge pull request #61 from multiformats/fix/global-multiaddr-registry
...
fix: use global multiaddr definitions
2019-09-18 17:01:31 -07:00
Steven Allen
de67c9ba29
remove gx support
2019-09-18 16:59:15 -07:00
Steven Allen
abe95b8d2e
fix: use global multiaddr definitions
...
So we don't have to import a DNS resolver just to parse dns multiaddrs.
2019-09-18 16:53:12 -07:00