1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-13 11:42:18 +00:00
Commit graph

845 commits

Author SHA1 Message Date
SpyCheese
7241522de2 Remove obsolete interface for importing blocks 2022-08-19 18:24:16 +03:00
SpyCheese
51e6885f2c Update validator config format; partial liteservers and their support in liteclient 2022-08-19 18:24:16 +03:00
SpyCheese
a792565afa Fix MSVC compilation error 2022-08-19 18:24:16 +03:00
SpyCheese
e5718c499f Increase number of neighbours in BroadcastSimple::distribute
(make it consistent with BroadcastFec)
2022-08-19 18:24:16 +03:00
SpyCheese
5be10b1e6b Add retries in validator group + bugfix 2022-08-19 18:24:15 +03:00
SpyCheese
212c07f2f0 Change update_shard_configuration 2022-08-19 18:24:15 +03:00
SpyCheese
ac7a33497b Validate msg queue proof 2022-08-19 18:24:15 +03:00
SpyCheese
cffffbab79 Fix CE 2022-08-19 18:24:15 +03:00
SpyCheese
e43e235143 Get neighbors' msg queues from other nodes 2022-08-19 18:24:15 +03:00
SpyCheese
1869a25062 Process adnl query errors 2022-08-19 18:24:15 +03:00
SpyCheese
7ac60bea7d New shard overlays 2022-08-19 18:24:15 +03:00
SpyCheese
53270a00e6 Add CollatorNode and make validators request blocks from it 2022-08-19 18:24:15 +03:00
SpyCheese
996c23e506 Shardchain validation without monitoring shardchains 2022-08-19 18:24:14 +03:00
SpyCheese
bdfca7afef Remove unused code 2022-08-19 18:24:14 +03:00
SpyCheese
415ace3da9 Exporting and importing candidates using validator-engine-console; lite mode for validator group 2022-08-19 18:24:14 +03:00
SpyCheese
625516c568 Lite-mode for validate-query, more collated data in collator 2022-08-19 18:24:14 +03:00
SpyCheese
849d995346 Add getvalidatorsessions query to validator-engine-console 2022-08-19 18:24:14 +03:00
SpyCheese
9465fd866a Fix validator-engine-console not stopping after error 2022-08-18 21:52:50 +03:00
SpyCheese
417c3bb640 More detailed validator session stats 2022-08-18 21:52:08 +03:00
SpyCheese
b3e6819f3f Log validator session stats to file 2022-08-18 21:51:57 +03:00
EmelyanenkoK
17c561c4db
Merge pull request #439 from ton-blockchain/master
Merge master
2022-08-17 08:02:56 +03:00
ms
f95f1a5874
Add tonlib method raw.sendMessageReturnHash (#423)
* Add tonlib method raw.sendMessageReturnHash

* resolve tlo

Co-authored-by: ms <dungeon666master@protonmail.com>
2022-08-15 20:04:24 +03:00
Andrey Tvorozhkov
c1f281d814
Add addr@+ / addr@ functions to parse addr from slice (#366)
Add addr@ to parse `addr_none$00` / `addr_extern$01` / `addr_std$10` / `addr_var$11` from slice.

Tests:

```
<b b{00} s, b> <s addr@  ."addr_none$00 parsed: " print-addr cr  // addr_none$00
<b b{01} s, 10 9 u, b{1101010101} s, b> <s addr@ ."addr_extern$01 parsed: " print-addr cr // addr_extern$01
<b b{10} s, b{1} s, 10 30 u, b{1111111111} s, -1 8 i, x{8000000000000000000000000000000000000000000000000000000000000000} s, b> <s addr@ ."addr_std$10 with Anycast parsed: " print-addr  cr // addr_std$10 with Anycast
<b b{10} s, b{0} s, -1 8 i, x{8000000000000000000000000000000000000000000000000000000000000000} s, b> <s addr@ ."addr_std$10 without Anycast parsed: " print-addr cr // addr_std$10 without Anycast
<b b{11} s, b{1} s, 10 30 u, b{1111111111} s, 256 9 u, -10 32 i, x{8000000000000000000000000000000000000000000000000000000000000000} s, b> <s addr@ ."addr_var$11 with Anycast parsed: " print-addr cr // addr_var$11
<b b{11} s, b{0} s, 256 9 u, -10 32 i, x{8000000000000000000000000000000000000000000000000000000000000000} s, b> <s addr@ ."addr_var$10 with Anycast parsed: " print-addr cr // addr_var$11
```
2022-08-15 18:35:27 +03:00
Doge
36fbe3a2ac
Update links to global configs (#398)
* Fix the document

* Add link to ton.org/docs to FullNode howto

* Update links to config fullnode

* Another link update (fullnode docs)

* Update links to config (TonSites)

* Update config links (Validator docs)

* Update config links (lite-client docs)

Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2022-08-15 18:29:02 +03:00
andreypfau
e36452fffe
Explicitly add ValueFlow prefix (#411) 2022-08-15 18:23:23 +03:00
ms
6185e3b18f
Add tonlib method smc.getLibraries (#428)
Co-authored-by: ms <dungeon666master@protonmail.com>
2022-08-15 18:17:41 +03:00
EmelyanenkoK
9640a2794a
Merge pull request #438 from psydvl/fix
crypto/vm: fix include
2022-08-11 13:06:52 +03:00
Dmitriy
fb3077af9b crypto/vm: fix include 2022-08-11 12:27:47 +03:00
EmelyanenkoK
570da56a9e
Merge pull request #436 from ton-blockchain/testnet
Fix validator session options hash
2022-08-10 10:16:27 +03:00
EmelyanenkoK
054c5780d9
Add acknowledgments to Changelog 2022-08-10 10:14:36 +03:00
EmelyanenkoK
f2155c4a0c
Update Changelog.md 2022-08-09 16:05:40 +03:00
EmelyanenkoK
3525cd5c70
Merge pull request #434 from SpyCheese/master
Fix validator session options hash; fix proto_version
2022-08-09 14:27:20 +03:00
SpyCheese
30ba32bef9 Fix validator session options hash; fix proto_version 2022-08-09 13:18:06 +03:00
EmelyanenkoK
ce65245a69
Merge pull request #433 from ton-blockchain/testnet
Merge node updates
2022-08-08 12:48:00 +03:00
EmelyanenkoK
acba17a025
Fix README 2022-08-08 09:42:23 +03:00
SpyCheese
8d7f1bba73
Update catchain (#432)
* Update catchain

* Update ton_api.tlo
2022-08-08 09:31:36 +03:00
EmelyanenkoK
5101b404a4 Merge branch 'master' into testnet 2022-08-04 17:45:31 +03:00
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
EmelyanenkoK
40cec56e28
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:48:19 +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
neodiX42
fecf760aae
Adjust Mac OS non-arm build for upgraded abseil (#416)
* Update and rename ubuntu-18.04-compile.yml to ubuntu-compile.yml

* Update ubuntu-compile.yml

segregate output binaries

* Update macos-10.15-compile.yml

Add testnet branch to github action and compilation flag -std=c++17

* Update macos-10.15-compile.yml

remove branch filter

* Update windows2019x64-compile.yml

* Update windows2019x64-compile.yml

add flag /std:c++17

* Update windows2019x64-compile.yml

* Update windows2019x64-compile.yml

* Update ubuntu-compile.yml

Add  -DCMAKE_CXX_FLAGS="-std=c++17"

* use CMAKE_CXX_STANDARD

* Update macos-10.15-compile.yml

remove -std=c++17 flag

* Update ubuntu-compile.yml

remove -DCMAKE_CXX_FLAGS="-std=c++17" flag

* Update ubuntu-compile.yml

remove space

* Update ubuntu-18.04-ton-ccpcheck.yml

remove branch filter

* Update docker-ubuntu-image.yml

remove branch filter

Co-authored-by: dungeon-master-666 <dungeon666master@protonmail.com>
2022-07-05 19:52:12 +03:00
SpyCheese
90e06e3394
Fix compilation errors in windows (#417) 2022-06-30 15:18:40 +03:00
neodiX42
f6bf3d696d
Update windows2019x64-compile.yml (#418)
Allow Windows github action to run against any branch
2022-06-30 15:18:11 +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
neodiX42
6fb01df1d2
Compile TON against Ubuntu 18.04, 20.04 and 22.04 in a single github action (#415)
* Update and rename ubuntu-18.04-compile.yml to ubuntu-compile.yml

* Update ubuntu-compile.yml

segregate output binaries
2022-06-29 22:08:02 +03:00
EmelyanenkoK
e916363d5a
Merge pull request #414 from SpyCheese/fix-ub
Fix undefined behavior for exotic endianness
2022-06-29 18:07:32 +03:00
SpyCheese
7e207dc78f Update DNS resolver in liteclient and tonlib 2022-06-29 17:59:30 +03:00
SpyCheese
3d8d7b5c28 Update crc32c to 1.1.2 2022-06-27 10:24:21 +03:00
SpyCheese
b398862cf8 Fix error handling in ServerSocketFd.cpp 2022-06-27 10:22:39 +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