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:
parent
77a816e461
commit
9661676646
8 changed files with 127 additions and 35 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue