Steven Allen
65647174cb
Merge pull request #500 from libp2p/ci/update
...
chore(ci): switch to go 1.14
2020-03-22 15:25:32 -07:00
Steven Allen
c68c7e3fa5
chore: get rid of xerrors
...
go 1.14 is now required anyways
2020-03-22 15:22:21 -07:00
Steven Allen
1d4cb57140
chore(mod): update minimum go version
2020-03-22 15:21:12 -07:00
Steven Allen
cb2167c3ca
chore(ci): switch to go 1.14
2020-03-20 15:09:47 -07:00
Steven Allen
d80cc59d4d
Merge pull request #496 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-0.6.1
...
build(deps): bump github.com/libp2p/go-libp2p from 0.5.2 to 0.6.1
2020-03-19 23:31:03 -07:00
dependabot-preview[bot]
26966cd7e3
build(deps): bump github.com/libp2p/go-libp2p from 0.5.2 to 0.6.1
...
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p ) from 0.5.2 to 0.6.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.2...v0.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-19 11:21:17 +00:00
David Dias
dffa2f8b27
refactor: ProviderManager ( #492 )
...
* test: augment TestProviderManager test, add notes of future tests
* refactor(provider-manager): order funcs, update names for consistency, add code docs
v0.5.2
2020-03-13 23:34:30 +00:00
David Dias
ad27ebcfa7
feat: Expose the ProviderManager through the IpfsDht struct ( #491 )
...
* feat: Expose the ProviderManager through the IpfsDht struct
* feat: expose providers prefix so that we do not have to hard code it in other places
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com>
2020-03-13 09:53:26 -07:00
Steven Allen
6e748c20d8
Merge pull request #456 from libp2p/dependabot/go_modules/github.com/ipfs/go-datastore-0.4.4
...
build(deps): bump github.com/ipfs/go-datastore from 0.4.2 to 0.4.4
2020-03-09 22:13:40 -07:00
Steven Allen
dbb3d2c0a2
Merge pull request #462 from libp2p/fix/observe-context-in-message-sender
...
fix: obey the context when sending messages to peers
v0.5.1
2020-03-04 22:10:51 -08:00
Steven Allen
a92f79b9d3
Merge pull request #477 from libp2p/feat/cancel-dht-context
...
Close context correctly
2020-03-04 15:18:18 -08:00
Aarsh Shah
14422102c9
close context correctly
2020-03-04 17:28:50 +05:30
Steven Allen
da53c0b6b0
Merge pull request #475 from libp2p/test/benchmark-find-peer
...
add benchmark for handleFindPeer
2020-03-03 18:35:30 -08:00
Steven Allen
cf1c489d50
Merge pull request #474 from libp2p/feat/log-names
...
give views names again
2020-03-03 18:24:30 -08:00
whyrusleeping
5bc18f622f
add benchmark for handleFindPeer
2020-03-03 18:10:11 -08:00
Adrian Lanzafame
315dea5b59
give views names again
2020-03-03 18:07:08 -08:00
Steven Allen
c2631d9569
Merge pull request #464 from MichaelMure/fix-metrics
...
metrics: record message/request event even in case of error
2020-03-02 22:51:22 -08:00
Steven Allen
4d2a8a70eb
Merge pull request #470 from libp2p/dependabot/go_modules/github.com/multiformats/go-multiaddr-0.2.1
...
build(deps): bump github.com/multiformats/go-multiaddr from 0.2.0 to 0.2.1
2020-03-02 22:23:24 -08:00
Michael Muré
faa56381cb
net: address PR comments regarding metrics
2020-03-02 13:11:56 +01:00
dependabot-preview[bot]
8d7ea6fadc
build(deps): bump github.com/multiformats/go-multiaddr
...
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:20:48 +00:00
Steven Allen
3eac211e03
Merge pull request #466 from libp2p/fix/timer-leak
...
fix(dialqueue): fix a timer leak
2020-02-27 18:52:23 -08:00
Steven Allen
4838fd5e24
Merge pull request #467 from libp2p/fix/cleanup-goroutines
...
fix(query): cancel the context when the query finishes
2020-02-27 18:18:06 -08:00
Steven Allen
e6a4d6a3dd
fix(query): cancel the context when the query finishes
2020-02-27 17:47:15 -08:00
Steven Allen
d4818f1a9d
fix(dialqueue): fix a timer leak
2020-02-27 17:26:09 -08:00
Michael Muré
979ed6ab6c
metrics: also record message/request event on error
...
... otherwise any kinde of error ratio is meaningless.
2020-02-27 16:24:46 +01:00
Michael Muré
fe2d21acf9
immediate buffer release instead of defering
2020-02-27 15:52:40 +01:00
Steven Allen
30ba05e268
Merge pull request #461 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-core-0.3.1
...
build(deps): bump github.com/libp2p/go-libp2p-core from 0.3.0 to 0.3.1
2020-02-24 10:23:30 -05:00
dependabot-preview[bot]
7d7e2b1a72
build(deps): bump github.com/libp2p/go-libp2p-core from 0.3.0 to 0.3.1
...
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases )
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.3.0...v0.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 11:20:45 +00:00
Steven Allen
0b029388bd
fix: obey the context when sending messages to peers
...
Related to #453 but not a fix. This will cause us to actually return early when
we start blocking on sending to some peers, but it won't really _unblock_ those
peers. For that, we need to write with a context.
2020-02-22 16:34:56 -05:00
Steven Allen
368117b559
Merge pull request #458 from libp2p/dependabot/go_modules/github.com/stretchr/testify-1.5.1
...
build(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.1
2020-02-21 17:15:46 -05:00
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
dependabot-preview[bot]
32e48dbf74
build(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 11:19:55 +00:00
dependabot-preview[bot]
1fa1d20ede
build(deps): 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-19 11:20:15 +00: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