Skip to content
Open

Tun #1666

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
576 commits
Select commit Hold shift + click to select a range
c8b90a7
Merge branch 'testnet' into archive-sync
SpyCheese Apr 8, 2025
04a41aa
Merge branch 'testnet' into accelerator
SpyCheese Apr 8, 2025
ac5cc69
Merge branch 'accelerator' into storagestat-v2-accel
SpyCheese Apr 8, 2025
641cd82
Merge branch 'storagestat-v2' into storagestat-v2-accel
SpyCheese Apr 8, 2025
fe6622a
Merge branch 'ton-blockchain:master' into tun
xssnick Apr 8, 2025
9384cee
Merge pull request #3 from xssnick/testnet
xssnick Apr 8, 2025
7528a88
Cache validator sets for create_shard_state
SpyCheese Mar 22, 2025
de7fa7a
Merge pull request #1613 from ton-blockchain/validator-set-cache
EmelyanenkoK Apr 8, 2025
e69cfa4
Merge branch 'testnet' into storagestat-v2
SpyCheese Apr 8, 2025
636356a
Merge branch 'testnet' into accelerator
SpyCheese Apr 8, 2025
2171999
Avoid copying Account object
SpyCheese Apr 8, 2025
287fea3
Merge branch 'storagestat-v2' into storagestat-v2-accel
SpyCheese Apr 9, 2025
e873d27
Native logger for go tunnel
xssnick Apr 10, 2025
10e7b8f
Not run DHT server when tunnel enabled
xssnick Apr 10, 2025
f2bb3f3
Merge pull request #4 from xssnick/testnet
xssnick Apr 10, 2025
756a628
Support celldb_compression_depth in celldbv2 (#1619)
birydrad Apr 14, 2025
688c695
New account storage stat (#1568)
SpyCheese Apr 14, 2025
baa8043
Merge pull request #1621 from ton-blockchain/master
EmelyanenkoK Apr 14, 2025
56506ae
Fix finish_getDispatchQueueMessages with messages boc mask (#1623)
EmelyanenkoK Apr 14, 2025
86e6726
Report error to correct promise in tonlib dns request (#1622)
EmelyanenkoK Apr 14, 2025
dd725ce
Merge pull request #5 from xssnick/testnet
xssnick Apr 14, 2025
92f865b
Use check_for_each for iterating over validator set
DanShaders Mar 21, 2025
2981cce
Merge branch 'testnet' into archive-sync
SpyCheese Apr 14, 2025
195eec7
Merge branch 'testnet' into accelerator
SpyCheese Apr 14, 2025
d0ff3fe
Merge branch 'storagestat-v2-accel' into accelerator
SpyCheese Apr 14, 2025
f997d4a
Merge pull request #1553 from DanShaders/validator-set
EmelyanenkoK Apr 16, 2025
2c5e8ea
Fix SDBEGINS(Q) in Asm.fif (#1626)
SpyCheese Apr 16, 2025
2e6d9a6
Process virtualization in cell load callback
SpyCheese Apr 17, 2025
5fe1526
Version 10: extra currencies, anycasts (#1595)
SpyCheese Apr 19, 2025
ca217c2
Merge branch 'testnet' into accelerator
SpyCheese Apr 21, 2025
e806ce0
Merge branch 'testnet' into archive-sync
SpyCheese Apr 21, 2025
982c38a
Increase default broadcast speed multiplier to 3.33 (#1631)
EmelyanenkoK Apr 21, 2025
d065e51
Update Changelog (#1633)
EmelyanenkoK Apr 21, 2025
de3ed01
Merge branch 'testnet' into accelerator
SpyCheese Apr 21, 2025
1835d84
Fixed setting gas limits in RUNVM (#1635)
SpyCheese Apr 22, 2025
e03b110
Don't delete accounts with remaining balance (#1632)
SpyCheese Apr 22, 2025
68da2e7
Merge pull request #6 from xssnick/testnet
xssnick Apr 23, 2025
0cc297b
Disable validator set cache during Merkle proof generation (#1636)
SpyCheese Apr 23, 2025
66c8600
Merge branch 'testnet' into archive-sync
SpyCheese Apr 24, 2025
55a8712
Merge branch 'testnet' into accelerator
SpyCheese Apr 24, 2025
413b898
Deprecate Ubuntu 20.04 (#1641)
neodix42 Apr 28, 2025
cee4c67
Merge pull request #1640 from ton-blockchain/testnet
EmelyanenkoK Apr 28, 2025
6a1d883
Shard block verifier for masterchain validators
SpyCheese Apr 28, 2025
5cfac68
Merge branch 'testnet' into accelerator
SpyCheese Apr 28, 2025
57037a9
Merge branch 'testnet' into archive-sync
SpyCheese Apr 28, 2025
ebde55e
[Tolk] Simplify VarDescr, drop _Const enum value
tolk-vm Apr 25, 2025
9e6c1fc
[Tolk] Implement structures that work like tensors on a stack
tolk-vm Feb 17, 2025
a010537
[Tolk] Support default values for fields, simplify constants
tolk-vm Apr 17, 2025
09019fe
[Tolk] Refactor parsing types, introduce AST type nodes
tolk-vm Feb 20, 2025
ff5e494
Fix level calculation in ProofStorageStat
SpyCheese Apr 29, 2025
0f9dd15
[Tolk] Implement generic structs and aliases
tolk-vm Feb 27, 2025
720a173
[Tolk] Output original .tolk lines into Fift as comments
tolk-vm Apr 28, 2025
578df21
[Tolk] Implement methods for any types as extension functions
tolk-vm Mar 19, 2025
76c9f9e
[Tolk] Support defaults for generic type arguments
tolk-vm Apr 28, 2025
44705a1
Load blocks from DB in ShardBlockRetainer, fix is_block_outdated
SpyCheese Apr 29, 2025
f361e78
[Tolk] Optimize arg_order in advance when it's safe
tolk-vm May 1, 2025
50b8873
[Tolk] Bump version to v0.12
tolk-vm Apr 10, 2025
aa162ae
Merge branch 'archive-sync' into accelerator
SpyCheese May 5, 2025
6f745c0
Merge pull request #1645 from ton-blockchain/tolk-v0.12
EmelyanenkoK May 9, 2025
0b024a6
Improve processing block candidate broadcasts, prepare to broadcast s…
SpyCheese May 9, 2025
5a86f0a
Fix calculating storage dict, simplify storage stat code (#1643)
SpyCheese May 9, 2025
9e5109d
Fix type check in INMSGPARAM (#1652)
SpyCheese May 9, 2025
874375e
Merge branch 'testnet' into accelerator
SpyCheese May 9, 2025
a6449ab
Adnl optimizations (#1620)
abacabadabacaba May 13, 2025
b07d4a3
Merge pull request #1668 from ton-blockchain/master
EmelyanenkoK May 13, 2025
f749961
Merge pull request #7 from xssnick/testnet
xssnick May 13, 2025
6c6a32d
Merge branch 'testnet' into accelerator
SpyCheese May 13, 2025
a4d86ef
Merge branch 'testnet' into archive-sync
SpyCheese May 13, 2025
b8251cb
Remove debug logs
SpyCheese May 13, 2025
500a284
Merge branch 'archive-sync' into accelerator
SpyCheese May 13, 2025
215b157
Fix downloading initial proof
SpyCheese May 13, 2025
d31c675
Merge branch 'archive-sync' into accelerator
SpyCheese May 13, 2025
6d04184
Fix check in overlay-peers.cpp
SpyCheese May 16, 2025
d65e054
Fix tracking storage stat updates
SpyCheese May 19, 2025
18a8ed8
Bugfix in AccountStorageStat::remove_cell
SpyCheese May 20, 2025
ed3860f
Fix returning null as c4/c5 in RUNVM
SpyCheese May 20, 2025
d8b5fad
Fix collated data calculation in Collator::process_account_storage_dict
SpyCheese May 20, 2025
ffa872c
Update note on +2 RUNVM flag
EmelyanenkoK May 21, 2025
7d9f081
Improve downloading shard archives
SpyCheese May 21, 2025
7c332a9
Merge branch 'version-11' into accelerator
SpyCheese May 21, 2025
80a968e
Remove pow-miner (#1683)
abacabadabacaba May 22, 2025
d1e00f5
Remove legacy Ed25519 code (#1684)
abacabadabacaba May 22, 2025
611cab7
More session stats
SpyCheese May 23, 2025
d4fcef4
Version 11: fix account storage stat and null in RUNVM (#1690)
SpyCheese May 26, 2025
9b2933c
Store shard archives separately even if monitor_min_split = 0 (#1689)
SpyCheese May 26, 2025
6a1dbc7
Don't destroy ValidatorGroup immediately, fix flags in session stats
SpyCheese May 26, 2025
2989379
Merge branch 'testnet' into accelerator
SpyCheese May 26, 2025
3fbab2c
Always set ihr_disabled in internal messages (#1691)
SpyCheese May 26, 2025
c0878a9
Merge branch 'testnet' into accelerator
SpyCheese May 26, 2025
6e083be
Merge pull request #8 from xssnick/testnet
xssnick May 27, 2025
a213e46
"--shard-block-retainer fullnode" option
SpyCheese May 27, 2025
b2028ae
[Tolk] Lateinit variables
tolk-vm Mar 31, 2025
68b67d4
Fix loop in collation manager
SpyCheese May 28, 2025
7e01156
Use rldp2 in collator node and shard block retainer
SpyCheese May 29, 2025
d6db65b
[Tolk] Built-in type `address`
tolk-vm Apr 14, 2025
768bad6
[Tolk] Better handle recursive structs and infinity size
tolk-vm May 22, 2025
e4bc235
[Tolk] Better error messages for unknown method
tolk-vm May 22, 2025
49729a1
[Tolk] Fix potential overflow on parsing `obj.index_at`
tolk-vm May 29, 2025
711ca2f
[Tolk] Correctly handle object literals with shuffled fields
tolk-vm May 24, 2025
865ee8b
[Tolk] Auto-packing to/from cells/builders/slices
tolk-vm May 28, 2025
89fcd7b
[Tolk] Compile-time `sizeof()` function for any variable
tolk-vm May 25, 2025
5ae6670
[Tolk] Support default values for function parameters
tolk-vm May 21, 2025
b13bcb4
[Tolk] Struct PackOptions and UnpackOptions
tolk-vm May 28, 2025
e4d0ab7
[Tolk] Bump version to v0.13
tolk-vm May 28, 2025
26761a1
Merge pull request #1694 from ton-blockchain/tolk-v0.13
EmelyanenkoK May 30, 2025
a13be2e
Session stats: "got_block_by", "shard_configuration"
SpyCheese May 30, 2025
c89081d
Fix start_lt of tick transactions
SpyCheese Jun 1, 2025
46db154
Merge pull request #1698 from ton-blockchain/master
EmelyanenkoK Jun 1, 2025
2054eb1
Merge pull request #1699 from ton-blockchain/ticktock-lt
EmelyanenkoK Jun 1, 2025
220890f
Add msg import info to collatedBlock session stats
SpyCheese Jun 2, 2025
c12aff6
Merge branch 'testnet' into accelerator
SpyCheese Jun 2, 2025
4e02ba6
Check limits from config in BuildOutMsgQueueProof
SpyCheese Jun 3, 2025
99ac9ad
Prepare to use rldp2 in validator group
SpyCheese Jun 3, 2025
75c8ddd
Increase default imported msg queue limit
SpyCheese Jun 4, 2025
faff986
Fix error processing in CellDbIn::store_block_state_permanent_bulk
SpyCheese Jun 4, 2025
8fce15f
Merge branch 'archive-sync' into accelerator
SpyCheese Jun 4, 2025
dcde63a
Fix parsing shard block verifier config
SpyCheese Jun 6, 2025
b4cf0ff
Bugfix in ext-client.cpp
SpyCheese Jun 6, 2025
b788322
Fix setting block hashes in session stats
SpyCheese Jun 10, 2025
52bcce6
[Tolk] Optimize storeUint: merge consecutive constant stores
tolk-vm Mar 30, 2025
3f4eca4
[Tolk] Better resolve receivers for conflicting names
tolk-vm Jun 1, 2025
ba0f983
[Tolk] Optimization: generate `IFJMP` inside `match` arms
tolk-vm Jun 5, 2025
3feba11
[Tolk] Universal createMessage and createExternalLogMessage
tolk-vm Jun 10, 2025
c8a5b1b
[Tolk] Fire an error on using `++/--` operators
tolk-vm Jun 10, 2025
79bf8eb
[Tolk] Fix unpacking RemainingBitsAndRefs when it's not the last
tolk-vm Jun 11, 2025
973be6b
[Tolk] Bump version to v0.99
tolk-vm Jun 11, 2025
72056a2
Merge pull request #1707 from ton-blockchain/tolk-v0.99
EmelyanenkoK Jun 12, 2025
d6eb770
Fix initializing neighbor stats in collator
SpyCheese Jun 13, 2025
6a7b210
Delete unused validator/db/archive-mover.{hpp,cpp}
DanShaders May 30, 2025
af42e20
Remove unused FileReference constructor
DanShaders Jun 4, 2025
774371b
Store `archive_split_depth` in WorkchainDescr in config
DanShaders May 29, 2025
7fefaa9
Add initial support for split persistent states in ArchiveManager
DanShaders Jun 4, 2025
f3c4356
Expose PersistentStateType and pass it through a million actors
DanShaders Jun 4, 2025
0ed9c4a
Move around request handlers in validator/full-node-{master,shard}.cpp
DanShaders Jun 4, 2025
27a4b36
Report error if state is not found in getPersistentStateSize query
DanShaders Jun 14, 2025
8d2551a
Teach full node to response with split persistent states
DanShaders Jun 4, 2025
d54065a
Update Windows github action (#1714)
neodix42 Jun 19, 2025
5a1d271
Add support for split persistent states in StateSerializer
DanShaders Jun 7, 2025
3a93b22
Teach DownloadState how to download split states
DanShaders Jun 11, 2025
ca80ed7
Expose PersistentStateType to DownloadShardState
DanShaders Jun 12, 2025
7164753
Store state split depth in persistent state descriptions
DanShaders Jun 12, 2025
09dbf72
Pass correct state split depth to DownloadShardState
DanShaders Jun 13, 2025
d3cec64
Actually deserialize split states
DanShaders Jun 15, 2025
39d5519
Save intermediate split state parts in DB
DanShaders Jun 15, 2025
f42d13e
Various fixes in node, add tests for p256 signature (#1716)
SpyCheese Jun 20, 2025
2e0378d
Add more CMake options (#1715)
DanShaders Jun 20, 2025
5b2221a
Merge pull request #1709 from DanShaders/state-split
EmelyanenkoK Jun 20, 2025
eb45c48
Smart cont try fetch config (#1717)
EmelyanenkoK Jun 20, 2025
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
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
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
b8c8780
Fix compilation error (#1801)
SpyCheese Sep 16, 2025
743deba
Fix failing Github MacOS actions due to updated XCode (#1800)
neodix42 Sep 16, 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
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
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .github/workflows/build-ton-linux-android-tonlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ jobs:
sudo apt-get install -y build-essential git cmake ninja-build automake libtool texinfo autoconf libgflags-dev \
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: |
Expand Down
50 changes: 45 additions & 5 deletions .github/workflows/build-ton-linux-arm64-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,59 @@ 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 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
sudo ./llvm.sh 16 clang

- 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 +75,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
38 changes: 30 additions & 8 deletions .github/workflows/build-ton-linux-arm64-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,50 @@ 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
sudo ./llvm.sh 16 clang

- 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
57 changes: 45 additions & 12 deletions .github/workflows/build-ton-linux-x86-64-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,66 @@ on: [push,workflow_dispatch,workflow_call]

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Check out repository
uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: Install system libraries
- name: Date Stamp
shell: bash
id: date-stamp
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
echo "timestamp=$(date -u "+%Y%m%d%H%M_%S")" >> "$GITHUB_OUTPUT"

- name: Install gcc-11 g++-11
- name: Install system libraries
run: |
sudo apt install -y manpages-dev software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update && sudo apt install gcc-11 g++-11
sudo apt update
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
sudo ./llvm.sh 16 clang

- name: Cache 3pp
id: cache-3pp
uses: actions/cache@v4
with:
path: 3pp
key: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-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-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-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-portable-ccache-${{ steps.date-stamp.outputs.timestamp }}

- name: Make AppImages
run: |
Expand All @@ -47,12 +74,18 @@ jobs:
./create-appimages.sh x86_64
rm -rf artifacts

- name: Save/Restore cache TON libs
uses: actions/cache@v4
with:
path: ~/.ccache
key: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-portable-libs-ccache-${{ steps.date-stamp.outputs.timestamp }}
restore-keys: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-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
45 changes: 30 additions & 15 deletions .github/workflows/build-ton-linux-x86-64-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
os: [ubuntu-22.04, ubuntu-24.04]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -16,33 +16,48 @@ jobs:
with:
submodules: 'recursive'

- name: Install system libraries
- name: Date Stamp
shell: bash
id: date-stamp
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
echo "timestamp=$(date -u "+%Y%m%d%H%M_%S")" >> "$GITHUB_OUTPUT"

- if: matrix.os == 'ubuntu-20.04'
- name: Install system libraries
run: |
sudo apt install -y manpages-dev software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update && sudo apt install gcc-11 g++-11
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 ccache
mkdir ~/.ccache

- if: matrix.os != 'ubuntu-24.04'
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 16 all
sudo ./llvm.sh 16 clang

- 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: Restore 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
34 changes: 33 additions & 1 deletion .github/workflows/build-ton-macos-13-x86-64-portable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,45 @@ 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: Create directories
run: |
mkdir -p ~/.ccache
mkdir -p 3pp

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

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

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

- name: Run Tests
run: |
cd build
ctest --output-on-failure --timeout 1800

- name: Upload artifacts
uses: actions/upload-artifact@master
Expand Down
Loading