468 Commits

Author SHA1 Message Date
Marten Seemann
89ffaeea18 add Noise 2021-07-01 16:41:44 -07:00
Marten Seemann
0fcbe89380
Merge pull request #153 from carpawell/feature/add-TLS-protocol
Add TLS protocol
2021-07-01 15:09:03 -07:00
Steven Allen
33b3c2d75f
test: fix tls proto order 2021-06-29 17:48:19 -07:00
Pavel Karpy
5ac410a8b3
Merge branch 'multiformats:master' into feature/add-TLS-protocol 2021-06-24 10:01:13 +03:00
Marten Seemann
7cb054e4ee
Merge pull request #155 from marten-seemann/guard-against-nil-addrs
guard against nil {Local,Remote}Addr() return values
2021-06-23 18:47:21 -07:00
Marten Seemann
1a8d3e4c45 guard against nil {Local,Remote}Addr() return values 2021-06-23 10:48:13 -07:00
web3-bot
2f4fae4104
sync: update CI config files (#154) 2021-06-01 17:01:00 +00:00
Steven Allen
5c39a31660
Merge pull request #152 from multiformats/fix/export-register
fix(net): export new net.Addr conversion registration functions
2021-05-29 19:36:18 -07:00
Pavel Karpy
99477a348c feat: add TLS protocol 2021-05-26 16:04:06 +03:00
Steven Allen
1617759f15 fix(net): export new net.Addr conversion registration functions
fixes #151
2021-05-24 12:25:04 -07:00
web3-bot
32974f6a47
sync: update CI config files (#149) 2021-04-22 09:39:36 +00:00
web3-bot
e6b70259b5
remove the autorebase workflow (#148) 2021-04-09 03:53:13 +00:00
web3-bot
aba8d5369e
sync: update CI config files (#147) 2021-04-06 07:58:04 +00:00
web3-bot
d82dff5292
sync: run go mod tidy (and set Go 1.15) and gofmt -s in copy workflow (#146) 2021-04-01 14:44:26 +00:00
Marten Seemann
ed75495862
Merge pull request #144 from marten-seemann/remove-travis
remove Travis config
2021-03-30 19:12:27 +07:00
Marten Seemann
f9c8287afc remove Travis config 2021-03-30 18:54:25 +07:00
Marten Seemann
3b2d184594
Merge pull request #145 from marten-seemann/more-linter-fixes
more linter fixes
2021-03-30 18:40:41 +07:00
Marten Seemann
ff7b6a79cc don't call T.Fatal in go routine 2021-03-30 17:08:38 +07:00
Marten Seemann
7c39c5cfde remove unneeded default case in switch 2021-03-30 17:08:37 +07:00
Marten Seemann
9547d0a06f remove unused field in net.CodecMap 2021-03-30 17:08:37 +07:00
Marten Seemann
5e60d16f44 fix ineffectual assignment of error 2021-03-30 17:08:37 +07: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
Marten Seemann
fb9bf83dc4
Merge pull request #142 from multiformats/web3-bot/sync
sync: only create a single PR per target repo
2021-03-30 16:49:44 +07:00
Marten Seemann
4636633942
Merge pull request #143 from marten-seemann/fix-linters
fix go vet and staticcheck failures
2021-03-30 16:42:22 +07:00
Marten Seemann
927b81c5e9 fix error strings 2021-03-30 15:54:55 +07:00
Marten Seemann
e2f4e4e83c remove unused bytesSplit function 2021-03-30 15:53:29 +07:00
web3-bot
fed3836af7 add .github/workflows/go-check.yml 2021-03-30 08:41:29 +00:00
web3-bot
afab49217b add .github/workflows/go-test.yml 2021-03-30 08:41:29 +00:00
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