Marco Munizaga
b09e1283ae
Use mock clock in pstoreds and tests
2022-05-26 14:47:26 -07:00
Marten Seemann
048b94159f
remove the pstoremanager (will be moved to the Host)
2021-12-08 18:44:20 +04:00
Marten Seemann
51974ae06e
when passed an event bus, automatically clean up disconnected peers
2021-12-02 12:07:58 +04:00
Marten Seemann
a3a997d014
implement RemovePeer
2021-12-02 11:57:28 +04:00
Marten Seemann
a66346d0c1
chore: update go-log to v2 ( #179 )
2021-11-27 17:40:23 +04:00
Gus Eggert
566ed64074
feat: plumb through datastore contexts ( #176 )
2021-10-28 16:32:18 -04:00
web3-bot
c4bd4dc225
run go mod tidy
2021-08-17 13:32:39 +00:00
Steven Allen
f00c27d4d7
feat: remove queue
...
This has long since been moved into the DHT itself and doesn't belong
here. I.e., it has nothing to do with the peerstore and nobody else uses
it.
replaces https://github.com/libp2p/go-libp2p-peerstore/pull/83
2021-07-23 11:02:30 -07:00
Steven Allen
501bfa8154
chore: update libp2p-core
...
ensures that peer record sequence numbers are atomic
2021-07-16 19:45:29 -07:00
Steven Allen
90f363555f
chore: update to latest go error handling
...
We no longer need the "errors" package.
2021-07-16 10:38:00 -07:00
Steven Allen
e161a361fc
chore: update deps
2021-07-15 17:29:05 -07:00
Marten Seemann
a5108ed514
stop using the deprecated go-multiaddr-net package
2021-07-01 19:31:17 -07:00
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
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
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
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
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
a77c7a4d61
test: check for goroutine leaks when closing the peerstore
2020-03-23 14:16:16 -07:00
Yusef Napora
59abcf549d
Certified addresses ( #98 )
2020-03-06 12:07:36 +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
b4dc608f50
chore(dep): update go-log
2020-02-17 11:38:14 -05: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]
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
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
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
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
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
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
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
dependabot-preview[bot]
d6d444f052
Bump github.com/pkg/errors from 0.8.1 to 0.9.0
...
Bumps [github.com/pkg/errors](https://github.com/pkg/errors ) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/pkg/errors/releases )
- [Commits](https://github.com/pkg/errors/compare/v0.8.1...v0.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 11:19:00 +00:00
dependabot-preview[bot]
0ca42b6195
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-12 11:19:31 +00:00
dependabot-preview[bot]
57f63896d4
Bump github.com/multiformats/go-multiaddr from 0.1.2 to 0.2.0
...
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:37:03 +00:00
Steven Allen
33f73af0ec
ci: update deps
2019-12-06 19:49:31 -05:00
Steven Allen
5dbe1fb7e5
Merge pull request #100 from libp2p/dependabot/go_modules/github.com/multiformats/go-multiaddr-0.1.2
...
Bump github.com/multiformats/go-multiaddr from 0.1.1 to 0.1.2
2019-12-06 19:44:27 -05:00
dependabot-preview[bot]
b8a0f60e59
Bump github.com/multiformats/go-multiaddr from 0.1.1 to 0.1.2
...
Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/multiformats/go-multiaddr/releases )
- [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.1.1...v0.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 22:08:12 +00:00
Steven Allen
7fef3be6a0
Merge pull request #102 from libp2p/dependabot/go_modules/github.com/hashicorp/golang-lru-0.5.3
...
Bump github.com/hashicorp/golang-lru from 0.5.1 to 0.5.3
2019-12-06 17:06:16 -05:00
dependabot-preview[bot]
aaac6e99ec
Bump github.com/libp2p/go-libp2p-core from 0.2.4 to 0.2.5
...
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core ) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases )
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.2.4...v0.2.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 17:42:31 +00:00
dependabot-preview[bot]
854ea4c211
Bump github.com/hashicorp/golang-lru from 0.5.1 to 0.5.3
...
Bumps [github.com/hashicorp/golang-lru](https://github.com/hashicorp/golang-lru ) from 0.5.1 to 0.5.3.
- [Release notes](https://github.com/hashicorp/golang-lru/releases )
- [Commits](https://github.com/hashicorp/golang-lru/compare/v0.5.1...v0.5.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 17:42:05 +00:00
Steven Allen
334bc6f886
chore(dep): update deps
...
* update go-libp2p-core and fix tests for new minimum key size. This slows down
the test but terribly.
* switch to go-multiaddr-fmt
* update the datastore
* update gogo/protobuf
2019-10-28 15:32:22 -07:00
Raúl Kripalani
734561ed28
update go-ds-badger.
2019-06-28 12:14:04 +02:00
Jakub Sztandera
cfa9bb890c
Update go-ds-badger to 0.0.4
...
Fire: badger removed its tag
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-06-21 15:06:18 +02:00
Raúl Kripalani
c11298943e
deps: upgrade go-libp2p-core.
2019-06-20 16:24:02 +01:00
Raúl Kripalani
3d3a10dd54
protobook: support removing protocols. ( #84 )
2019-06-19 23:53:07 +01:00
Steven Allen
0b5b389640
dep: switch to core ( #80 )
...
* dep: switch to core
Specifically, remove go-libp2p-{crypto,peer} deps.
* catch a few more usages of deprecated packages.
2019-05-31 14:51:16 +01:00