1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00
Commit graph

405 commits

Author SHA1 Message Date
SpyCheese
0763691f70 Simplify loading virtual states from collated data, fix message queue cleanup 2025-01-27 11:49:18 +03:00
SpyCheese
a5e814e594 Merge branch 'testnet' into accelerator 2025-01-22 11:17:04 +03:00
SpyCheese
77e5a2f4a2 Merge branch 'testnet' into tvm-v9 2025-01-17 12:32:09 +03:00
SpyCheese
e8edc601a4 Merge branch 'testnet' into accelerator 2025-01-15 14:10:25 +03:00
SpyCheese
62838571eb
Support extra currencies in reserve action with +2 flag (#1429)
* Support extra currencies in reserve action with +2 flag

* Enable new reserve behavior in version 9
2025-01-15 10:43:33 +03:00
SpyCheese
87c4b4a5d4 Fix handling small out-of-sync in validate-query 2025-01-13 17:41:50 +03:00
SpyCheese
1ee3e5d6a7 Fix self_collate 2025-01-07 12:56:29 +03:00
SpyCheese
e8e7883329 Add more required cells to the proof in collated data 2025-01-07 10:54:09 +03:00
SpyCheese
5ce9d0bcdb Add more information to validatorStats.newValidatorGroup.node 2024-12-27 15:23:31 +03:00
SpyCheese
4ec34edc0c Fix telementry collection 2024-12-27 13:01:00 +03:00
SpyCheese
ca1093d9ba Improve handling sessino stats file 2024-12-27 13:00:00 +03:00
SpyCheese
e6984e4799 Add "self" to all session stats records 2024-12-27 12:20:45 +03:00
SpyCheese
71342bdcd4 Rework session stats 2024-12-26 14:03:12 +03:00
SpyCheese
c955a5333d Fix loading block candidates in WaitBlockData 2024-12-24 11:58:51 +03:00
SpyCheese
0fff1bd8c7 Fix loading library cell in contract code 2024-12-18 12:57:21 +03:00
SpyCheese
20c20e236b Check peer version before getOutMsgQueueProof 2024-12-10 15:46:28 +03:00
SpyCheese
378b5e94c8 Automatically issue and import fast sync overlay certificates 2024-12-04 18:06:19 +03:00
SpyCheese
09c4488fbf Merge branch 'testnet' into accelerator 2024-12-04 14:51:20 +03:00
SpyCheese
7bc50e63d7
tonNode.getOutMsgQueueProof query in public shard overlays (#1413)
* tonNode.getOutMsgQueueProof query in public shard overlays

* Allow responding to getOutMsgQueueProof requests one at a time only
2024-12-04 14:38:57 +03:00
SpyCheese
4704de76c6 Fix compilation errors 2024-11-29 13:49:24 +03:00
SpyCheese
0280a288c6 Check supported version in collator-node 2024-11-29 10:34:01 +03:00
SpyCheese
923f1cd69b Improve collator node pings and collation manager stats 2024-11-28 14:13:49 +03:00
SpyCheese
5d79855c94 Out msg queues: improve logs, various small changes 2024-11-27 18:12:23 +03:00
birydrad
bf572f9599 optimistic out-msg-queue broadcast 2024-11-26 21:41:12 +04:00
SpyCheese
640c0bb313 Merge branch 'testnet' into accelerator 2024-11-26 16:50:57 +03:00
SpyCheese
954a96a077
Accelerator: partial fullnodes (#1393)
* Accelerator: partial fullnodes

1) Node can monitor a subset of shards
2) New archive slice format (sharded)
3) Validators are still required to have all shards
4) Support partial liteservers in lite-client, blockchain explorer, tonlib
5) Proxy liteserver

* Fix compilation error
2024-11-26 14:46:58 +03:00
SpyCheese
d9aeab07db Send telemetry broadcasts to fast sync overlays 2024-11-26 10:53:55 +03:00
SpyCheese
e6aac0b143 Merge branch 'testnet' into accelerator 2024-11-26 09:28:07 +03:00
SpyCheese
b60f6ee72f Write collation stats to session stats, add collator options for collated data 2024-11-26 08:54:19 +03:00
SpyCheese
061c82f89c
Send validator telemetry to the private overlay (#1325)
* Send validator telemetry to the private overlay

* Improve rotating neighbours in overlays
2024-11-25 22:37:18 +03:00
SpyCheese
b3bea413e3 Rework validator-collator interaction
1) Remove config 41, move "full collated data" to capabilities
2) Whitelist on collator nodes
3) "Ping" request for collator nodes
4) More customizable collators list for validators
5) CollationManager
2024-11-21 11:47:39 +03:00
SpyCheese
7d2110c8b0 Fix shard overlays 2024-11-18 17:14:13 +03:00
SpyCheese
62ede1851b Merge branch 'testnet' into accelerator 2024-11-18 12:37:18 +03:00
SpyCheese
52b010ff34
Fix block limit classification (#1337)
Block size estimation can decrease, so it was possible that soft limit was reached, but the block is not considered overloaded
2024-11-18 09:39:20 +03:00
SpyCheese
18031ff98f Merge branch 'testnet' into accelerator 2024-10-21 20:41:09 +03:00
SpyCheese
603d1d14b9
More precise calculation of expected shard blocks in checkload (#1279)
* More precise calculation of expected shard blocks in checkload

* Fix monte-carlo checkload
2024-10-15 17:59:12 +03:00
Marat
3e806bf46e
Limit RocksDB logs size (#1278)
* fix logging of failed destroy attempts

* limit rocksdb log size
2024-10-15 17:43:09 +03:00
SpyCheese
adc692cfb3 Merge branch 'testnet' into accelerator 2024-10-14 14:31:20 +03:00
SpyCheese
97398b7db0
Fix null pointer error in validator group (#1271) 2024-10-14 09:42:52 +03:00
SpyCheese
36e04971eb Merge branch 'testnet' into accelerator 2024-10-13 11:39:36 +03:00
SpyCheese
2ce2c8fc49
Count account_dict size in block size estimation (#1261)
* Count account_dict size in block size estimation

* Fix updating account dict estimator
2024-10-12 13:21:47 +03:00
EmelyanenkoK
d04cdfa0dc
Use parallel write to celldb (#1264)
* Parallel write in celldb

* Add TD_PERF_COUNTER to gc_cell and store_cell

* More error handling

* Tests for prepare_commit_async

* Install g++11 for ubuntu 20.04

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-10-11 15:31:59 +03:00
SpyCheese
df21424047 Merge branch 'testnet' into accelerator 2024-10-09 21:10:36 +03:00
SpyCheese
b69214b6af
Validator patch: state download, adnl stats (#1257)
* Persistent state download improvements

1) Don't start over on restart
2) Download shards one at a time to reduce RAM usage
3) More logs

* Remove old peers from adnl stats
2024-10-09 13:55:59 +03:00
EmelyanenkoK
1da94e62ad
Send only first block candidate optimistically (#1260)
* Broadcast only the first block candidate

* Fix sending block broadcast

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-10-09 13:53:46 +03:00
SpyCheese
1c2c777644 Merge branch 'testnet' into accelerator 2024-10-02 17:49:12 +03:00
SpyCheese
f94d1bee0c
Extra currencies (#1122)
* Support extra currencies in tonlib, blockchain-explorer, getAccountPrunned

* Fix dict_combine_with with non-zero mode
2024-10-01 10:22:49 +03:00
SpyCheese
257cd8cd9c
Fix estimating block size, repeat collation on error (#1178)
* Fix extimating block size, repeat collation on error

* Cancel collation when it is non needed
2024-10-01 10:22:15 +03:00
SpyCheese
3b97da6d46 Merge branch 'testnet' into accelerator 2024-09-30 17:22:31 +03:00
SpyCheese
6755b8314a
Various changes in node (#1230)
* Remove unneeded "wait_neighbours_not_empty"

* Fix "round_started_at" for the first round

* Fix use after move in overlay.cpp

* Move "last gc masterchain state" stat to CellDbIn::prepare_stats

* Fix disabling state serializer
2024-09-30 17:12:38 +03:00