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
eb4c876f22
21 changed files with 243 additions and 97 deletions
|
|
@ -1208,6 +1208,28 @@ class ShowCustomOverlaysQuery : public Query {
|
|||
}
|
||||
};
|
||||
|
||||
class SetStateSerializerEnabledQuery : public Query {
|
||||
public:
|
||||
SetStateSerializerEnabledQuery(td::actor::ActorId<ValidatorEngineConsole> console, Tokenizer tokenizer)
|
||||
: Query(console, std::move(tokenizer)) {
|
||||
}
|
||||
td::Status run() override;
|
||||
td::Status send() override;
|
||||
td::Status receive(td::BufferSlice data) override;
|
||||
static std::string get_name() {
|
||||
return "setstateserializerenabled";
|
||||
}
|
||||
static std::string get_help() {
|
||||
return "setstateserializerenabled <value>\tdisable or enable persistent state serializer; value is 0 or 1";
|
||||
}
|
||||
std::string name() const override {
|
||||
return get_name();
|
||||
}
|
||||
|
||||
private:
|
||||
bool enabled_;
|
||||
};
|
||||
|
||||
class GetValidatorSessionsInfoQuery : public Query {
|
||||
public:
|
||||
GetValidatorSessionsInfoQuery(td::actor::ActorId<ValidatorEngineConsole> console, Tokenizer tokenizer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue