mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
rldp-http-proxy: use tonlib
- rldp-http-proxy used TONLib to resolve domains via DNS smartcontract - updated tonlib - bugfixes
This commit is contained in:
parent
1de39f5d7c
commit
493ae2410c
34 changed files with 816 additions and 153 deletions
|
@ -34,6 +34,7 @@ inputKeyFake = InputKey;
|
|||
exportedKey word_list:vector<secureString> = ExportedKey;
|
||||
exportedPemKey pem:secureString = ExportedPemKey;
|
||||
exportedEncryptedKey data:secureBytes = ExportedEncryptedKey;
|
||||
exportedUnencryptedKey data:secureBytes = ExportedUnencryptedKey;
|
||||
|
||||
bip39Hints words:vector<string> = Bip39Hints;
|
||||
|
||||
|
@ -178,9 +179,11 @@ deleteAllKeys = Ok;
|
|||
exportKey input_key:InputKey = ExportedKey;
|
||||
exportPemKey input_key:InputKey key_password:secureBytes = ExportedPemKey;
|
||||
exportEncryptedKey input_key:InputKey key_password:secureBytes = ExportedEncryptedKey;
|
||||
exportUnencryptedKey input_key:InputKey = ExportedUnencryptedKey;
|
||||
importKey local_password:secureBytes mnemonic_password:secureBytes exported_key:exportedKey = Key;
|
||||
importPemKey local_password:secureBytes key_password:secureBytes exported_key:exportedPemKey = Key;
|
||||
importEncryptedKey local_password:secureBytes key_password:secureBytes exported_encrypted_key:exportedEncryptedKey = Key;
|
||||
importUnencryptedKey local_password:secureBytes exported_unencrypted_key:exportedUnencryptedKey = Key;
|
||||
changeLocalPassword input_key:InputKey new_local_password:secureBytes = Key;
|
||||
|
||||
encrypt decrypted_data:secureBytes secret:secureBytes = Data;
|
||||
|
@ -220,7 +223,7 @@ smc.getData id:int53 = tvm.Cell;
|
|||
smc.getState id:int53 = tvm.Cell;
|
||||
smc.runGetMethod id:int53 method:smc.MethodId stack:vector<tvm.StackEntry> = smc.RunResult;
|
||||
|
||||
dns.resolve account_address:accountAddress name:string category:int32 = dns.Resolved;
|
||||
dns.resolve account_address:accountAddress name:string category:int32 ttl:int32 = dns.Resolved;
|
||||
|
||||
onLiteServerQueryResult id:int64 bytes:bytes = Ok;
|
||||
onLiteServerQueryError id:int64 error:error = Ok;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue