mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
updated tonlib, block routing
- upated tonlib - fixed bug in message routing
This commit is contained in:
parent
ac3eb1a7b8
commit
fd7a8de970
33 changed files with 1002 additions and 381 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "td/utils/common.h"
|
||||
#include "td/utils/logging.h"
|
||||
#include "td/utils/misc.h"
|
||||
#include "td/utils/SharedSlice.h"
|
||||
#include "td/utils/Slice.h"
|
||||
#include "td/utils/StorerBase.h"
|
||||
#include "td/utils/UInt.h"
|
||||
|
@ -233,6 +234,12 @@ class TlStorerToString {
|
|||
store_field_end();
|
||||
}
|
||||
|
||||
void store_field(const char *name, const SecureString &value) {
|
||||
store_field_begin(name);
|
||||
result.append("<secret>");
|
||||
store_field_end();
|
||||
}
|
||||
|
||||
template <class T>
|
||||
void store_field(const char *name, const T &value) {
|
||||
store_field_begin(name);
|
||||
|
@ -240,6 +247,12 @@ class TlStorerToString {
|
|||
store_field_end();
|
||||
}
|
||||
|
||||
void store_bytes_field(const char *name, const SecureString &value) {
|
||||
store_field_begin(name);
|
||||
result.append("<secret>");
|
||||
store_field_end();
|
||||
}
|
||||
|
||||
template <class BytesT>
|
||||
void store_bytes_field(const char *name, const BytesT &value) {
|
||||
static const char *hex = "0123456789ABCDEF";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue