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

285 commits

Author SHA1 Message Date
neodiX42
178016a9f1
Update docker README.md
Update the link to the TON docker repo
2022-11-22 08:53:44 +01:00
EmelyanenkoK
20758d6bdd
Merge pull request #489 from awesome-doge/patch-1
add: TON Overflow
2022-10-20 20:35:58 +03:00
Doge
c6ab9275b8
add: TON Overflow 2022-10-12 21:15:39 +08:00
EmelyanenkoK
701fc6afad
Merge pull request #487 from SpyCheese/master
Fix emulate_not in func
2022-10-12 14:24:49 +03:00
SpyCheese
91580e7ebf Fix emulate_not in func 2022-10-12 14:09:15 +03:00
EmelyanenkoK
585c5d5b54 Add notes for 10.2022 update 2022-10-06 09:17:33 +03:00
EmelyanenkoK
b640f06846 Add comments to stdlib 2022-10-06 09:16:44 +03:00
EmelyanenkoK
4b940f8bad
Merge pull request #480 from ton-blockchain/testnet
Merge dev branch
2022-10-03 09:25:27 +03:00
EmelyanenkoK
f8cc01a5fe
Merge pull request #479 from SpyCheese/testnet
Add validity checks to RLDP and c4/c5
2022-10-03 09:23:18 +03:00
SpyCheese
495327099c Check level of c4 and c5 2022-10-03 09:15:41 +03:00
SpyCheese
e05af05635 Check fec type in incoming messages in RLDP 2022-10-03 09:14:50 +03:00
EmelyanenkoK
ac9fc3a515
Merge pull request #478 from ton-blockchain/upd-dns-smartcontracts
auto-dns & manual-dns smartcontracts updated to actual DNS standard
2022-09-30 14:21:09 +03:00
EmelyanenkoK
b96ab80dfd Merge ton_api.tlo 2022-09-30 12:36:31 +03:00
tolya-yanot
313d37e134 auto-dns & manual-dns smartcontracts updated to actual DNS standard version by starlightduck 2022-09-30 12:14:14 +03:00
EmelyanenkoK
1ded7af335
Merge pull request #476 from SpyCheese/tonproxy-v1
Improve TON-proxy stability
2022-09-30 12:06:32 +03:00
SpyCheese
a6e38b7cde Fix writing payload to http 2022-09-29 23:29:42 +03:00
SpyCheese
05bbd9e0ee Remove Content-Length limit 2022-09-29 18:41:47 +03:00
SpyCheese
e39e2d884f Use new dns interface 2022-09-29 17:06:40 +03:00
SpyCheese
440c42acde rldp-http-proxy: add DNS cache 2022-09-29 17:05:50 +03:00
SpyCheese
9107bcaf24 Correctly return errors from proxy 2022-09-29 17:04:56 +03:00
SpyCheese
c55b6f84a5 HTTP tunnel in rldp-http-proxy 2022-09-29 17:03:57 +03:00
SpyCheese
fc8da44940
Fix compilation of muliplication (#475) 2022-09-29 09:24:15 +03:00
SpyCheese
7d810da5be
Fix array indexing in get_neighbours (#474) 2022-09-27 11:51:30 +03:00
SpyCheese
5c2ad4a6c7 Tests for func with scripts 2022-09-23 16:27:18 +03:00
EmelyanenkoK
6a72aba9af
Bump func version 2022-09-22 16:55:14 +03:00
EmelyanenkoK
d23267d996
Add triple quotes asms (#463)
* Add python-like triple quotes for multiline strings

* Add test for multiline asm

* Allow asm definition duplicate

* Asm duplicate: add test & fixes

* Fix multiline asm

* Fix asm duplicate

Co-authored-by: legaii <jgates.ardux@gmail.com>
2022-09-22 16:54:26 +03:00
EmelyanenkoK
e913871f4f
Merge pull request #468 from ton-blockchain/master
Merge upstream
2022-09-21 17:14:39 +03:00
EmelyanenkoK
36e081a639
Merge pull request #467 from SpyCheese/testnet
Change recursion to loop in cell loading
2022-09-21 11:10:43 +03:00
SpyCheese
bb5bc6178c Change recursion to loop in CellSlice 2022-09-21 11:04:40 +03:00
Trinketer22
d11580dfb3
Compiler -march fix for not supported arch (#444)
I think there is an issue with the way -march flag is handled in the
current build system.

It is set to native (heavy cpu specific optimizations) via TON_ARCH and it is never
checked if it is supported by the compiler.

That's what is causing all those issues with apple m1 builds or any
other arm system.

Without checking early, build will only fail at link stage.
Strict arch support checking is due.

1. Check if "-march=${TON_ARCH}" flag is supported by the compiler
   Adds it to CXX_FLAGS if al good

2. Otherwise if such flag is not supported but TON_ARCH is set to default we
   continue execution without setting march and leaving arch decisions to
   cmake build system

3. Otherwise user specified TON_ARCH intentionally and current arch is
   not supported by the compiler.
   Therefore we terminate build process immediately and let user know
   what's the matter.

Co-authored-by: Trinketer22 <trinketer22@localhost>
2022-09-20 22:26:59 +03:00
Anton Alisov
5baf3276a4
Fix incorrect copy-paste in test/actors_core.cpp (#197)
Seems like incorrect copy-paste, but maybe that was intentional?
2022-09-20 16:01:29 +03:00
Starlight Duck
3c380e0a7b
Implement compilation and pre-computation of logical operations (#437)
* Implement compilation and pre-computation of logical operations (and, or, xor, not)

* Fix emulate_and optimization

* Fix variable flags in emulate_not

* Rename co2.fc to co3.fc

Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2022-09-20 14:19:42 +03:00
EmelyanenkoK
3b1d33f543
Allow constants with the same name and value (#462)
Co-authored-by: legaii <jgates.ardux@gmail.com>
2022-09-20 14:16:53 +03:00
SpyCheese
2512f0287b
Tonlib method getShardBlockProof (#465)
* Tonlib method getShardBlockProof

* Clarify limit of result.size() in getShardBlockProof
2022-09-20 10:49:28 +03:00
EmelyanenkoK
9c6787d2ff
Fix undefined behavior code (#464)
* Fix UB in arithmetics

* Fix misaligned allocations in validator sessions

* Fix integer overflow in bigint.hpp

* Fix potential UB

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-09-19 17:31:54 +03:00
EmelyanenkoK
440d06962a Merge branch 'SpyCheese-tonlib-get-signatures' into testnet 2022-09-18 21:20:14 +03:00
EmelyanenkoK
4cdb82d0ce Merge tonlib_api.tlo 2022-09-18 21:18:19 +03:00
Ivan Siomash
1464ae0b0a
Remove c++17 structure bindings from GetPerfTimerStats (#460)
* Remove c++17 structure bindings
2022-09-18 16:02:08 +03:00
ms
d9a5b2ccdc
Add tonlib function raw.getTransactionsV2 (#461)
* Add parameter count to raw.getTransactions

* fix tlo

* Add tonlib function raw.getTransactionsV2
2022-09-18 16:01:07 +03:00
Ivan Siomash
5b2e96c2fa
Fixes for GetPerfTimerStats (#457)
* getperftimerstatsjson: fix json format

* getperftimerstatsjson: fix td::min ambiguous template parameter
2022-09-15 10:26:17 +03:00
Andrey Tvorozhkov
bd5f4f61ac
Fix dump of null items (#459)
Co-authored-by: Andrey Tvorozhkov <andrey@h-labs.ru>
2022-09-15 09:37:27 +03:00
Andrey Tvorozhkov
e40d323fce
Add ~strdump and STRDUMP TVM OP (#452)
* Add ~strdump and STRDUMP TVM OP

Add ~strdump and STRDUMP TVM OP

Add ~strdump and STRDUMP TVM OP

* STRDUMP fixes

Co-authored-by: Andrey Tvorozhkov <andrey@h-labs.ru>
2022-09-14 12:36:54 +03:00
AlexeyFSL
e2cca03a78
Func and Fift lib for WASM (#455)
* Add social badges

Add telegram, Twitter and Stack Overflow badges in Readme

* update README.md badges

* patch for wasm build

* fix narrowing conversion error for clang compiler

* refactor func code

* funcfift lib implementation

* fix funcfift lib
fix CMakeFile

* fix rvalue missing

* remove unused field from result json

* name fix
remove unused target

* rename

* added script for building funcfiftlib to wasm

* fix json fild names

* fix commit hash for script

* added version function to funcfiftlib

* update commit hash for script

* add realpath fail processing
fix DISABLE_EXCEPTION_CATCHING option

* update hash in script

Co-authored-by: Anthony Tsivarev <tsivarev.a@gmail.com>
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
Co-authored-by: tolya-yanot <1449561+tolya-yanot@users.noreply.github.com>
2022-09-14 12:36:01 +03:00
EmelyanenkoK
45e99a5c63
Merge pull request #458 from ton-blockchain/master
Merge upstream
2022-09-14 12:35:28 +03:00
EmelyanenkoK
8329a58994
Add GetPerfTimerStats (#451)
* Add getperfwarningtimeraverage query for validator-engine-console

* Fix for getperfwarningtimeraverage query

* getperftimerstats

* Add history max size: 1 hour

* PerfWarningTimer: move callback instead of copy

* PerfWarningTimer: fix move constructor bug

* PerfWarningTimer: fix bug: lifetime of the callback was greater than lifetime of the local variable 'manager' captured by reference

* Fix validate-query.cpp: 'manager' used after it was moved

* PerfWarningTimer: remove logs

* getperftimerstats: write to json file

* getperftimerstatsjson

Co-authored-by: legaii <jgates.ardux@gmail.com>
Co-authored-by: Ivan Siomash <106972486+legaii@users.noreply.github.com>
2022-09-10 12:57:13 +03:00
SpyCheese
3e24af5d15 Tonlib function getMasterchainBlockSignatures 2022-09-09 11:03:53 +03:00
Tolya
35d17249e6
Merge pull request #450 from ton-blockchain/dns-resolve-update
Fix DNS resolve in liteclient and tonlib
2022-08-30 03:44:33 +03:00
tolya-yanot
da65be6ee2 Fix DNS resolve in liteclient and tonlib 2022-08-30 03:30:00 +03:00
Tolya
8376c289d7
Merge pull request #449 from SpyCheese/dns-resolve-fix
Fix DNS resolve in liteclient and tonlib
2022-08-30 03:17:22 +03:00
SpyCheese
b44e5403c8 Fix DNS resolve in liteclient and tonlib 2022-08-29 11:04:03 +03:00