go-waku/waku/v2/utils
Prem Chaitanya Prathi 9f45d271ac
feat: support serviceslots in peermanager (#631)
* feat: support peermanager serviceslots and update store protocol to use serviceslots

* fix: lint errors in test code

* fix: error in nix build due to vendor sha change

* fix: set host in peermanager even if relay is disabled

* chore: fix codeclimate issues

* chore: using common filterPeer function to avoid duplication

* feat:use service slots in other service protocols

* chore: fix codeclimate issues

* chore: move AddPeer to peermanager

* Apply suggestions from code review

Co-authored-by: richΛrd <info@richardramos.me>

* chore:address review comments

* feat: implement RemovePeer #638

* chore: fix test failure

* Support for multiple slots for service peers
Adding discovered peers also moved to peer manager

---------

Co-authored-by: richΛrd <info@richardramos.me>
2023-08-10 18:28:22 +05:30
..
test feat: support serviceslots in peermanager (#631) 2023-08-10 18:28:22 +05:30
.gitkeep Initial commit 2021-03-11 16:27:12 -04:00
crypto.go chore: upgrade libp2p 2022-10-19 15:54:02 -04:00
hex.go fix: make 0x prefix optional (#306) 2022-09-14 15:19:04 -04:00
ip.go fix: enodeToMultiaddress when using ipv6 2023-06-01 14:02:18 -04:00
logger.go feat: set zap core when using `WithLogger` 2023-02-01 19:38:04 -04:00
multiaddr.go chore: extract `EncapsulatePeerID` 2023-07-07 12:04:05 -04:00
ntp.go feat: add ntp timesource 2022-12-09 10:20:16 -04:00
peer.go feat: support serviceslots in peermanager (#631) 2023-08-10 18:28:22 +05:30
time.go feat: add ntp timesource 2022-12-09 10:20:16 -04:00
time_test.go refactor: use int64 timestamps (#189) 2022-02-23 11:01:53 -04:00