mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Write config.json using temp file (#839)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
parent
b3be4283ff
commit
c8918f0c02
4 changed files with 33 additions and 9 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
|
||||
|
@ -152,6 +152,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_ = "";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue