Skip to content

Commit 8e6850e

Browse files
committed
update libp2p to v15 and use new LastSeenOutBoundBook
1 parent d169910 commit 8e6850e

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

vendor/nim-libp2p

Submodule nim-libp2p updated 87 files

vendor/nim-lsquic

Submodule nim-lsquic updated 56 files

waku.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ requires "nim >= 2.2.4",
2424
"stew",
2525
"stint",
2626
"metrics",
27-
"libp2p >= 1.14.3",
27+
"libp2p >= 1.15.0",
2828
"web3",
2929
"presto",
3030
"regex",

waku/node/peer_manager/waku_peer_store.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ proc delete*(peerStore: PeerStore, peerId: PeerId) =
8585

8686
proc peers*(peerStore: PeerStore): seq[RemotePeerInfo] =
8787
let allKeys = concat(
88-
toSeq(peerStore[LastSeenBook].book.keys()),
88+
toSeq(peerStore[LastSeenOutboundBook].book.keys()),
8989
toSeq(peerStore[AddressBook].book.keys()),
9090
toSeq(peerStore[ProtoBook].book.keys()),
9191
toSeq(peerStore[KeyBook].book.keys()),

0 commit comments

Comments
 (0)