mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Various changes in node (#1230)
* Remove unneeded "wait_neighbours_not_empty" * Fix "round_started_at" for the first round * Fix use after move in overlay.cpp * Move "last gc masterchain state" stat to CellDbIn::prepare_stats * Fix disabling state serializer
This commit is contained in:
parent
b78199370e
commit
6755b8314a
10 changed files with 20 additions and 91 deletions
|
@ -992,6 +992,9 @@ ValidatorSessionImpl::ValidatorSessionImpl(catchain::CatChainSessionId session_i
|
|||
}
|
||||
|
||||
void ValidatorSessionImpl::start() {
|
||||
round_started_at_ = td::Timestamp::now();
|
||||
round_debug_at_ = td::Timestamp::in(60.0);
|
||||
stats_init();
|
||||
started_ = true;
|
||||
VLOG(VALIDATOR_SESSION_NOTICE) << this << ": started";
|
||||
|
||||
|
@ -1097,8 +1100,6 @@ void ValidatorSessionImpl::start_up() {
|
|||
|
||||
check_all();
|
||||
td::actor::send_closure(rldp_, &rldp::Rldp::add_id, description().get_source_adnl_id(local_idx()));
|
||||
|
||||
stats_init();
|
||||
}
|
||||
|
||||
void ValidatorSessionImpl::stats_init() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue