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
4916e4847a
34 changed files with 868 additions and 235 deletions
|
@ -1145,6 +1145,70 @@ class SetExtMessagesBroadcastDisabledQuery : public Query {
|
|||
bool value;
|
||||
};
|
||||
|
||||
class AddPrivateExtMsgOverlayQuery : public Query {
|
||||
public:
|
||||
AddPrivateExtMsgOverlayQuery(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 "addprivateextmsgoverlay";
|
||||
}
|
||||
static std::string get_help() {
|
||||
return "addprivateextmsgoverlay <filename>\tadd private overlay for external messages with config from file "
|
||||
"<filename>";
|
||||
}
|
||||
std::string name() const override {
|
||||
return get_name();
|
||||
}
|
||||
|
||||
private:
|
||||
std::string file_name_;
|
||||
};
|
||||
|
||||
class DelPrivateExtMsgOverlayQuery : public Query {
|
||||
public:
|
||||
DelPrivateExtMsgOverlayQuery(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 "delprivateextmsgoverlay";
|
||||
}
|
||||
static std::string get_help() {
|
||||
return "delprivateextmsgoverlay <name>\tdelete private overlay for external messages with name <name>";
|
||||
}
|
||||
std::string name() const override {
|
||||
return get_name();
|
||||
}
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
};
|
||||
|
||||
class ShowPrivateExtMsgOverlaysQuery : public Query {
|
||||
public:
|
||||
ShowPrivateExtMsgOverlaysQuery(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 "showprivateextmsgoverlays";
|
||||
}
|
||||
static std::string get_help() {
|
||||
return "showprivateextmsgoverlays\tshow all private overlay for external messages";
|
||||
}
|
||||
std::string name() const override {
|
||||
return get_name();
|
||||
}
|
||||
};
|
||||
|
||||
class GetValidatorSessionsInfoQuery : public Query {
|
||||
public:
|
||||
GetValidatorSessionsInfoQuery(td::actor::ActorId<ValidatorEngineConsole> console, Tokenizer tokenizer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue