Steven Allen
de00be3435
Merge pull request #455 from libp2p/fix/warn-to-error
...
fix(providers): upgrade warnings to errors
2020-02-21 17:14:56 -05:00
Aarsh Shah
5552b3ff8d
Merge pull request #454 from edjx/cfg-routing-table-latency
...
Make the Routing Table's latency tolerance configurable.
2020-02-19 15:21:19 +05:30
Steven Allen
9f0782bdac
fix(providers): upgrade warnings to errors
...
These errors all mean something is going very wrong.
2020-02-18 12:40:49 -05:00
Vibhav Pant
28f2f2ab96
Provide the entire config object to makeDHT.
2020-02-18 16:18:52 +05:30
Vibhav Pant
766aeee9ed
Add documentation for RoutingTableLatencyTolerance.
2020-02-18 15:21:46 +05:30
Steven Allen
747410e82a
Merge pull request #451 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-0.5.2
...
build(deps): bump github.com/libp2p/go-libp2p from 0.5.1 to 0.5.2
2020-02-17 06:46:10 -08:00
Steven Allen
5b5bc70857
Merge pull request #452 from libp2p/dependabot/go_modules/github.com/ipfs/go-datastore-0.4.2
...
build(deps): bump github.com/ipfs/go-datastore from 0.4.1 to 0.4.2
2020-02-17 06:43:19 -08:00
Vibhav Pant
04a53d2886
Set defaults for RoutingTable.LatencyTolerance.
2020-02-17 20:12:39 +05:30
Vibhav Pant
fececcc819
Make the Routing Table's latency tolerance configurable.
2020-02-17 20:06:29 +05:30
dependabot-preview[bot]
97428c08cd
build(deps): 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:21:09 +00:00
dependabot-preview[bot]
9adf0af330
build(deps): bump github.com/libp2p/go-libp2p from 0.5.1 to 0.5.2
...
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p ) from 0.5.1 to 0.5.2.
- [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.1...v0.5.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 11:20:47 +00:00
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