1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-12 19:22:37 +00:00
Commit graph

191 commits

Author SHA1 Message Date
EmelyanenkoK
d46e4b3538 A series of FunC improvements (#378)
* Don't use IFJMP/IFNOTJMP in inline functions

* Fix incorrect ifelse branch code generation 

https://github.com/ton-blockchain/ton/issues/374

* Make generate_code_all clearer

* Don't replace IFJMP with IF in inner blocks in inline functions

* Allow unbalance if/else by using RETALT

* Fix wrong PUSHCONT

* Bugfix in IF code generation for inline functions

* Fix unbalanced if/else

* Bugfix and improvements in code generation

* Fix analyzing while(0) in func

https://github.com/ton-blockchain/ton/issues/377

* FunC and Asm.fif: Fix inlining large functions

https://github.com/ton-blockchain/ton/issues/375

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-08-04 14:53:47 +03:00
ms
9191be1546
Return message hash on raw.sendMessage (#421)
* return msg body hash on raw.sendMessage

Co-authored-by: ms <dungeon666master@protonmail.com>
2022-07-16 16:40:47 +03:00
Tolya
eb86234a11
Merge pull request #413 from ton-blockchain/temp-master
Update DNS resolver in liteclient and tonlib
2022-06-29 23:12:57 +03:00
SpyCheese
7e207dc78f Update DNS resolver in liteclient and tonlib 2022-06-29 17:59:30 +03:00
EmelyanenkoK
7e3df93ca2
Merge pull request #409 from sonofmom/bugfix/silence_vm_stack
Silence errant debug stderr output
2022-06-20 11:10:01 +03:00
sonofmom
f599f08791 Silence errant debug stderr output 2022-06-20 00:21:57 +02:00
EmelyanenkoK
09236fba09
Tonlib: add exported function tonlib_client_set_verbosity_level (#406)
Co-authored-by: ms <98183742+dungeon-master-666@users.noreply.github.com>
Co-authored-by: dungeon-master-666 <dungeon666master@protonmail.com>
2022-06-17 10:01:19 +03:00
EmelyanenkoK
8537dd60e6
Fix tests (#405)
* [tonlib] Update master configs and fix test-tonlib-offline

* Fix test-bigint in release build

Co-authored-by: ms <98183742+dungeon-master-666@users.noreply.github.com>
Co-authored-by: dungeon-master-666 <dungeon666master@protonmail.com>
2022-06-13 20:02:32 +03:00
EmelyanenkoK
c00302ced4
Add apple m1 support (#401)
* add m1 support

* Fix in accordance to dungeon-master-666 review

Co-authored-by: awesome-doge <awesomedogewow@gmail.com>
2022-06-11 11:53:49 +03:00
EmelyanenkoK
4257bb83a4
Merge pull request #396 from butterfly1924/patch-3
Provide a new issue template (github)
2022-06-07 09:37:42 +03:00
BAnon
739422e346
chore: provide a new issue template 2022-06-06 23:36:36 +08:00
neodiX42
a9ba27382c
Add tonlibjson.dll to github windows artifacts (#384)
Add tonlibjson.dll to final artifacts
2022-05-25 23:27:36 +03:00
neodiX42
85b5be4e70
Improve gitactions; separate cpp-check (#346)
* Use ninja build tool and compile blockchain-explorer 

Ninja builds TON much faster;

* Use clang instead of gcc

* remove blockchain-explorer

since target not found on github action

* move ccpcheck to other gitaction

* run nativelib-java only against wallets branch for now

* rename gitaction

* Update windows2019x64-tonlib-java.yml

* Update windows2019x64-tonlib-java.yml

* Update macos-10.15-tonlib-java.yml

* Update windows2019x64-tonlib-java.yml

* Update windows2019x64-tonlib-java.yml
2022-05-25 21:50:11 +03:00
EmelyanenkoK
8e9ac8d130
Merge pull request #368 from tvorogme/patch-2
Documentation fix, set addr_extern len:(## 9)
2022-05-24 21:08:37 +03:00
EmelyanenkoK
7dbc294e74
Fix undefined order of clone and move in check_external_message (#381)
* Set precise order of clone and move

* remove excessive copying

* Fix forgotten return

Co-authored-by: dungeon-master-666 <dungeon666master@protonmail.com>
2022-05-24 21:06:37 +03:00
EmelyanenkoK
db3619ed31
Merge pull request #371 from ton-blockchain/release-candidate
Merge updates
2022-05-17 15:56:31 +03:00
EmelyanenkoK
b9481fb08e
Add Changelog to May 22 release 2022-05-16 22:47:01 +03:00
Andrey Tvorozhkov
3da717f426
Documentation fix, set addr_extern len:(## 9) 2022-05-16 22:21:38 +03:00
Andrey Tvorozhkov
cf94ed6283
Documentation fix, set addr_extern len:(## 9) 2022-05-16 22:20:29 +03:00
EmelyanenkoK
d1627b9a87
Merge pull request #365 from SpyCheese/serialize-logs
Add logs in AsyncStateSerializer
2022-05-16 12:39:55 +03:00
SpyCheese
3b4166be69 Add logs in AsyncStateSerializer 2022-05-16 12:29:39 +03:00
EmelyanenkoK
c07394aab5
Optimization of persistent state serialization (#364)
* Fix double serialization of masterchain; increase sync_blocks_before

* Improve logging in DownloadState

* Write persistent state directly to file instead of a buffer

* Don't keep ref to masterchain state in AsyncStateSerializer

* Sparse state serialization over longer period

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-05-15 17:51:24 +03:00
EmelyanenkoK
56f0293650
Merge pull request #363 from dungeon-master-666/testnet
Put back LastConfig callback.
2022-05-14 23:37:38 +03:00
dungeon-master-666
a973a51a87 Put back LastConfig callback. 2022-05-14 22:27:03 +02:00
EmelyanenkoK
d4fc3dfe7f
Merge pull request #359 from starlightduck/func_dev
FunC #include: Use `td::realpath` and add re-inclusion tests
2022-05-12 21:12:39 +03:00
starlightduck
eb35cf653a Use td::realpath and add re-inclusion tests 2022-05-12 18:57:03 +03:00
EmelyanenkoK
ee5db35205
Merge pull request #358 from starlightduck/func_dev
Implement `#include` keyword with advanced checks and backtrace
2022-05-12 16:25:18 +03:00
tolya-yanot
15088bb878 update readme 2022-05-12 16:05:01 +03:00
starlightduck
9356a16b84 Implement #include keyword with advanced checks and backtrace 2022-05-12 12:54:34 +03:00
EmelyanenkoK
1e0b587023
Allow untrusted fecs after check (#356)
* Allow untrusted fecs after check

* FEC: save and resend incoming parts

Co-authored-by: OmicronTau <87443739+OmicronTau@users.noreply.github.com>
Co-authored-by: OmicronTau <omicron@ton.org>
2022-05-11 21:12:04 +03:00
EmelyanenkoK
8cda9fa88e
Update Dockerfile: fix link
Update link to new TON repository in Docker build
2022-05-11 16:54:58 +03:00
neodiX42
586455ff2b
Update link to TON repository in docker build 2022-05-11 14:57:38 +02:00
EmelyanenkoK
ad19a2187b
Allow builds on-demand
Add workflow-dispatch option to docker build
2022-05-11 15:34:24 +03:00
neodiX42
fade39cfb1
Add workflow-dispatch option to docker build 2022-05-11 14:20:39 +02:00
EmelyanenkoK
0fbfc91965
Merge pull request #342 from SpyCheese/fix-node-init-timeout
Increase timeout for downloading persistent states and add logs
2022-05-06 11:40:51 +03:00
EmelyanenkoK
16319ea79e
Merge pull request #349 from newton-blockchain/sop
Merge safe_overlay_plus branch
2022-05-06 11:37:10 +03:00
EmelyanenkoK
0c772185ef Add constants and string literals to funC
* Add special string literals "..."? (s,a,u,h,)

* Add string literal H (256-bit hash)

* Add string literal c (crc32)

* Use td::hex_encode instead of homebrew function and add test

* Fix error codes and use more generic address

* Add support for int and slice constants

* Add support for strongly typed constants

* Add support for precompiled constant expressions (hard!)

Co-authored-by: starlightduck <starlightduck@gmail.com>
2022-05-06 11:13:04 +03:00
starlightduck
0e955793ed Add support for #pragma version and FunC versioning
FunC pragma refined error messages and ^ partials
2022-05-06 11:11:42 +03:00
OmicronTau
0e47c6c8e0 Asm.fif typo in IFBITJMPs 2022-05-06 11:11:06 +03:00
ms
8303f2c84f Fix BlockHeader is_key_block and add gen_utime, flags 2022-05-06 11:10:16 +03:00
Andrey Tvorozhkov
179415f815 Fix tvm_stackEntrySlice in from_tonlib_api 2022-05-06 11:07:13 +03:00
ms
ca167e9282 Remove limit on count of returned out_msgs 2022-05-06 11:06:48 +03:00
ms
b4ac32a452 Fix created_lt for in_out messages 2022-05-06 11:06:48 +03:00
akifoq
34590176eb Fix IF:<{ and IFNOT:<{ empty continuation case
The boolean value should be DROPped in the case the continuation is empty.
2022-05-06 11:06:48 +03:00
ms
45a160d7c1 Add getConfigParam to tonlibjson 2022-05-06 11:06:47 +03:00
EmelyanenkoK
76c2764e7f Sparse state serialization over time by randomized delay 2022-05-06 10:48:35 +03:00
Starlight Duck
3fee04e20a Support libraries in LS and request+caching in TLC 2022-05-06 10:48:05 +03:00
Starlight Duck
7dc980562f tonlib use correct c7: config and address when executing 2022-05-06 10:46:16 +03:00
Alex Melman
64615a9766 rocksdb submodule upgrade to 6.27.3 2022-05-06 10:45:56 +03:00
sonofmom
112bed0478 Add base64 key input parameter to LiteClient 2022-05-06 10:45:44 +03:00