mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +03:00
start of iterative dht searches
This commit is contained in:
parent
dc841c550b
commit
ecf7e490d7
6 changed files with 101 additions and 11 deletions
|
@ -106,6 +106,7 @@ func (t *dht) handleReq(req *dhtReq) {
|
|||
}
|
||||
|
||||
func (t *dht) handleRes(res *dhtRes) {
|
||||
t.core.searches.handleDHTRes(res)
|
||||
reqs, isIn := t.reqs[res.key]
|
||||
if !isIn {
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue