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

Tonlib: change liteservers on query timeout or connection close

This commit is contained in:
SpyCheese 2022-10-04 15:12:13 +03:00
parent 69cee95abb
commit 33a079962f
16 changed files with 117 additions and 37 deletions

View file

@ -48,6 +48,7 @@ class AdnlQuery : public td::actor::Actor {
}
void alarm() override;
void result(td::BufferSlice data);
void set_error(td::Status error);
void start_up() override {
alarm_timestamp() = timeout_;
}