Commit Graph

568 Commits

Author SHA1 Message Date
Marco Munizaga
9f3a96b88d
Merge pull request #200 from libp2p/marco/with-clock-2
feat: Use a clock interface in pstoreds as well
2022-05-27 09:30:00 -07:00
Marco Munizaga
1f173bda1a Bump version 2022-05-26 15:33:25 -07:00
Marco Munizaga
b09e1283ae Use mock clock in pstoreds and tests 2022-05-26 14:47:26 -07:00
Marco Munizaga
3bf1f8cee7
Merge pull request #199 from libp2p/marco/with-clock
feat: use a clock interface to better support testing for pstoremem
2022-05-26 14:43:13 -07:00
Marco Munizaga
143e7c94ab Use a clock interface to better support testing 2022-05-25 15:39:56 -07:00
Leo Balduf
e9c56d257b
pstoremem: fix slice preallocation in GetProtocols (#198) 2022-04-21 05:29:45 -07:00
Piotr Galar
f0dc314e08
Merge pull request #196 from libp2p/web3-bot/sync
sync: update CI config files
2022-04-06 13:00:41 +02:00
web3-bot
98ae0aad2b update .github/workflows/go-check.yml 2022-04-04 14:26:03 +00:00
web3-bot
8bd0f16f0f update .github/workflows/go-test.yml 2022-04-04 14:26:03 +00:00
web3-bot
883832f912 update .github/workflows/automerge.yml 2022-04-04 14:26:03 +00:00
web3-bot
514cf98c68 bump go.mod to Go 1.17 and run go fix 2022-04-04 14:26:02 +00:00
Marten Seemann
c583a9b966
Merge pull request #194 from libp2p/remove-validate
remove all calls to peer.ID.Validate
2022-01-02 23:41:42 -08:00
Marten Seemann
3af2fd0ed2
Merge pull request #195 from libp2p/remove-addr-package
remove the addr package
2021-12-19 05:23:04 -08:00
Marten Seemann
d770f98270 remove the addr package 2021-12-19 17:04:41 +04:00
Marten Seemann
005ad81f7e remove all calls to peer.ID.Validate 2021-12-19 16:04:37 +04:00
Marten Seemann
d776845676
Merge pull request #193 from libp2p/move-sorting
move AddrList to pstoremen, unexport it
2021-12-19 04:04:03 -08:00
Marten Seemann
05c606eb46 move AddrList to pstoremen, unexport it 2021-12-19 15:51:38 +04:00
Marten Seemann
e4d9dbb9c8
Merge pull request #191 from libp2p/various-addr-book-optimizations
optimize allocations in the memory address book
2021-12-14 19:17:53 +04:00
Marten Seemann
7c739506ca
Merge pull request #192 from libp2p/clean-shutdown
implement a clean shutdown for the memory address book
2021-12-14 19:17:40 +04:00
Marten Seemann
03b957ffbb implement a clean shutdown for the memory address book 2021-12-14 19:04:57 +04:00
Marten Seemann
6ca4389e18 optimize map lookup when adding addresses 2021-12-14 18:58:51 +04:00
Marten Seemann
8354ce4655 remove unnecessary map allocation when adding addresses 2021-12-14 18:56:28 +04:00
Marten Seemann
4ff41e6ed1 avoid unnecessary allocation when gc'ing the addrbook 2021-12-14 18:51:40 +04:00
web3-bot
4de8426393
sync: update CI config files (#190)
* update .github/workflows/go-test.yml

* update .github/workflows/go-check.yml

* update .github/workflows/releaser.yml

* update .github/workflows/release-check.yml

Co-authored-by: web3-bot <web3-bot@users.noreply.github.com>
2021-12-10 08:51:56 -08:00
Marten Seemann
800ec8a426
Merge pull request #189 from libp2p/release-1
release v0.6.0
2021-12-10 00:38:54 -08:00
Marten Seemann
3efa6e1eb7
Merge pull request #188 from libp2p/remove-manager
remove the pstoremanager (will be moved to the Host)
2021-12-10 12:19:00 +04:00
Marten Seemann
048b94159f remove the pstoremanager (will be moved to the Host) 2021-12-08 18:44:20 +04:00
Marten Seemann
c1674ed0e2
release v0.5.0 (#187) 2021-12-07 22:00:18 -08:00
Marten Seemann
c07b052352
Merge pull request #185 from libp2p/remove-interning
remove metadata interning
2021-12-02 16:10:45 +04:00
Marten Seemann
4f3790a500 remove metadata interning 2021-12-02 14:11:27 +04:00
Marten Seemann
49c99d9c29
Merge pull request #184 from libp2p/pstore-cleanup
when passed an event bus, automatically clean up disconnected peers
2021-12-02 12:27:06 +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
2c4e04b1e5
Merge pull request #174 from libp2p/remove-peer
implement the RemovePeer method
2021-12-02 12:06:51 +04:00
Marten Seemann
a3a997d014 implement RemovePeer 2021-12-02 11:57:28 +04:00
Marten Seemann
6cf7c68e88 use a separate map to store peer metadata 2021-11-28 11:32:45 +04:00
Marten Seemann
83f5e556c3 remove unnecessary map lookup memeoryPeerMetadata.Put 2021-11-28 11:32:45 +04:00
Marten Seemann
a66346d0c1
chore: update go-log to v2 (#179) 2021-11-27 17:40:23 +04:00
Gus Eggert
8afd0b8898
Update version.json (#178) 2021-11-01 13:03:34 -04:00
Marten Seemann
9749083212
Merge pull request #172 from libp2p/limit-protocols
limit the number of protocols we store per peer
2021-10-29 18:43:53 +02:00
web3-bot
2cec8e5166
sync: update CI config files (#177)
* add version.json file

* add .github/workflows/releaser.yml

* add .github/workflows/release-check.yml

* add .github/workflows/tagpush.yml

Co-authored-by: web3-bot <web3-bot@users.noreply.github.com>
2021-10-29 11:06:17 -04:00
Gus Eggert
566ed64074
feat: plumb through datastore contexts (#176) 2021-10-28 16:32:18 -04:00
Marten Seemann
986d5ceedb
Merge pull request #173 from libp2p/remove-leftover-peerstore
remove leftover peerstore implementation in the root package
2021-10-23 16:16:43 +02:00
Marten Seemann
f3f2f63a66 remove leftover peerstore implementation in the root package 2021-10-23 14:34:58 +02:00
Marten Seemann
5eae6d6caf limit the number of protocols we store per peer 2021-10-22 18:01:08 +02:00
Marten Seemann
3f028c937b reduce mutex contention in SetProtocols 2021-10-22 15:51:34 +02:00
Marten Seemann
a1f426f3d0
Merge pull request #171 from libp2p/rectactv029
retract v0.2.9
2021-09-25 17:30:30 +01:00
Marten Seemann
d3e38bf957 retract v0.2.9 2021-09-25 13:40:51 +01:00
Marten Seemann
4a0f53efa2
Merge pull request #169 from libp2p/web3-bot/sync
sync: update CI config files
2021-09-25 13:13:01 +01:00
web3-bot
edd21e34a3 update .github/workflows/go-check.yml 2021-08-17 13:32:39 +00:00
web3-bot
a29affb2a1 update .github/workflows/go-test.yml 2021-08-17 13:32:39 +00:00