From 7e2f917c84d05e284141cc7260a08332606282ff Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Tue, 13 Sep 2022 15:37:49 -0400 Subject: [PATCH] Dht providers lru (#247) * upgrading nimbus build system to latest * use new `updateRecord` * bump nim-libp2p-dht * bump nimbus build system * bumping deps * update to latest dht --- codex/discovery.nim | 5 ++++- vendor/asynctest | 2 +- vendor/nim-bearssl | 2 +- vendor/nim-ethers | 2 +- vendor/nim-libp2p-dht | 2 +- vendor/nimbus-build-system | 2 +- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/codex/discovery.nim b/codex/discovery.nim index 98089383..3c46767d 100644 --- a/codex/discovery.nim +++ b/codex/discovery.nim @@ -137,7 +137,10 @@ method provide*(d: Discovery, host: ca.Address) {.async, base.} = trace "Provided to nodes", nodes = nodes.len proc start*(d: Discovery) {.async.} = - d.protocol.updateRecord(d.localInfo.signedPeerRecord).expect("updating SPR") + d.protocol.updateRecord( + d.localInfo.signedPeerRecord.some) + .expect("updating SPR") + d.protocol.open() d.protocol.start() diff --git a/vendor/asynctest b/vendor/asynctest index a236a5f0..5347c59b 160000 --- a/vendor/asynctest +++ b/vendor/asynctest @@ -1 +1 @@ -Subproject commit a236a5f0f3031573ac2cb082b63dbf6e170e06e7 +Subproject commit 5347c59b4b057443a014722aa40800cd8bb95c69 diff --git a/vendor/nim-bearssl b/vendor/nim-bearssl index f4c4233d..dc62f4fc 160000 --- a/vendor/nim-bearssl +++ b/vendor/nim-bearssl @@ -1 +1 @@ -Subproject commit f4c4233de453cb7eac0ce3f3ffad6496295f83ab +Subproject commit dc62f4fccd2d40c884009ae8f2b14bb6a86a55cf diff --git a/vendor/nim-ethers b/vendor/nim-ethers index 392eab04..80994959 160000 --- a/vendor/nim-ethers +++ b/vendor/nim-ethers @@ -1 +1 @@ -Subproject commit 392eab04c43e515eaaea2a6a5098fff19548fa54 +Subproject commit 80994959cebf880bbac34a0400b684cf2a5644d1 diff --git a/vendor/nim-libp2p-dht b/vendor/nim-libp2p-dht index 9a872518..39c0ffc9 160000 --- a/vendor/nim-libp2p-dht +++ b/vendor/nim-libp2p-dht @@ -1 +1 @@ -Subproject commit 9a872518d621bf8b390f88cd65617bca6aca1d2d +Subproject commit 39c0ffc970bc40d7f9f6282fd037b6bf621ffc5c diff --git a/vendor/nimbus-build-system b/vendor/nimbus-build-system index 25a4c270..daff2b46 160000 --- a/vendor/nimbus-build-system +++ b/vendor/nimbus-build-system @@ -1 +1 @@ -Subproject commit 25a4c270330026442e09f6cddfb7a944da7cfa4b +Subproject commit daff2b46700894a1771241dafcf26ee31bb2fdf5