Steven Allen
2bceee5bb2
Merge pull request #435 from libp2p/dependabot/go_modules/github.com/hashicorp/golang-lru-0.5.4
...
build(deps): bump github.com/hashicorp/golang-lru from 0.5.3 to 0.5.4
2020-02-11 11:15:14 -08:00
dependabot-preview[bot]
0bed8bf78d
build(deps): 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 18:41:20 +00:00
Steven Allen
9a6208751a
Merge pull request #450 from libp2p/dependabot/go_modules/github.com/ipfs/go-datastore-0.4.1
...
build(deps): bump github.com/ipfs/go-datastore from 0.3.1 to 0.4.1
2020-02-11 10:37:54 -08:00
dependabot-preview[bot]
68b2b8c864
build(deps): 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 16:53:05 +00:00
Steven Allen
967e9357ab
Merge pull request #446 from libp2p/dependabot/go_modules/github.com/multiformats/go-multistream-0.1.1
...
build(deps): bump github.com/multiformats/go-multistream from 0.1.0 to 0.1.1
2020-02-11 08:50:15 -08:00
Steven Allen
e08588abc5
Merge pull request #447 from libp2p/dependabot/go_modules/github.com/ipfs/go-cid-0.0.5
...
build(deps): bump github.com/ipfs/go-cid from 0.0.4 to 0.0.5
2020-02-11 08:49:39 -08:00
Steven Allen
3ea48dc7c2
Merge pull request #445 from aarshkshah1992/feat/cluster-level-mismatch
...
Adjust cluster level while encoding as well
2020-02-05 09:59:21 -08:00
dependabot-preview[bot]
b5c1df0988
build(deps): bump github.com/ipfs/go-cid from 0.0.4 to 0.0.5
...
Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid ) from 0.0.4 to 0.0.5.
- [Release notes](https://github.com/ipfs/go-cid/releases )
- [Commits](https://github.com/ipfs/go-cid/compare/v0.0.4...v0.0.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 11:19:33 +00:00
dependabot-preview[bot]
07e1bddd8d
build(deps): bump github.com/multiformats/go-multistream
...
Bumps [github.com/multiformats/go-multistream](https://github.com/multiformats/go-multistream ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/multiformats/go-multistream/releases )
- [Commits](https://github.com/multiformats/go-multistream/compare/v0.1.0...v0.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 11:19:09 +00:00
Aarsh Shah
9a344cb274
adjust cluster level while encoding as well
2020-02-05 10:12:20 +05:30
Steven Allen
f919cde5d4
Merge pull request #442 from libp2p/dependabot/go_modules/go.opencensus.io-0.22.3
...
build(deps): bump go.opencensus.io from 0.22.2 to 0.22.3
2020-02-04 17:13:23 -08:00
dependabot-preview[bot]
26f1e8075b
build(deps): bump go.opencensus.io from 0.22.2 to 0.22.3
...
Bumps [go.opencensus.io](https://github.com/census-instrumentation/opencensus-go ) from 0.22.2 to 0.22.3.
- [Release notes](https://github.com/census-instrumentation/opencensus-go/releases )
- [Commits](https://github.com/census-instrumentation/opencensus-go/compare/v0.22.2...v0.22.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-04 18:29:57 +00:00
Steven Allen
2055e88566
Merge pull request #444 from libp2p/dependabot/go_modules/github.com/multiformats/go-multihash-0.0.13
...
build(deps): bump github.com/multiformats/go-multihash from 0.0.10 to 0.0.13
2020-02-04 10:26:46 -08:00
dependabot-preview[bot]
0950958a0f
build(deps): bump github.com/multiformats/go-multihash
...
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:18:31 +00:00
Steven Allen
245a1e2a90
Merge pull request #443 from aarshkshah1992/feat/remove-incorrect-doc
...
Remove incorrect doc
2020-02-03 21:11:42 -08:00
Aarsh Shah
50d524dfbb
remove incorrect doc
2020-02-04 10:22:28 +05:30
Steven Allen
61b639e09c
Merge pull request #441 from libp2p/feat/reduce-idle-timeout
...
feat: reduce stream idle timeout to 1m
2020-01-27 17:18:33 -08:00
Steven Allen
3f8b219554
feat: reduce stream idle timeout to 1m
...
It's currently 10 minutes. This change will kill all inbound DHT streams that
haven't been used in 1 minute.
We keep streams around to avoid the cost of setting up new streams (the
multistream overhead, mostly). However, each one of these takes at least one
goroutine and some other state.
Ideally, this will let us run multiple DHTs side-by-side without keeping one
stream per peer per DHT open.
2020-01-23 09:04:13 -08:00
Steven Allen
995fee9e53
Merge pull request #437 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-0.5.1
...
build(deps): bump github.com/libp2p/go-libp2p from 0.5.0 to 0.5.1
2020-01-20 06:12:41 -08:00
dependabot-preview[bot]
b35a724841
build(deps): bump github.com/libp2p/go-libp2p from 0.5.0 to 0.5.1
...
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/libp2p/go-libp2p/releases )
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/NEWS.md )
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.5.0...v0.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 11:21:22 +00:00
Steven Allen
95964c0eac
Merge pull request #422 from libp2p/feat/advertise-multihash
...
Provider records use multihashes instead of CIDs
v0.5.0
2020-01-02 15:05:36 -08:00
Steven Allen
6c4cd42d9c
Merge pull request #433 from aarshkshah1992/fix/flaky-TestEmptyTable-test
...
Fix flaky TestEmptyTableTest
2019-12-20 15:45:51 +01:00
Aarsh Shah
b19ac720dd
routing table should not have all the peers
2019-12-20 15:03:57 +08:00
Adin Schmahmann
5d2e3df37d
make all key types loggable
2019-12-19 12:04:25 -05:00
Adin Schmahmann
3e24f352aa
provider record keys can be an arbitrary byte array less than 80 bytes instead of only a multihash
2019-12-19 12:00:51 -05:00
Adin Schmahmann
a4b38eebee
feat(dht): provider records use multihashes instead of CIDs
2019-12-19 12:00:51 -05:00
Steven Allen
a06b32768e
Merge pull request #432 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-0.5.0
...
build(deps): bump github.com/libp2p/go-libp2p from 0.4.2 to 0.5.0
2019-12-18 12:38:39 +01:00
dependabot-preview[bot]
23e3b62c28
build(deps): bump github.com/libp2p/go-libp2p from 0.4.2 to 0.5.0
...
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p ) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/libp2p/go-libp2p/releases )
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/NEWS.md )
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.4.2...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 11:19:25 +00:00
Steven Allen
4e19da1493
Merge pull request #430 from libp2p/feat/update-bootstrappers
...
chore(bootstrap): update bootstrappers
2019-12-17 17:21:58 +01:00
Steven Allen
9c060c8363
chore(bootstrap): update bootstrappers
...
1. Remove bootstrappers with small (1024 bit) keys.
2. Switch from /ipfs to /p2p multiaddrs.
part of https://github.com/libp2p/libp2p/issues/79
2019-12-17 16:53:38 +01:00
dependabot-preview[bot]
17d353f6f6
Merge pull request #423 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-core-0.3.0
2019-12-17 11:58:51 +00:00
dependabot-preview[bot]
2aa9b6f318
build(deps): bump github.com/libp2p/go-libp2p-core from 0.2.5 to 0.3.0
...
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core ) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases )
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.2.5...v0.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 11:53:55 +00:00
Steven Allen
904b4cdb5b
Merge pull request #428 from aarshkshah1992/feat/refresh-cpls
...
Refresh cpl's in dht
2019-12-17 12:50:25 +01:00
Steven Allen
17ab593351
Merge pull request #427 from libp2p/dependabot/go_modules/github.com/ipfs/go-cid-0.0.4
...
build(deps): bump github.com/ipfs/go-cid from 0.0.3 to 0.0.4
2019-12-17 12:44:15 +01:00
Aarsh Shah
ef6ffec073
refresh cpl in dht
2019-12-17 01:25:57 +08:00
dependabot-preview[bot]
4cb2adfe60
build(deps): bump github.com/ipfs/go-cid from 0.0.3 to 0.0.4
...
Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid ) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/ipfs/go-cid/releases )
- [Commits](https://github.com/ipfs/go-cid/compare/v0.0.3...v0.0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 11:22:07 +00:00
Steven Allen
dd3d8fbb9d
Merge pull request #425 from libp2p/fix/refresh-wait
...
fix: always send the result channel when triggering a refresh
v0.4.1
2019-12-13 10:32:02 +01:00
Steven Allen
e512351145
fix: always send the result channel when triggering a refresh
...
Otherwise, we'll just return a channel that will never be signaled.
2019-12-13 10:11:32 +01:00
Steven Allen
2e6adb8c2b
Merge pull request #400 from libp2p/feat/disable-providers
...
feat: allow disabling value and provider storage/messages
2019-12-12 18:05:53 +01:00
Steven Allen
c08274fb03
Merge pull request #424 from hacdias/fix/prioritize-closer-peers
...
fix: prioritize closer peers
2019-12-12 18:00:05 +01:00
Henrique Dias
0449555dde
make BaseConnMgrScore const
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-12-12 17:56:30 +01:00
Henrique Dias
e4dae1c931
call it common prefix len
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-12-12 17:55:50 +01:00
Henrique Dias
dca21f6a05
fix: prioritize closer peers
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-12-12 17:17:45 +01:00
Steven Allen
a7093c7cb4
Merge pull request #421 from libp2p/chore/update-kbucket
...
chore(dep): update kbucket
v0.4.0
2019-12-11 19:45:08 +01:00
Steven Allen
6adedd5011
chore(dep): update kbucket
...
Fixes a bug where we wouldn't be able to perform queries with a sparse but
non-empty routing table.
2019-12-11 19:42:12 +01:00
Steven Allen
323ee8e22c
Merge pull request #420 from libp2p/fix/add-when-empty
...
fix: try to re-add existing peers when the routing table is empty
2019-12-11 19:20:09 +01:00
Steven Allen
3c3e567143
fix: try to re-add existing peers when the routing table is empty
...
Otherwise, we could decide to _not_ add a peer, disconnect from most peers, and
be unable to query the DHT even if we're technically connected to a peer in the
DHT.
2019-12-11 18:17:27 +01:00
Steven Allen
85ccd076a8
Merge pull request #419 from libp2p/dependabot/go_modules/github.com/multiformats/go-multiaddr-0.2.0
...
build(deps): bump github.com/multiformats/go-multiaddr from 0.1.2 to 0.2.0
2019-12-11 14:58:32 +01:00
dependabot-preview[bot]
039825f76d
build(deps): bump github.com/multiformats/go-multiaddr
...
Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr ) from 0.1.2 to 0.2.0.
- [Release notes](https://github.com/multiformats/go-multiaddr/releases )
- [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.1.2...v0.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-11 11:35:36 +00:00
Steven Allen
6028925020
Merge pull request #418 from libp2p/feat/refresh-and-wait
...
feat: refresh and wait
v0.3.2
2019-12-10 18:04:36 +01:00