mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Merge branch 'testnet' into block-generation
This commit is contained in:
commit
f4fd3ff3be
246 changed files with 7895 additions and 5430 deletions
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
This file is part of TON Blockchain source code.
|
||||
|
||||
TON Blockchain is free software; you can redistribute it and/or
|
||||
|
@ -166,6 +166,9 @@ class ValidatorEngine : public td::actor::Actor {
|
|||
std::string local_config_ = "";
|
||||
std::string global_config_ = "ton-global.config";
|
||||
std::string config_file_;
|
||||
std::string temp_config_file() const {
|
||||
return config_file_ + ".tmp";
|
||||
}
|
||||
|
||||
std::string fift_dir_ = "";
|
||||
|
||||
|
@ -214,6 +217,7 @@ class ValidatorEngine : public td::actor::Actor {
|
|||
double sync_ttl_ = 0;
|
||||
double archive_ttl_ = 0;
|
||||
double key_proof_ttl_ = 0;
|
||||
td::uint32 celldb_compress_depth_ = 0;
|
||||
bool read_config_ = false;
|
||||
bool started_keyring_ = false;
|
||||
bool started_ = false;
|
||||
|
@ -274,6 +278,9 @@ class ValidatorEngine : public td::actor::Actor {
|
|||
keys_[key.compute_short_id()] = key;
|
||||
}
|
||||
void schedule_shutdown(double at);
|
||||
void set_celldb_compress_depth(td::uint32 value) {
|
||||
celldb_compress_depth_ = value;
|
||||
}
|
||||
void set_not_all_shards() {
|
||||
not_all_shards_ = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue