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

Reload validator options when needed

This commit is contained in:
SpyCheese 2022-08-16 13:54:15 +03:00
parent 011e97f53c
commit be2169e523
10 changed files with 47 additions and 4 deletions

View file

@ -91,6 +91,10 @@ class AsyncStateSerializer : public td::actor::Actor {
void fail_handler(td::Status reason);
void fail_handler_cont();
void success_handler();
void update_options(td::Ref<ValidatorManagerOptions> opts) {
opts_ = std::move(opts);
}
};
} // namespace validator