1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-15 04:32:21 +00:00
Commit graph

323 commits

Author SHA1 Message Date
SpyCheese
e3823c46f3
Merge pull request #7 from EmelyanenkoK/patch-1
Move CollatorConfig to -41 Config Param
2022-10-17 12:59:09 +03:00
EmelyanenkoK
23dbf2d834
Move CollatorConfig to -41 Config Param 2022-10-15 11:58:01 +03:00
SpyCheese
0e428af807 Tonlib uses partial liteservers 2022-10-06 15:13:10 +03:00
SpyCheese
89771e2a2c Generate tlo and other changes after merge 2022-10-06 14:15:10 +03:00
SpyCheese
eb9d601d4e Merge branch 'tonproxy-v1' into block-generation
# Conflicts:
#	adnl/adnl-query.cpp
#	adnl/adnl-query.h
2022-10-06 13:48:09 +03:00
SpyCheese
636348ffc2 Merge branch 'testnet' into block-generation
# Conflicts:
#	overlay/overlay-fec-broadcast.cpp
#	overlay/overlay.hpp
#	tl/generate/scheme/ton_api.tl
#	tl/generate/scheme/ton_api.tlo
#	validator-engine-console/validator-engine-console-query.cpp
#	validator-engine-console/validator-engine-console-query.h
#	validator-engine-console/validator-engine-console.cpp
#	validator-engine/validator-engine.cpp
#	validator-engine/validator-engine.hpp
#	validator/downloaders/wait-block-state.hpp
#	validator/impl/validate-query.cpp
#	validator/validator.h
2022-10-06 13:46:25 +03:00
SpyCheese
81c0e920c5 Simplify selecting shards for monitor 2022-10-06 13:41:13 +03:00
SpyCheese
c2dde00459 Improve retries in overlay.cpp 2022-10-06 13:41:05 +03:00
SpyCheese
9fb986f6f5 Disable downloading archives during sync 2022-10-06 13:41:02 +03:00
SpyCheese
699a56b951 Send block broadcasts directly to collators 2022-10-06 13:40:53 +03:00
SpyCheese
5500acd1ba Minor bugfixes in http 2022-10-05 23:05:23 +03:00
SpyCheese
836184e566 Increase maximum size of http request 2022-10-04 18:25:25 +03:00
SpyCheese
33a079962f Tonlib: change liteservers on query timeout or connection close 2022-10-04 15:12:13 +03:00
SpyCheese
69cee95abb Bugfixes in rldp-http-proxy and http parser 2022-10-04 11:07:38 +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
b0c2c6c525 Don't send proof of masterchain message queue 2022-09-23 17:23:00 +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
SpyCheese
62a412ac13 Add some required collated data 2022-09-15 20:14:34 +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