mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Add base64 key input parameter to LiteClient
This commit is contained in:
parent
59fcd7cbd5
commit
112bed0478
2 changed files with 14 additions and 0 deletions
|
@ -4261,6 +4261,8 @@ int main(int argc, char* argv[]) {
|
|||
});
|
||||
p.add_option('p', "pub", "remote public key",
|
||||
[&](td::Slice arg) { td::actor::send_closure(x, &TestNode::set_public_key, td::BufferSlice{arg}); });
|
||||
p.add_option('b', "b64", "remote public key as base64",
|
||||
[&](td::Slice arg) { td::actor::send_closure(x, &TestNode::decode_public_key, td::BufferSlice{arg}); });
|
||||
p.add_option('d', "daemonize", "set SIGHUP", [&]() {
|
||||
td::set_signal_handler(td::SignalType::HangUp, [](int sig) {
|
||||
#if TD_DARWIN || TD_LINUX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue