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

851 commits

Author SHA1 Message Date
Maksim Kurbatov
921aa29eb5
create complaints for master vals only for masterchain blocks (#1231) 2024-09-30 20:42:06 +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
EmelyanenkoK
b78199370e
Merge pull request #1202 from ton-blockchain/tvm-patch
Fix transaction original_balance and VmState::jump_to
2024-09-23 21:10:57 +03:00
birydrad
72020c04c4
celldb in-memory mode, stats for actors, perf counters, minor fix in rldp2 (#1164)
* getactorstats query for validator-engine-console

* celldb in-memory mode (--celldb-in-memory option)

* rldp2: bugfix - do not estimate speed while nothing is sent

* add simple ed25519 benchmark

* fix compilation errors of different platforms and move to c++20

* fix some warnings

* turn on TON_USE_ABSEIL for glibc 2.27 nix build

---------

Co-authored-by: birydrad <>
2024-09-23 17:34:37 +03:00
neodix42
5f51d3d04f
Remove redundant linking dependencies (#1198)
* fixing compilation warning:
ld: warning: ignoring duplicate libraries: '../crypto/libton_block.a', '../crypto/libton_crypto.a'

* update upload-artifact version in TON Static Code Analysis GH action

* remove even more redundant linking dependencies

* remove even more redundant linking dependencies 2
2024-09-23 17:31:01 +03:00
SpyCheese
2cca7fddcc Consume gas in VmState::jump_to 2024-09-23 12:09:16 +03:00
SpyCheese
e04965c400 Fix setting original_balance in transaction.cpp 2024-09-20 15:16:46 +03:00
SpyCheese
b5734d2e30 Get rid of recursion in tvm continuations 2024-09-20 15:16:27 +03:00
neodix42
eea95aeebb
Add tonlib libraries for Android to release (#1169)
* add android tonlib artifacts to release

* change final artifacts access rights
2024-09-13 20:48:38 +03:00
SpyCheese
b304b1c7be
LS getDispatchQueueInfo and getDispatchQueueMessages methods (#1161)
* liteServer.getDispatchQueueInfo query

* Fix getting min/max lt

* LS getDispatchQueueMessages method
2024-09-13 20:47:30 +03:00
EmelyanenkoK
9f203890f4 Merge branch 'SpyCheese-mintless-util' into testnet 2024-09-13 20:44:47 +03:00
SpyCheese
76cda01af9 mintless-proof-generator make_all_proofs 2024-09-13 10:09:03 +03:00
EmelyanenkoK
1a5bbf30f1
mintless-proof-generator (#1166)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-09-12 18:02:56 +03:00
SpyCheese
1e5d84a9d8 mintless-proof-generator 2024-09-12 11:50:34 +03:00
EmelyanenkoK
e55c132178
Merge pull request #1157 from SpyCheese/testnet-update
Update testnet with safe features
2024-09-09 19:40:48 +03:00
EmelyanenkoK
1bef6df455
Merge pull request #1156 from ton-blockchain/safe_features
Merge safe features branch
2024-09-09 17:23:31 +03:00
SpyCheese
feff73c4be Merge branch 'safe_features' into testnet-update 2024-09-06 11:48:46 +03:00
SpyCheese
89e1cd9738 Adapt test-adnl to rate limits 2024-09-05 16:08:52 +03:00
SpyCheese
e32a74e9c5
Collator: change deferring behavior when out queue size is big (#1135) 2024-09-05 15:56:07 +03:00
SpyCheese
cb69f307e9
Add "lastgcdmasterchainstate" to validator stats (#1154) 2024-09-05 13:04:57 +03:00
SpyCheese
e35b34de22
Don't deserialize continuations in LS runSmcMethod (#1151) 2024-09-04 11:38:29 +03:00
EmelyanenkoK
b2b79fead1
Ratelimit nochannel ADNL packets (#1147)
* Get ADNL stats in validator console

* Add timestamp to stats

* Limit nochannel adnl packets

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-09-03 13:34:31 +03:00
EmelyanenkoK
e08111159f
Dynamic catchain delays, state serialization improvements (#1140)
* Validator improvements

* Fix cancelling state serialization
* Disable state serializer on all mainnet validators
* Flag --catchain-max-block-delay-slow

* Set default catchain-max-block-delay to 0.4, delay-slow to 1.0

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-08-30 17:00:06 +03:00
EmelyanenkoK
0c21ce2ee4
Merge pull request #1139 from ton-blockchain/stable_testnet
Merge recent updates
2024-08-30 09:30:46 +03:00
neodix42
97c57c3386
add gh action to create docker image with a specified branch. Branch name will be used as image's tag name. (#1133)
Co-authored-by: neodiX <neodix42@ton.org>
2024-08-28 17:59:28 +03:00
SpyCheese
48d94d500a
Allow unlimited catchain.getBlock requests (#1132) 2024-08-28 14:09:22 +03:00
EmelyanenkoK
e9bd482382 Increase moderate misbehavior threshold 2024-08-28 11:18:12 +03:00
SpyCheese
b5fd8fa610 Disable state serializer on masterchain validators (#1129) 2024-08-28 11:18:06 +03:00
SpyCheese
31840a7aa3 Set default state ttl to 86400, set serializer delay to up to 6h (#1125) 2024-08-28 11:17:56 +03:00
neodix42
18305ab2e6 * update links to docker image (#1109)
* include fift and func into Docker image

Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
Co-authored-by: neodiX <neodix42@ton.org>
2024-08-28 11:16:09 +03:00
SpyCheese
9803d004c4 Fix getting creator stats in lite-client (#1115) 2024-08-28 11:15:53 +03:00
SpyCheese
dc26c3be67 Improve validator session stats (#1117)
* Improve validator session stats

* Collator stats: block limits, number of processed external messages
* Collator and validator work time
* Last key block seqno
* Approvers and signers

* End validator session stats
2024-08-28 11:15:23 +03:00
krigga
b70090dae3 Disable testing and fuzzing for openssl when building WASM packages (#1116)
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2024-08-28 11:15:17 +03:00
SpyCheese
622dc8676a Limit the number of threads to 127 (#1111) 2024-08-28 11:15:08 +03:00
SpyCheese
a71d413202 Improve dht lookup in overlays (#1104)
Continue dht lookup even if value was found
2024-08-28 11:15:00 +03:00
SpyCheese
6515136061 Improve creating channels in adnl (#1108)
* Improve creating channels in adnl

* Improve handling of cryptographic keys
2024-08-28 11:14:54 +03:00
SpyCheese
f7e189f272 Fix UB in blst aggregate verify (#1107) 2024-08-28 11:14:41 +03:00
EmelyanenkoK
be55da5fde
Increase moderate misbehavior threshold 2024-08-27 18:17:43 +03:00
SpyCheese
6038147afe
Disable state serializer on masterchain validators (#1129) 2024-08-27 18:10:17 +03:00
SpyCheese
16a2ced4d3
Set default state ttl to 86400, set serializer delay to up to 6h (#1125) 2024-08-26 17:53:42 +03:00
SpyCheese
cba92777a4
Fix adding overlay neighbor (#1121) 2024-08-23 13:12:40 +03:00
neodix42
1af2d3776f
* update links to docker image (#1109)
* include fift and func into Docker image

Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
Co-authored-by: neodiX <neodix42@ton.org>
2024-08-23 11:59:40 +03:00
SpyCheese
908415d00b
Accelerator, part 1 (#1119)
This commit contains some parts of https://github.com/ton-blockchain/ton/tree/accelerator
This is auxiliary code that mostly does not change node behavior.

1) Semiprivate overlays and other improvements in overlays code
2) Rename actual_min_split -> monitor_min_split, fix building shard overlays
3) Loading block candidates by block id from DB, fix accept_block after validator restart
4) Cells: ProofStorageStat and changes in CellUsageTree
5) Remove some unused code, other minor changes
2024-08-23 11:46:40 +03:00
SpyCheese
9a10f79fba
Fix getting creator stats in lite-client (#1115) 2024-08-20 19:55:01 +03:00
SpyCheese
9c3dc22b78
Improve validator session stats (#1117)
* Improve validator session stats

* Collator stats: block limits, number of processed external messages
* Collator and validator work time
* Last key block seqno
* Approvers and signers

* End validator session stats
2024-08-20 19:54:16 +03:00
krigga
5bdcb5e2ce
Disable testing and fuzzing for openssl when building WASM packages (#1116)
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2024-08-20 19:50:59 +03:00
SpyCheese
06515c3735
Limit the number of threads to 127 (#1111) 2024-08-16 10:23:41 +03:00
SpyCheese
9661676646
Improve dht lookup in overlays (#1104)
Continue dht lookup even if value was found
2024-08-15 15:26:35 +03:00
SpyCheese
77a816e461
Improve creating channels in adnl (#1108)
* Improve creating channels in adnl

* Improve handling of cryptographic keys
2024-08-15 15:25:16 +03:00
SpyCheese
0cff1c88f7
Fix UB in blst aggregate verify (#1107) 2024-08-15 12:53:05 +03:00