Skip to content
Open

Tun #1666

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
724 commits
Select commit Hold shift + click to select a range
a174fb1
Replaced hashmap by b-tree map in large boc serializer (#1686)
Sumrachek Jun 20, 2025
6c9de46
Optimized celldb and package import for archive nodes (#1653)
SpyCheese Jun 20, 2025
5a0f54d
Improve linux portable binaries (#1693)
neodix42 Jun 20, 2025
34cbbbb
Add dht utils for troubleshooting complex deployments (#1685)
neodix42 Jun 20, 2025
ca2a79f
Merge pull request #1718 from ton-blockchain/master
EmelyanenkoK Jun 20, 2025
ae1c972
Merge branch 'testnet' into accelerator
SpyCheese Jun 20, 2025
95acdb1
Fix structured binding in StateSerializer lambda
EmelyanenkoK Jun 20, 2025
77869e7
Merge pull request #9 from xssnick/testnet
xssnick Jun 21, 2025
6cb19d7
Merge branch 'testnet' into accelerator
SpyCheese Jun 23, 2025
dfe997e
Storage stat cache (#1724)
EmelyanenkoK Jun 25, 2025
f88bcce
Merge pull request #10 from xssnick/testnet
xssnick Jun 26, 2025
283186b
Update changelog
EmelyanenkoK Jun 26, 2025
75a75eb
use zero-autotools approach when compiling libsodium on mac (#1725)
neodix42 Jun 26, 2025
56c0ac3
Merge pull request #1727 from ton-blockchain/testnet
EmelyanenkoK Jun 27, 2025
2bfe25a
Increase timeouts in ArchiveImporterLocal
SpyCheese Jun 27, 2025
8f99af7
Merge pull request #1728 from ton-blockchain/archive-sync
EmelyanenkoK Jun 27, 2025
a3c16ed
Merge branch 'testnet' into accelerator
SpyCheese Jun 30, 2025
aff4956
Storage stat cache for accelerator
SpyCheese Jul 1, 2025
21c191d
Improve TL scheme for overlay nodes V2
SpyCheese Jul 1, 2025
91a00ce
Remove duplicate validator-engine options
SpyCheese Jul 2, 2025
ee58f04
Properly add non-light validators to fast-sync overlays
SpyCheese Jul 4, 2025
75ff7e6
Enable fast-sync overlays by proto_version 5
SpyCheese Jul 4, 2025
0f4849b
Set max fast sync overlay clients to 5
SpyCheese Jul 4, 2025
cbe79eb
feat: add prev blocks info param to emscripten tx emulator (#1726)
krigga Jul 6, 2025
bd89b25
[Tolk] Optimize try-catch codegen with SETCONTMANY instruction
tolk-vm Apr 24, 2025
487034a
[Tolk] More accurate serialization estimation for snake structs
tolk-vm Jun 15, 2025
f825c35
[Tolk] Auto-detect and inline functions at AST level
tolk-vm Jun 6, 2025
37c9fcd
[Tolk] Change STSLICER to STSLICE in stdlib
tolk-vm Jun 15, 2025
bce0e5e
[Tolk] The magic `lazy` keyword
tolk-vm Jun 15, 2025
dc328ac
[Tolk] Deprecate and comment some functions in stdlib
tolk-vm Jun 12, 2025
d9bb6bb
[Tolk] Use parenthesis `()` as a suffix for Fift generation
tolk-vm Jun 18, 2025
6354018
[Tolk] Better handle nested unknown types at assignment
tolk-vm Jun 22, 2025
1774c05
[Tolk] Modern `onInternalMessage` and `onBouncedMessage`
tolk-vm Apr 14, 2025
72e0ae2
[Tolk] Correctly handle `import` without ".tolk" extension
tolk-vm Jun 26, 2025
2bb89b4
[Tolk] Correctly handle variadic ints at serialization
tolk-vm Jun 29, 2025
8d650aa
[Tolk] Support custom pack/unpack serializers for any T
tolk-vm Jun 29, 2025
63670d2
[Tolk] Use of `AutoDeployAddress` for calculation aside createMessage
tolk-vm Jun 30, 2025
6f5fb74
[Tolk] Make a semicolon optional for top-level declarations
tolk-vm Jul 3, 2025
06e0544
[Tolk] Gas optimization: replace ternary with CONDSEL when it's safe
tolk-vm Jul 4, 2025
a045893
[Tolk] Peephole optimization: SDSKIPFIRST to LDU+NIP
tolk-vm Jul 4, 2025
b297b6e
[Tolk] Peephole optimization: LD+DROP to PLD
tolk-vm Jul 4, 2025
55c2530
[Tolk] Peephole optimization: SWAP+any to any/anyR
tolk-vm Jul 4, 2025
eb8cdfb
[Tolk] Peephole optimization: PUSHINT+STU to STSLICECONST
tolk-vm Jul 4, 2025
83ca804
[Tolk] Peephole optimization: NOT+THROWIFNOT to THROWIF
tolk-vm Jul 4, 2025
38a95cb
[Tolk] Better error messages on type mismatch
tolk-vm Jul 5, 2025
705a419
[Tolk] More correctly generate a serialization prefix tree for nullab…
tolk-vm Jul 7, 2025
43d2bfd
[Tolk] Bump version to v1.0
tolk-vm Jul 7, 2025
dfda879
Merge pull request #1741 from ton-blockchain/tolk-v1.0
EmelyanenkoK Jul 7, 2025
2641bb8
Merge branch 'testnet' into accelerator
SpyCheese Jul 7, 2025
ba54733
Merge pull request #1739 from ton-blockchain/accelerator
EmelyanenkoK Jul 8, 2025
a89cafb
Move limit for storage dict hash to config
SpyCheese Jul 9, 2025
a969178
BTOS opcode; decrease gas usage for HASHSU
SpyCheese Jul 9, 2025
07f2565
HASHBU opcode
SpyCheese Jul 9, 2025
298db54
New account size limit for masterchain
SpyCheese Jul 9, 2025
126ac76
New bounce format
SpyCheese Jul 23, 2025
8a971be
Update changelog
EmelyanenkoK Jul 25, 2025
cac968f
Merge pull request #1761 from ton-blockchain/testnet
EmelyanenkoK Jul 25, 2025
2736637
Change exit codes for compute phase skip reason in bounce msg
SpyCheese Jul 25, 2025
02843e5
Merge pull request #11 from xssnick/testnet
xssnick Jul 25, 2025
8c7a5a6
"Skip public msg send" flag for custom overlays (#1757)
SpyCheese Jul 31, 2025
7d1995e
Improve portable linux binaries (#1759)
neodix42 Jul 31, 2025
3d49e8b
Fix selecting shard overlays after decreasing monitor_min_split (#1756)
SpyCheese Jul 31, 2025
4ec6711
Bind tolk-stdlib to tolk release... (#1752)
neodix42 Jul 31, 2025
76144d4
Session stats improvements (#1746)
SpyCheese Jul 31, 2025
0326fc5
Improve block compression (#1710)
Mustang98 Aug 1, 2025
f4468b8
Send broadcasts earlier in AcceptBlock
SpyCheese Aug 1, 2025
5fa4121
Tunnel small refactor
xssnick Aug 4, 2025
5f25056
Pass scheduler to tunnel handler instead of engine
xssnick Aug 4, 2025
d2cc797
Optimistic block generation
SpyCheese Aug 4, 2025
dd13096
Don't wait for storing state to celldb in most cases
SpyCheese Aug 4, 2025
6cbae03
Refactor CollatorNode
SpyCheese Aug 5, 2025
badc4fd
Enable optimistic collation in proto version 6
SpyCheese Aug 6, 2025
f9a5afd
Merge pull request #1767 from ton-blockchain/optimize-collate
EmelyanenkoK Aug 6, 2025
677961a
Merge pull request #1768 from ton-blockchain/master
EmelyanenkoK Aug 6, 2025
6f13a4d
Merge pull request #12 from xssnick/testnet
xssnick Aug 6, 2025
8a49651
Allow hostnames instead of IPs for liteservers (#1771)
SpyCheese Aug 7, 2025
501790f
Optimistic collation on collator nodes
SpyCheese Aug 7, 2025
e173f11
Wait for block in validator-session.cpp
SpyCheese Aug 7, 2025
90616d8
Fix compilation error
SpyCheese Aug 7, 2025
038db1b
Bugfixes in storage daemon
SpyCheese Aug 11, 2025
785d206
Merge pull request #13 from xssnick/testnet
xssnick Aug 12, 2025
37f10de
Change new bounce format: include full or partial original body
SpyCheese Aug 12, 2025
c7b6c25
Use rldp2 for downloading candidates in validator session
SpyCheese Aug 12, 2025
a70bdfb
Disable optimistic generation in masterchain
SpyCheese Aug 12, 2025
3f216b6
Fix returning error in wait block state
SpyCheese Aug 14, 2025
c48413a
Fix error processing in Collator::process_optimistic_prev_block
SpyCheese Aug 16, 2025
e169659
Blockchain explorer: fix search by utime
SpyCheese Aug 18, 2025
f416812
Optimistic validation
SpyCheese Aug 19, 2025
ff010ef
More session stats for collation/validation time
SpyCheese Aug 19, 2025
7810271
Merge pull request #1779 from ton-blockchain/optimize-collate
EmelyanenkoK Aug 20, 2025
e18f156
Merge pull request #14 from xssnick/testnet
xssnick Aug 20, 2025
9b987d4
coroutines support in actors
Sep 8, 2025
da37096
Merge pull request #1774 from ton-blockchain/storage-patch
EmelyanenkoK Sep 10, 2025
d268ac0
Set block id in ConfigInfo::extract_config (#1780)
SpyCheese Sep 10, 2025
635bbd0
[Tolk] Refactor: IR generation of complex built-ins like T.toCell
tolk-vm Jul 29, 2025
5756e73
[Tolk] Don't emit unused functions to Fift code
tolk-vm Jul 29, 2025
6f60419
[Tolk] Prevent exponential explosion while evaluating constants
tolk-vm Jul 31, 2025
08c61df
[Tolk] Fix createMessage() with a dynamic union destination
tolk-vm Aug 4, 2025
7b89b2a
[Tolk] Stricter type aliases and equal_to for types
tolk-vm Aug 7, 2025
4d59949
[Tolk] Enhance overload resolution rules for method receivers
tolk-vm Aug 7, 2025
3c10903
Send validator telemetry from all nodes in fast-sync overlay (#1798)
SpyCheese Sep 15, 2025
a7c0010
Ban collator node when it returns invalid block (#1797)
SpyCheese Sep 15, 2025
41849db
avoid touching packfiles on startup (#1793)
mkiesel Sep 15, 2025
3765697
[Tolk] Built-in map<K,V> as a high-level wrapper over TVM dicts
tolk-vm Aug 8, 2025
36fe5fd
[Tolk] Modify stdlib for rendering, add built-in types
tolk-vm Aug 8, 2025
6e9ce41
[Tolk] Fix overflow detection on constant storeUint
tolk-vm Aug 18, 2025
1ebdc0a
[Tolk] Support numeric enums similar to TypeScript and C++
tolk-vm Aug 13, 2025
0fb8c1c
[Tolk] Support serialization for enums
tolk-vm Aug 18, 2025
b175341
[Tolk] Fix parsing sequential `as` operator
tolk-vm Aug 28, 2025
a0e8316
[Tolk] Readonly fields in structs
tolk-vm Sep 1, 2025
c08958e
[Tolk] Private fields in structs
tolk-vm Sep 1, 2025
82ae5d9
[Tolk] Ensure that compiled wasm passes all tests
tolk-vm Sep 14, 2025
4c62653
[Tolk] Auto-infer `never` for always-throwing functions
tolk-vm Sep 14, 2025
506273c
[Tolk] Bump version to v1.1
tolk-vm Sep 14, 2025
b8c8780
Fix compilation error (#1801)
SpyCheese Sep 16, 2025
743deba
Fix failing Github MacOS actions due to updated XCode (#1800)
neodix42 Sep 16, 2025
fe5e873
Fix failing Github MacOS actions due to updated XCode (#1800)
neodix42 Sep 16, 2025
b40c28f
Merge pull request #1805 from ton-blockchain/build-fixes
EmelyanenkoK Sep 18, 2025
1382059
Merge pull request #1795 from ton-blockchain/tolk-v1.1
EmelyanenkoK Sep 18, 2025
05bea13
Force jammy llvm-toolchain usage on Ubuntu 22.04 ARM github images (#…
neodix42 Sep 19, 2025
228c489
Merge branch 'testnet' into version-12
EmelyanenkoK Sep 25, 2025
36285ad
Merge pull request #1765 from ton-blockchain/version-12
EmelyanenkoK Sep 25, 2025
bb0af68
Set default global version to SUPPORTED_VERSION for getmethods in emu…
EmelyanenkoK Sep 25, 2025
0dcb495
Merge pull request #15 from xssnick/testnet
xssnick Sep 25, 2025
e25bd31
Leave HASHSU gas coas as is (#1818)
EmelyanenkoK Oct 2, 2025
7fa6c98
Merge pull request #16 from xssnick/testnet
xssnick Oct 2, 2025
bca9c48
test-smartcont: decrease number of keys in multisig
SpyCheese Oct 6, 2025
9f328c1
Merge pull request #1823 from ton-blockchain/version-12
EmelyanenkoK Oct 6, 2025
8194beb
Limit ttl and number of values in DHT (#1826)
SpyCheese Oct 8, 2025
1d2260c
Merge pull request #1827 from ton-blockchain/master
EmelyanenkoK Oct 8, 2025
34823b1
Add changelog
EmelyanenkoK Oct 8, 2025
0fb08c3
Merge pull request #17 from ton-blockchain/testnet
xssnick Oct 8, 2025
4ebd741
Merge pull request #1828 from ton-blockchain/testnet
EmelyanenkoK Oct 10, 2025
0667560
Debug logs for applying blocks
SpyCheese Oct 20, 2025
590f1c3
Change the behavior of extra_flags (#1846)
SpyCheese Oct 20, 2025
2aed6e4
Run CI on pull request (#1844)
DanShaders Oct 20, 2025
2f352bc
Add -Werror CI job (#1845)
DanShaders Oct 20, 2025
c331bb7
Merge pull request #18 from xssnick/testnet
xssnick Oct 21, 2025
f9db7bd
fix WASM artefacts by upgrading emscripten, forcing filesystem access…
neodix42 Oct 23, 2025
ecd8fbb
[vm] Add new opcodes to store and load `addr_std$10` (#1849)
i582 Oct 24, 2025
08bf22f
Merge pull request #19 from xssnick/testnet
xssnick Oct 24, 2025
66ddb32
Add more logs for BlockArchiver and similar things
SpyCheese Oct 27, 2025
7b7db09
Add timeout to default failure signal handler (#1856)
SpyCheese Oct 27, 2025
b118ab3
Moar CMake improvements (#1847)
DanShaders Oct 27, 2025
0f6252a
fix(tonlib): correct error messages for gen_utime checks in header ve…
Lapo4kaKek Oct 28, 2025
1d75202
Increase timeout for ValidateBroadcast
SpyCheese Oct 28, 2025
e376747
Don't create more than one BlockArchiver for a block
SpyCheese Oct 28, 2025
5d27d05
Optimize reading files in BlockArchiver
SpyCheese Oct 28, 2025
a3f948e
Better log for "file not in db"
SpyCheese Oct 28, 2025
d6560ca
Adjust the delay of the initial node sync (#1860)
neodix42 Oct 29, 2025
ccdff9c
Upgrade abseil to August 2025, Patch 1, tag=20250814.1 (#1859)
neodix42 Oct 29, 2025
27f9642
Remove outdated warning suppressions (#1861)
DanShaders Oct 30, 2025
85d8b01
Make DHT node not care about validator section of global config (#1862)
DanShaders Oct 30, 2025
a1ddbcc
Better error processing in ArchiveManager
SpyCheese Oct 30, 2025
ea2718a
Merge pull request #1863 from ton-blockchain/apply-block-patch
EmelyanenkoK Oct 30, 2025
fc397a9
Add config contract version with ownable parameters
EmelyanenkoK Oct 30, 2025
6f6db6f
Update changelog
EmelyanenkoK Oct 30, 2025
22f746e
Merge pull request #20 from xssnick/testnet
xssnick Oct 30, 2025
af7b554
Merge pull request #1866 from sonofmom/update/double_fd
sonofmom Oct 31, 2025
a8810e7
Fix error processing in finished_wait_state (#1868)
SpyCheese Nov 3, 2025
f6f877e
Merge pull request #21 from xssnick/testnet
xssnick Nov 3, 2025
5c03491
Merge pull request #1871 from ton-blockchain/testnet
EmelyanenkoK Nov 4, 2025
4df3609
chore: remove repetitive words in comments (#1873)
hustrust Nov 6, 2025
8430c54
Merge branch 'testnet' into testnet
EmelyanenkoK Nov 6, 2025
a0314f0
Merge pull request #1791 from birydrad/testnet
EmelyanenkoK Nov 6, 2025
437a746
Merge pull request #1874 from ton-blockchain/master
EmelyanenkoK Nov 6, 2025
4369abd
Remove concept of virtualization level (#1648)
DanShaders Nov 6, 2025
a401b75
Fix -Werror build after #1791 (#1875)
DanShaders Nov 6, 2025
d7b4e73
Allow clang-format to reorder includes
DanShaders Oct 20, 2025
26923f4
Fix errors that will surface due to header reordering in the next commit
DanShaders Nov 6, 2025
f262bae
Reformat entire codebase (except Tolk) with clang-format 21
DanShaders Nov 6, 2025
716c23d
Check C++ formatting in CI
DanShaders Nov 6, 2025
1abeaef
Add custom Git merge driver to merge over formatting changes
DanShaders Nov 6, 2025
f5a4380
Automate Github Actions cache clean up (#1870)
neodix42 Nov 6, 2025
431aa80
Depricate macOS-13 gh actions (#1869)
neodix42 Nov 6, 2025
efd9e8e
Reformat entire codebase (except Tolk) with clang-format 21
EmelyanenkoK Nov 7, 2025
a420b83
Remove FullNodePrivateBlockOverlay
SpyCheese Nov 7, 2025
460200d
Merge pull request #1879 from neodix42/fix-android-build-1
neodix42 Nov 8, 2025
9026765
[Tolk] Rich bounces for createMessage() from TVM 12
tolk-vm Sep 2, 2025
03847ba
[Tolk] Simplify address computation and StateInit with TVM 12 `BTOS`
tolk-vm Sep 2, 2025
5059e01
[Tolk] SrcRange instead of SrcLocation in all AST vertices
tolk-vm Oct 18, 2025
a2ae946
[Tolk] Revise compilation errors and formatting
tolk-vm Oct 20, 2025
5bcda95
[Tolk] Breaking change: separate `address` and `any_address`
tolk-vm Oct 26, 2025
1e86f39
[Tolk] Mini borrow checker to prevent UB at concurrent mutations
tolk-vm Oct 28, 2025
39ffde5
[Tolk] Peephole: conditions, integer and boolean negations, and THROWIF
tolk-vm Oct 29, 2025
7080a8e
[Tolk] Peephole: 0 EQINT + NOT -> 0 NEQINT and other xxx + NOT invers…
tolk-vm Oct 29, 2025
e376af6
[Tolk] Compile-time constant expressions for initializers and enum me…
tolk-vm Oct 30, 2025
10b2b57
[Tolk] Refactor: all AST visitors and replacers have current_function
tolk-vm Oct 30, 2025
3aa9dd5
[Tolk] Better deal with exhaustive `match`, enums, and malformed stack
tolk-vm Nov 1, 2025
a5f7a80
[Tolk] Some fixes of corner cases found by fuzzing
tolk-vm Nov 1, 2025
3f54f72
[Tolk] Enhance stdlib with low-level built-ins T.typeName, T.toTuple,…
tolk-vm Nov 1, 2025
993949d
[Tolk] Allow spaces in backticked names, sanitize them to fift output
tolk-vm Nov 1, 2025
40a2538
[Tolk] Allow custom pack/unpack to exist only one
tolk-vm Nov 1, 2025
35b1421
[Tolk] Support anonymous functions (lambdas), without capturing outer…
tolk-vm Nov 3, 2025
64af9d7
[Tolk] Allow manual generic instantiation to miss out default type ar…
tolk-vm Nov 4, 2025
a50b693
[Tolk] Use `void` instead of `never` for missing struct fields
tolk-vm Nov 4, 2025
53d97bd
[Tolk] LLDB pretty printers
tolk-vm Nov 4, 2025
8f57daf
[Tolk] Bump version to v1.2
tolk-vm Nov 10, 2025
fef06fe
Always enable celldb-v2
SpyCheese Nov 10, 2025
8bd719d
Always enable fast state serializer, don't use big prev states
SpyCheese Nov 10, 2025
648a5a2
Add default implementations for some callbacks
SpyCheese Nov 10, 2025
b1c58c4
Fix setting block heights in CatChainReceiverImpl::synchronize_with
SpyCheese Nov 10, 2025
b67dc6e
Persistent state retrieval cleanup (#1880)
DanShaders Nov 11, 2025
99e88ed
Fix error handling in arithops
SpyCheese Nov 11, 2025
ca7a098
Fix setting transaction end_status
SpyCheese Nov 11, 2025
5f84e9c
Use "_" instead of ":" in package filenames (#1867)
SpyCheese Nov 11, 2025
e99f5e8
Merge pull request #1881 from ton-blockchain/node-patch
EmelyanenkoK Nov 11, 2025
c5639ab
Merge pull request #1877 from birydrad/testnet
birydrad Nov 12, 2025
f58297f
Merge pull request #1886 from ton-blockchain/tolk-v1.2
EmelyanenkoK Nov 13, 2025
aa06130
Fix type cast from UnixTime to CatchainSeqno (both are td::uint32) (#…
EmelyanenkoK Nov 15, 2025
244789a
Update Certificate::tl to handle default flags (#1888)
EmelyanenkoK Nov 15, 2025
06d4d26
Implement parallelism in validator engine (#1812)
avevad Nov 15, 2025
47b0e57
Merge pull request #1889 from ton-blockchain/master
EmelyanenkoK Nov 15, 2025
eb12720
[tontester] Integration test framework (#1884)
DanShaders Nov 17, 2025
b008305
Update tl-parser (#1894)
DanShaders Nov 18, 2025
b083624
Some standalone fixes from new consensus dev branch (#1895)
DanShaders Nov 18, 2025
d013902
Remove file accidentally committed in #1877 (#1893)
DanShaders Nov 18, 2025
5cfc47c
Add enough LSAN suppressions for project to compile with TON_USE_ASAN…
DanShaders Nov 19, 2025
9e2c343
Switch last remaining MacOS 13 pipeline to MacOS 15 (#1898)
DanShaders Nov 19, 2025
2fa29b6
Automate Github Actions cache clean up (#1870)
neodix42 Nov 6, 2025
281d3fc
Add codex auto review (#13)
EmelyanenkoK Nov 21, 2025
d97fc19
Merge pull request #1912 from EmelyanenkoK/codex-rules
EmelyanenkoK Nov 21, 2025
64b8e65
Test infra improvements (#1915)
DanShaders Nov 24, 2025
b1a6b7b
[tontester] Replace pytonlib with a statically typed tonlibjson wrapp…
DanShaders Nov 24, 2025
f684ea4
Merge branch 'master' into testnet
EmelyanenkoK Nov 24, 2025
1c95ae0
codex via openapi key (#1920)
neodix42 Nov 25, 2025
e7db1ce
Various bugfixes in node (#1922)
SpyCheese Nov 26, 2025
d840e36
make debug output only to vm_log (#1921)
neodix42 Nov 26, 2025
ddb173b
Refactor CMake tonlibjson declaration (#1927)
DanShaders Nov 28, 2025
1d5c0d5
[tontester] Fix type annotation in tonlibjson.py (#1926)
DanShaders Nov 28, 2025
75cbcd7
Make td/actor/core/ActorTypeStat.h usable as a standalone header (#1923)
DanShaders Nov 28, 2025
0926873
Add `reverse-continue-to-actor-caller` GDB command (#1924)
DanShaders Dec 1, 2025
af6e91e
shows a real diff that will be applied on merge (only PR changes) (#1…
neodix42 Dec 1, 2025
c704891
fix(emulator): returned support for `web` launching `wasm` in the bro…
EmelyanenkoK Dec 1, 2025
07dc2f2
update blst to v0.3.15 (#1932)
neodix42 Dec 1, 2025
9c2b5cd
Fix promise_type ambiguity in coroutine declarations for GCC 11+ comp…
awesome-doge Dec 1, 2025
aaa4675
[Fift] Fix PREPAREDICT in Asm.fif (#1934)
tolk-vm Dec 2, 2025
d469e37
fetch libmicrohttpd from github instead of ftpmirror.gnu.org (#1935)
neodix42 Dec 3, 2025
ca818c2
Add ratelimiter for full node shard requests (#1918)
avevad Dec 3, 2025
1f8f62e
Compression depth balance (#1892)
Mustang98 Dec 3, 2025
85ac200
Do not require approve signatures in run_accept_block_query (#1937)
DanShaders Dec 5, 2025
f801e1c
Update changelog
EmelyanenkoK Dec 5, 2025
55a0b52
Merge pull request #1947 from ton-blockchain/ext-messages
SpyCheese Dec 15, 2025
bb43a89
Remove downloadPersistentStateSlice and getPersistentStateSize reques…
DanShaders Dec 15, 2025
381b4b3
Ask clang-format to insert new line at EOF and use west const (#1955)
DanShaders Dec 15, 2025
95747d3
Remove "proto_version" from deserialize_candidate (#1956)
SpyCheese Dec 15, 2025
9a3a310
Check that node is synced in new_external_message_broadcast (#1957)
SpyCheese Dec 16, 2025
762964b
Merge pull request #22 from ton-blockchain/testnet
xssnick Dec 17, 2025
9f7492b
Merge branch 'tun' into testnet
xssnick Dec 17, 2025
465d2b7
Merge pull request #23 from xssnick/testnet
xssnick Dec 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
104 changes: 19 additions & 85 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,88 +1,22 @@
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: true
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None # All
AllowShortIfStatementsOnASingleLine: false # true
AllowShortLoopsOnASingleLine: false # true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true # false
# BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 120 # 80
CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
Language: Cpp
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
BasedOnStyle: Google
BreakConstructorInitializers: BeforeComma
ColumnLimit: 120
DerivePointerAlignment: true
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
# ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IndentCaseLabels: true
IndentWidth: 2
IndentWrappedFunctionNames: false
# JavaScriptQuotes: Leave
# JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
# ObjCBlockIndentWidth: 2
# ObjCSpaceAfterProperty: false
# ObjCSpaceBeforeProtocolList: false
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
ReflowComments: false # true
SortIncludes: false # disabled, because we need case insensitive sort
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Auto
TabWidth: 100 # 8
UseTab: Never
IncludeCategories:
- Regex: '>$'
Priority: -3
- Regex: '.h>$'
Priority: -2
- Regex: '^\".*/.*\"$'
Priority: -1
- Regex: '^\"[^/]*\"$'
Priority: 0
InsertNewlineAtEOF: true
ReflowComments: Never
QualifierAlignment: Left
...
1 change: 1 addition & 0 deletions .gdbinit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
source assembly/gdb/rc_to_actor_caller.py
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ third_party/** linguist-vendored
*.a binary
*.jar binary
*.tlo binary

*.h merge=clang-format-driver
*.cpp merge=clang-format-driver
*.hpp merge=clang-format-driver
11 changes: 9 additions & 2 deletions .github/workflows/build-ton-linux-android-tonlib.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Tonlib Android

on: [push,workflow_dispatch,workflow_call]
on: [push, pull_request, workflow_dispatch, workflow_call]

jobs:
build:
Expand All @@ -9,7 +9,7 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
with:
submodules: 'recursive'

- name: Install system libraries
Expand All @@ -19,6 +19,13 @@ jobs:
zlib1g-dev libssl-dev libreadline-dev libmicrohttpd-dev pkg-config libgsl-dev python3 python3-dev \
libtool autoconf libsodium-dev libsecp256k1-dev liblz4-dev

- name: Cache Android NDK
id: cache-android-ndk
uses: actions/cache@v4
with:
path: android-ndk-r25b
key: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-cache-android-ndk-${{ hashFiles('**/assembly/android/build-android-tonlib.sh') }}

- name: Build TON
run: |
git submodule sync --recursive
Expand Down
60 changes: 51 additions & 9 deletions .github/workflows/build-ton-linux-arm64-appimage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Ubuntu TON build (AppImages, arm64)

on: [push,workflow_dispatch,workflow_call]
on: [push, pull_request, workflow_dispatch, workflow_call]

jobs:
build:
Expand All @@ -9,28 +9,64 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
with:
submodules: 'recursive'

- name: Date Stamp
shell: bash
id: date-stamp
run: |
echo "timestamp=$(date -u "+%Y%m%d%H%M_%S")" >> "$GITHUB_OUTPUT"

- name: Install system libraries
run: |
sudo apt update
sudo apt install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev
sudo apt remove libgsl-dev
sudo apt install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev ccache libgsl-dev libblas-dev libgslcblas0
mkdir ~/.ccache 3pp

- name: Install clang-16
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 16 all
lsb_release -a
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" | sudo tee /etc/apt/sources.list.d/llvm.list
sudo apt-get -y update
sudo apt-get install -y clang-16

- name: Cache 3pp
id: cache-3pp
uses: actions/cache@v4
with:
path: 3pp
key: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-arm-3pp-${{ hashFiles('**/assembly/native/build-ubuntu-appimages.sh') }}

- name: Cache OpenSSL
id: cache-openssl
uses: actions/cache@v4
with:
path: openssl_3
key: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-arm-openssl_3-${{ hashFiles('**/assembly/native/build-ubuntu-appimages.sh') }}

- name: Restore cache TON
uses: actions/cache/restore@v4
with:
path: ~/.ccache
key: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-arm-portable-ccache-${{ steps.date-stamp.outputs.timestamp }}
restore-keys: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-arm-portable-ccache

- name: Build TON
run: |
git submodule sync --recursive
git submodule update
cp assembly/native/build-ubuntu-appimages.sh .
chmod +x build-ubuntu-appimages.sh
./build-ubuntu-appimages.sh -a
./build-ubuntu-appimages.sh -a -c
ccache -sp

- name: Save cache TON
uses: actions/cache/save@v4
with:
path: ~/.ccache
key: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-arm-portable-ccache-${{ steps.date-stamp.outputs.timestamp }}

- name: Make AppImages
run: |
Expand All @@ -41,12 +77,18 @@ jobs:
./create-appimages.sh aarch64
rm -rf artifacts

- name: Save/Restore cache TON libs
uses: actions/cache@v4
with:
path: ~/.ccache
key: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-arm-portable-libs-ccache-${{ steps.date-stamp.outputs.timestamp }}
restore-keys: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-arm-portable-libs-ccache

- name: Build TON libs
run: |
cp assembly/native/build-ubuntu-portable-libs.sh .
chmod +x build-ubuntu-portable-libs.sh
./build-ubuntu-portable-libs.sh -a
./build-ubuntu-portable-libs.sh -a -c
cp ./artifacts/libtonlibjson.so appimages/artifacts/
cp ./artifacts/libemulator.so appimages/artifacts/

Expand Down
50 changes: 39 additions & 11 deletions .github/workflows/build-ton-linux-arm64-shared.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Ubuntu TON build (shared, arm64)

on: [push,workflow_dispatch,workflow_call]
on: [push, pull_request, workflow_dispatch, workflow_call]

jobs:
build:
Expand All @@ -16,28 +16,56 @@ jobs:
with:
submodules: 'recursive'

- name: Date Stamp
shell: bash
id: date-stamp
run: |
echo "timestamp=$(date -u "+%Y%m%d%H%M_%S")" >> "$GITHUB_OUTPUT"

- name: Install system libraries
run: |
sudo apt-get update
sudo apt-get install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev libjemalloc-dev
sudo apt-get install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev libjemalloc-dev ccache
mkdir ~/.ccache

- if: matrix.os != 'ubuntu-24.04-arm'
name: Install llvm-16
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 16 all
lsb_release -a
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" | sudo tee /etc/apt/sources.list.d/llvm.list
sudo apt-get -y update
sudo apt-get install -y clang-16

- name: Cache OpenSSL
id: cache-openssl
uses: actions/cache@v4
with:
path: openssl_3
key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.os }}-openssl_3-${{ hashFiles('**/assembly/native/build-ubuntu-shared.sh') }}

- name: Cache TON test
id: cache-ton
uses: actions/cache@v4
with:
path: ~/.ccache
key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.os }}-shared-ccache-${{ steps.date-stamp.outputs.timestamp }}
restore-keys: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.os }}-shared-ccache

- name: Build TON
run: |
git submodule sync --recursive
git submodule update
cp assembly/native/build-ubuntu-shared.sh .
chmod +x build-ubuntu-shared.sh
./build-ubuntu-shared.sh -t -a
./build-ubuntu-shared.sh -t -c
ccache -sp

- name: Upload artifacts
uses: actions/upload-artifact@master
with:
name: ton-binaries-${{ matrix.os }}
path: artifacts
- name: Run Tests
run: |
cd build
ctest --output-on-failure --timeout 1800

- name: Run tonlib integration test
run: |
./test/tonlib/integration/test_integration.sh
Loading
Loading