1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Improve dht lookup in overlays (#1104)

Continue dht lookup even if value was found
This commit is contained in:
SpyCheese 2024-08-15 15:26:35 +03:00 committed by GitHub
parent 77a816e461
commit 9661676646
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 127 additions and 35 deletions

View file

@ -166,7 +166,8 @@ class OverlayImpl : public Overlay {
certs_[key] = std::move(cert);
}
void receive_dht_nodes(td::Result<dht::DhtValue> res, bool dummy);
void receive_dht_nodes(dht::DhtValue v);
void dht_lookup_finished(td::Status S);
void update_dht_nodes(OverlayNode node);
void update_neighbours(td::uint32 nodes_to_change);