mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Various changes in TVM, github builds and tests (#793)
* Bugfixes in TVM and node * Upgrade to C++17 * Improve GitHub builds * Fix existing tests and partially integrate them into builds --------- Co-authored-by: neodiX42 <namlem@gmail.com> Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
This commit is contained in:
parent
89700cb2aa
commit
5847897b37
122 changed files with 2889 additions and 4100 deletions
|
@ -400,7 +400,6 @@ class NetChannel : public td::actor::Actor {
|
|||
break;
|
||||
} else if (l > alive_end - eps) {
|
||||
alive_begin += alive_step + sleep_step;
|
||||
alive_end = alive_begin + alive_step;
|
||||
} else {
|
||||
double new_l = td::min(alive_end, r);
|
||||
res += (new_l - l) * speed;
|
||||
|
@ -516,9 +515,7 @@ class NetChannel : public td::actor::Actor {
|
|||
queue_ = {};
|
||||
}
|
||||
|
||||
bool ok = false;
|
||||
while (!queue_.empty() && (double)queue_.front().size < got_) {
|
||||
ok = true;
|
||||
auto query = queue_.pop();
|
||||
got_ -= (double)query.size;
|
||||
total_size_ -= (double)query.size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue