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
This commit is contained in:
Dmitriy Ryajov 2022-09-13 15:37:49 -04:00 committed by GitHub
parent df1522c9f8
commit 7e2f917c84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 6 deletions

View File

@ -137,7 +137,10 @@ method provide*(d: Discovery, host: ca.Address) {.async, base.} =
trace "Provided to nodes", nodes = nodes.len trace "Provided to nodes", nodes = nodes.len
proc start*(d: Discovery) {.async.} = 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.open()
d.protocol.start() d.protocol.start()

2
vendor/asynctest vendored

@ -1 +1 @@
Subproject commit a236a5f0f3031573ac2cb082b63dbf6e170e06e7 Subproject commit 5347c59b4b057443a014722aa40800cd8bb95c69

2
vendor/nim-bearssl vendored

@ -1 +1 @@
Subproject commit f4c4233de453cb7eac0ce3f3ffad6496295f83ab Subproject commit dc62f4fccd2d40c884009ae8f2b14bb6a86a55cf

2
vendor/nim-ethers vendored

@ -1 +1 @@
Subproject commit 392eab04c43e515eaaea2a6a5098fff19548fa54 Subproject commit 80994959cebf880bbac34a0400b684cf2a5644d1

@ -1 +1 @@
Subproject commit 9a872518d621bf8b390f88cd65617bca6aca1d2d Subproject commit 39c0ffc970bc40d7f9f6282fd037b6bf621ffc5c

@ -1 +1 @@
Subproject commit 25a4c270330026442e09f6cddfb7a944da7cfa4b Subproject commit daff2b46700894a1771241dafcf26ee31bb2fdf5