1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

updated submodules, bugfixes

- added new fift/func code for validator complaint creation
- bugfixes in validator
- updates in tonlib
- new versions of rocksdb/abseil
- hardfork support
This commit is contained in:
ton 2020-04-27 16:01:46 +04:00
parent 16a4566091
commit 9f008b129f
129 changed files with 8438 additions and 879 deletions

View file

@ -195,10 +195,10 @@ class ValidatorEngine : public td::actor::Actor {
td::Clocks::Duration sync_ttl_ = 0;
td::Clocks::Duration archive_ttl_ = 0;
td::Clocks::Duration key_proof_ttl_ = 0;
td::uint32 db_depth_ = 33;
bool read_config_ = false;
bool started_keyring_ = false;
bool started_ = false;
ton::BlockSeqno truncate_seqno_{0};
std::set<ton::CatchainSeqno> unsafe_catchains_;
@ -216,9 +216,6 @@ class ValidatorEngine : public td::actor::Actor {
fift_dir_ = str;
}
void set_db_root(std::string db_root);
void set_db_depth(td::uint32 value) {
db_depth_ = value;
}
void set_state_ttl(td::Clocks::Duration t) {
state_ttl_ = t;
}
@ -234,6 +231,9 @@ class ValidatorEngine : public td::actor::Actor {
void set_key_proof_ttl(td::Clocks::Duration t) {
key_proof_ttl_ = t;
}
void set_truncate_seqno(ton::BlockSeqno seqno) {
truncate_seqno_ = seqno;
}
void add_ip(td::IPAddress addr) {
addrs_.push_back(addr);
}