mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
LS queries to nonfinal blocks (#941)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
parent
0feaaf591c
commit
9452c367e4
23 changed files with 809 additions and 150 deletions
|
@ -207,6 +207,7 @@ class ValidatorEngine : public td::actor::Actor {
|
|||
size_t max_open_archive_files_ = 0;
|
||||
double archive_preload_period_ = 0.0;
|
||||
bool disable_rocksdb_stats_ = false;
|
||||
bool nonfinal_ls_queries_enabled_ = false;
|
||||
bool read_config_ = false;
|
||||
bool started_keyring_ = false;
|
||||
bool started_ = false;
|
||||
|
@ -276,6 +277,9 @@ class ValidatorEngine : public td::actor::Actor {
|
|||
void set_disable_rocksdb_stats(bool value) {
|
||||
disable_rocksdb_stats_ = value;
|
||||
}
|
||||
void set_nonfinal_ls_queries_enabled() {
|
||||
nonfinal_ls_queries_enabled_ = true;
|
||||
}
|
||||
void start_up() override;
|
||||
ValidatorEngine() {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue