Commit Graph

476 Commits

Author SHA1 Message Date
vyzo
9827ee0860
Merge pull request #154 from jsign/jsign/fixraces
addrbook: fix races
2020-06-05 21:20:41 +03:00
Ignacio Hagopian
1542834878
fix other race
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-05 15:17:36 -03:00
Ignacio Hagopian
33ea692817
fix race
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-05 15:02:43 -03:00
Aarsh Shah
ce24bfc4f9
Merge pull request #147 from libp2p/feat/supports-no-alloc
Implement the FirstSupportedProtocol API.
2020-05-14 16:44:42 +05:30
Aarsh Shah
21a1c143cc upgrade core version 2020-05-14 16:22:42 +05:30
Aarsh Shah
dd0775df6d changes for the new interface 2020-05-11 13:07:08 +05:30
Aarsh Shah
7a58f873f4 peer supports any protocol 2020-05-08 12:10:14 +05:30
Steven Allen
b1f58c0365
Merge pull request #139 from libp2p/chore/update-deps
chore: update deps and clean go.sum
2020-04-06 13:05:02 -07:00
Steven Allen
fee139fdf2 chore: update deps and clean go.sum 2020-04-06 13:03:32 -07:00
Steven Allen
7cca27a677
Merge pull request #136 from libp2p/dependabot/go_modules/github.com/ipfs/go-ds-badger-0.2.3
Bump github.com/ipfs/go-ds-badger from 0.2.2 to 0.2.3
2020-04-06 13:02:06 -07:00
Steven Allen
6bf43ff44c
Merge pull request #137 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-core-0.5.1
Bump github.com/libp2p/go-libp2p-core from 0.4.0 to 0.5.1
2020-04-06 13:01:59 -07:00
Steven Allen
a48d220280
Merge pull request #138 from libp2p/dependabot/go_modules/github.com/multiformats/go-multiaddr-net-0.1.4
Bump github.com/multiformats/go-multiaddr-net from 0.1.2 to 0.1.4
2020-04-06 13:01:51 -07:00
Steven Allen
4e9932be2b
Merge pull request #88 from libp2p/fix/87
fix: handle nil peer IDs
2020-04-05 23:11:47 -07:00
Steven Allen
785ee8c8fd fix: handle nil peer IDs
Feels like Java all over again.

fixes #87
2020-04-05 23:05:41 -07:00
dependabot-preview[bot]
51f8783645
Bump github.com/multiformats/go-multiaddr-net from 0.1.2 to 0.1.4
Bumps [github.com/multiformats/go-multiaddr-net](https://github.com/multiformats/go-multiaddr-net) from 0.1.2 to 0.1.4.
- [Release notes](https://github.com/multiformats/go-multiaddr-net/releases)
- [Commits](https://github.com/multiformats/go-multiaddr-net/compare/v0.1.2...v0.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 11:18:50 +00:00
dependabot-preview[bot]
bdc0507554
Bump github.com/libp2p/go-libp2p-core from 0.4.0 to 0.5.1
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core) from 0.4.0 to 0.5.1.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases)
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.4.0...v0.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 11:18:28 +00:00
dependabot-preview[bot]
4ad4a35c51
Bump github.com/ipfs/go-ds-badger from 0.2.2 to 0.2.3
Bumps [github.com/ipfs/go-ds-badger](https://github.com/ipfs/go-ds-badger) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/ipfs/go-ds-badger/releases)
- [Commits](https://github.com/ipfs/go-ds-badger/compare/v0.2.2...v0.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 11:21:40 +00:00
Steven Allen
416a1c1aa9
Merge pull request #134 from libp2p/dependabot/go_modules/github.com/ipfs/go-ds-badger-0.2.2
Bump github.com/ipfs/go-ds-badger from 0.2.1 to 0.2.2
2020-03-30 13:48:30 -07:00
dependabot-preview[bot]
873b1e8181
Bump github.com/ipfs/go-ds-badger from 0.2.1 to 0.2.2
Bumps [github.com/ipfs/go-ds-badger](https://github.com/ipfs/go-ds-badger) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/ipfs/go-ds-badger/releases)
- [Commits](https://github.com/ipfs/go-ds-badger/compare/v0.2.1...v0.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 11:20:44 +00:00
Steven Allen
e38f05b684
Merge pull request #132 from libp2p/dependabot/go_modules/github.com/ipfs/go-log-1.0.3
Bump github.com/ipfs/go-log from 1.0.2 to 1.0.3
2020-03-29 23:58:31 -07:00
Steven Allen
1019086e7d
Merge pull request #133 from libp2p/feat/fix-addrs-bug
Fix memory store signed peer record bug
2020-03-29 19:27:18 -07:00
Aarsh Shah
cdec762f40 fix add addrs bug 2020-03-28 16:17:10 +05:30
Aarsh Shah
9868efd05f fix memory store signed peer record bug 2020-03-27 16:18:53 +05:30
dependabot-preview[bot]
1ecbdd978f
Bump github.com/ipfs/go-log from 1.0.2 to 1.0.3
Bumps [github.com/ipfs/go-log](https://github.com/ipfs/go-log) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/ipfs/go-log/releases)
- [Commits](https://github.com/ipfs/go-log/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-25 11:20:26 +00:00
Steven Allen
0860fe0aa7
Merge pull request #131 from libp2p/fix/peerstore-close
fix: make closing the in-memory peerstore actually close it
2020-03-23 14:20:04 -07:00
Steven Allen
a77c7a4d61 test: check for goroutine leaks when closing the peerstore 2020-03-23 14:16:16 -07:00
Steven Allen
d1d80624c4 fix: make close work again
Reference pstoremem components by pointer to:

1. Avoid copying locks around on construction.
2. Avoid copying these around when calling `weakClose`.
3. Ensures that they all implement the `io.Closer` interface (it's implemented
on the pointer, not the value).

Technically, we could have just taken a reference when calling `weakClose`, but
this is cleaner.
2020-03-23 13:59:56 -07:00
Yusef Napora
59abcf549d
Certified addresses (#98) 2020-03-06 12:07:36 +00:00
Steven Allen
f65b2b42ac
Merge pull request #124 from jbn/master
Correct path to peer.AddrInfo in deprecation
2020-02-25 12:33:03 -05:00
John B Nelson
4533ab8f9e
Correct path to peer.AddrInfo in deprecation 2020-02-25 09:02:52 -08:00
dependabot-preview[bot]
6c1dc4c8e0
Merge pull request #122 from libp2p/dependabot/go_modules/github.com/ipfs/go-datastore-0.4.4 2020-02-21 19:00:01 +00:00
dependabot-preview[bot]
e31ed0a7e0
Bump github.com/ipfs/go-datastore from 0.4.2 to 0.4.4
Bumps [github.com/ipfs/go-datastore](https://github.com/ipfs/go-datastore) from 0.4.2 to 0.4.4.
- [Release notes](https://github.com/ipfs/go-datastore/releases)
- [Commits](https://github.com/ipfs/go-datastore/compare/v0.4.2...v0.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-21 18:56:28 +00:00
Steven Allen
38d6b3cf42
Merge pull request #121 from libp2p/chore/update-ds
chore(dep): update go-log
2020-02-21 13:53:54 -05:00
Steven Allen
b4dc608f50 chore(dep): update go-log 2020-02-17 11:38:14 -05:00
Steven Allen
0f8a83b037
Merge pull request #120 from libp2p/dependabot/go_modules/github.com/ipfs/go-datastore-0.4.2
Bump github.com/ipfs/go-datastore from 0.4.1 to 0.4.2
2020-02-17 08:36:09 -08:00
dependabot-preview[bot]
4f2f61316d
Bump github.com/ipfs/go-datastore from 0.4.1 to 0.4.2
Bumps [github.com/ipfs/go-datastore](https://github.com/ipfs/go-datastore) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/ipfs/go-datastore/releases)
- [Commits](https://github.com/ipfs/go-datastore/compare/v0.4.1...v0.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 11:20:39 +00:00
dependabot-preview[bot]
d6f697f334
Merge pull request #119 from libp2p/dependabot/go_modules/github.com/ipfs/go-ds-badger-0.2.1 2020-02-15 00:52:35 +00:00
dependabot-preview[bot]
c7fac4b89d
Bump github.com/ipfs/go-ds-badger from 0.2.0 to 0.2.1
Bumps [github.com/ipfs/go-ds-badger](https://github.com/ipfs/go-ds-badger) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/ipfs/go-ds-badger/releases)
- [Commits](https://github.com/ipfs/go-ds-badger/compare/v0.2.0...v0.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-15 00:49:18 +00:00
Steven Allen
e6f5398457
Merge pull request #118 from libp2p/dependabot/go_modules/github.com/ipfs/go-ds-leveldb-0.4.1
Bump github.com/ipfs/go-ds-leveldb from 0.4.0 to 0.4.1
2020-02-14 16:46:38 -08:00
dependabot-preview[bot]
1f893e89b6
Bump github.com/ipfs/go-ds-leveldb from 0.4.0 to 0.4.1
Bumps [github.com/ipfs/go-ds-leveldb](https://github.com/ipfs/go-ds-leveldb) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/ipfs/go-ds-leveldb/releases)
- [Commits](https://github.com/ipfs/go-ds-leveldb/compare/v0.4.0...v0.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 11:18:50 +00:00
Steven Allen
c19e75b4f5
Merge pull request #112 from libp2p/dependabot/go_modules/github.com/hashicorp/golang-lru-0.5.4
Bump github.com/hashicorp/golang-lru from 0.5.3 to 0.5.4
2020-02-11 11:14:56 -08:00
dependabot-preview[bot]
4de85f6409
Bump github.com/hashicorp/golang-lru from 0.5.3 to 0.5.4
Bumps [github.com/hashicorp/golang-lru](https://github.com/hashicorp/golang-lru) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/hashicorp/golang-lru/releases)
- [Commits](https://github.com/hashicorp/golang-lru/compare/v0.5.3...v0.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 16:51:06 +00:00
Steven Allen
1b6a801ba7
Merge pull request #117 from libp2p/dependabot/go_modules/github.com/ipfs/go-datastore-0.4.1
Bump github.com/ipfs/go-datastore from 0.3.1 to 0.4.1
2020-02-11 08:48:43 -08:00
dependabot-preview[bot]
f0752eb701
Bump github.com/ipfs/go-datastore from 0.3.1 to 0.4.1
Bumps [github.com/ipfs/go-datastore](https://github.com/ipfs/go-datastore) from 0.3.1 to 0.4.1.
- [Release notes](https://github.com/ipfs/go-datastore/releases)
- [Commits](https://github.com/ipfs/go-datastore/compare/v0.3.1...v0.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 11:18:29 +00:00
Steven Allen
96c0301170
Merge pull request #116 from libp2p/dependabot/go_modules/github.com/multiformats/go-multiaddr-net-0.1.2
Bump github.com/multiformats/go-multiaddr-net from 0.1.1 to 0.1.2
2020-02-06 07:37:00 -08:00
dependabot-preview[bot]
4e6c98860e
Bump github.com/multiformats/go-multiaddr-net from 0.1.1 to 0.1.2
Bumps [github.com/multiformats/go-multiaddr-net](https://github.com/multiformats/go-multiaddr-net) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/multiformats/go-multiaddr-net/releases)
- [Commits](https://github.com/multiformats/go-multiaddr-net/compare/v0.1.1...v0.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 11:18:50 +00:00
Steven Allen
fae2c3f656
Merge pull request #115 from libp2p/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 10:28:37 -08:00
dependabot-preview[bot]
2593efea72
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:17:34 +00:00
Steven Allen
1f039a1e39
Merge pull request #111 from libp2p/dependabot/go_modules/github.com/pkg/errors-0.9.1
Bump github.com/pkg/errors from 0.9.0 to 0.9.1
2020-01-16 00:06:37 +01:00
dependabot-preview[bot]
fcbd9f630d
Bump github.com/pkg/errors from 0.9.0 to 0.9.1
Bumps [github.com/pkg/errors](https://github.com/pkg/errors) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/pkg/errors/releases)
- [Commits](https://github.com/pkg/errors/compare/v0.9.0...v0.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-15 11:20:45 +00:00