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

550 commits

Author SHA1 Message Date
EmelyanenkoK
550c28d7db
Improve DHT store/load, pinging overlay peers (#840)
* Improve DHT store/load, pinging overlay peers

* Fix speed limits in storage

* Use keyStoreTypeDirectory in rldp-http-proxy and storage-daemon

Mainly for caching synced block in tonlib.

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-12-28 09:43:10 +03:00
EmelyanenkoK
c8918f0c02
Write config.json using temp file (#839)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-12-27 15:50:09 +03:00
EmelyanenkoK
b3be4283ff
Better error messages from LS for missing blocks (#837)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-12-25 09:30:51 +03:00
EmelyanenkoK
83efcebad0
Improve CellDb migration (#835)
* Fix deserializing cells
* Use proxy actor
* Add delays
* Print stats every minute

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-12-19 10:39:35 +03:00
EmelyanenkoK
ace934ff35
Adjust allowed time lag for last_liteserver_state + more verbose logs (#836)
* Add logs to collator and validator

* More logs to get_ext_messages, decrease verbosity level

* Adjust allowed time lag for last_liteserver_state

* Change verbosity of STATUS message

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-12-19 10:39:25 +03:00
EmelyanenkoK
1fc4a0faed
Move low blockrate lt_limits to appropriate place (#828)
* Fix setting lt_delta limits

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-12-13 21:33:54 +03:00
EmelyanenkoK
7a457ca278
Fix linking error (#827)
* Fix linking error

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-12-13 15:12:58 +03:00
EmelyanenkoK
5e6b67ae96
Improve handling outbound message queues (#825)
* Improve handling outbound message queues

* Cleanup queue faster
* Calculate queue sizes in background
* Force or limit split/merge depending on queue size

* Increase validate_ref limit for transaction

* Add all changes of public libraries to block size estimation

* Don't crash on timeout in GC

* Don't import external messages when queue is too big

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-12-13 12:57:34 +03:00
EmelyanenkoK
3a595ce849
Merge pull request #824 from ton-blockchain/master
Merge master
2023-12-12 20:41:14 +03:00
EmelyanenkoK
9b6d699c21
Cache recent block states and adjust timeouts (#823)
* Add parameter --celldb-compress-depth to speed up celldb

* Fix collator timeout

* Add block_state_cache

* Adjust state cache ttl

* Don't merge shards when queue is too big

* Decrease lt limit if previous block is too old

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-12-08 14:20:17 +03:00
EmelyanenkoK
7fcf267717
Improve large OutMsgQueue clearance (#822)
* Improve Collator::opt_msg_queue_cleanup, increase collator timeout

* Disable importing ext msgs if queue is too big

* Extend timeout in collator if previous block is too old

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-12-06 19:34:01 +03:00
EmelyanenkoK
51baec48a0
Merge pull request #814 from ton-blockchain/testnet
Merge developer branch
2023-11-27 12:26:28 +03:00
EmelyanenkoK
51d5113395 Add 2023.11 Update changelogs 2023-11-27 11:30:46 +03:00
EmelyanenkoK
7262a66d21
Don't allow deploying a contract with public libs (#812)
* Check account size limits in unpack_msg_state

* Don't allow deploying a contract with public libs

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-11-23 18:17:44 +03:00
aleksej.paschenko
d9580eab1b
Increase emulator capability to (de)serialize data (#811) 2023-11-23 14:01:45 +03:00
EmelyanenkoK
6b8994e456
Return zero instead of null in compute_storage_fees (#810)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-11-22 15:41:02 +03:00
SpyCheese
1cffca0b40
Fix due payment reimbursement (#809) 2023-11-22 10:27:58 +03:00
SpyCheese
31263fb475
Limit max number of public libraries on contracts (#808) 2023-11-22 10:27:39 +03:00
SpyCheese
909e7dbdfc
Allow anycast destination address in masterchain (#807) 2023-11-22 10:25:53 +03:00
EmelyanenkoK
ba03657617
Fix transaction credit phase (#797)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-11-03 17:05:43 +03:00
EmelyanenkoK
79ed14cba9
Add information on running tests (#796)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-11-03 15:53:11 +03:00
EmelyanenkoK
52fd824939
Merge pull request #795 from SpyCheese/tvm-patch
Change GASCONSUMED opcode to f807
2023-11-03 15:31:53 +03:00
EmelyanenkoK
287f9d7e8f
Merge pull request #794 from SpyCheese/testnet
Sync testnet with master
2023-11-03 15:30:56 +03:00
SpyCheese
030ebaf772 Change GASCONSUMED opcode to f807 2023-11-03 15:25:58 +03:00
SpyCheese
945d4c3995 Merge branch 'master' into testnet
# Conflicts:
#	.github/workflows/ton-x86-64-linux.yml
#	.github/workflows/ton-x86-64-macos.yml
#	.github/workflows/win-2019-compile.yml
#	example/android/build.sh
#	tonlib/tonlib/TonlibClient.cpp
2023-11-03 15:12:59 +03:00
SpyCheese
5847897b37
Various changes in TVM, github builds and tests (#793)
* Bugfixes in TVM and node

* Upgrade to C++17

* Improve GitHub builds

* Fix existing tests and partially integrate them into builds

---------

Co-authored-by: neodiX42 <namlem@gmail.com>
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2023-11-03 14:43:34 +03:00
neodiX42
89700cb2aa
CI: fix macOS and tonlib Android GitHub actions in testnet (#786)
* fix macOS github actions

* fix android tonlib GH action;

* fixing wasm GH action

* strip binaries

* fix randomly failing ubuntu and wasm GH actions

* fix randomly failing ubuntu and wasm GH actions

* revert some changes
2023-10-30 11:52:00 +03:00
EmelyanenkoK
06e22bdb2e
Add "showtransactions" to tonlib-cli (#790)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-10-28 19:05:00 +03:00
Marat
6a0d14f8ed
[tonlib] Handle special cell in msg body (#789) 2023-10-26 15:25:37 +03:00
SpyCheese
2bfa6240dd
Support wallet-v4 in tonlib (#785) 2023-10-25 12:20:23 +03:00
neodiX42
a1d2d7cb04
upgrade nixpkgs to v22 (#784) 2023-10-23 14:30:26 +03:00
neodiX42
77847968fa
fix openSSL path (#783) 2023-10-23 13:31:40 +03:00
EmelyanenkoK
01e0d7d8d4
Merge pull request #782 from ton-blockchain/october_update
Merge developer branch
2023-10-23 09:50:38 +03:00
EmelyanenkoK
6e6081c657
Add 2023.10 update changelog 2023-10-23 09:49:02 +03:00
SpyCheese
9a06a2ebfb Human-readable timestamps in explorer (#776) 2023-10-20 10:04:01 +03:00
SpyCheese
e1df0b3c90 Check peers prior to saving it to local db (#779) 2023-10-20 10:03:54 +03:00
SpyCheese
2f8e80ef56 Do not retranslate external messages with wrong initstate (#778) 2023-10-20 10:03:44 +03:00
SpyCheese
866fbf936b Explicitly handle special cells in action list (#777) 2023-10-20 10:03:32 +03:00
SpyCheese
7f815fc3bd
Add "getconfig" to tonlib-cli (#780) 2023-10-17 15:19:58 +03:00
SpyCheese
b2a09eda17
Human-readable timestamps in explorer (#776) 2023-10-12 14:55:26 +03:00
SpyCheese
ddd3d44d5b
Check peers prior to saving it to local db (#779) 2023-10-12 14:54:38 +03:00
SpyCheese
cdf96a21d0
Do not retranslate external messages with wrong initstate (#778) 2023-10-12 14:54:14 +03:00
SpyCheese
41ed354b9f
Explicitly handle special cells in action list (#777) 2023-10-12 14:53:54 +03:00
neodiX42
65d22c46d9
Rework locking mechanism in blockchain-explorer. (#772)
Mainly because it was causing crash on Windows with error "unlock of unowned mutex".
2023-10-04 21:56:33 +03:00
SpyCheese
e1197b13d4 Fix parsing dict of public libraries (#762) 2023-08-09 17:16:07 +03:00
SpyCheese
6e51453056
Fix parsing dict of public libraries (#762) 2023-08-07 19:48:33 +03:00
EmelyanenkoK
6074702d05
Fix extracting version from config in tonlib (#748)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-07-17 17:20:01 +03:00
neodiX42
50d2361394
On MacOS, writing more than 0x7fffffff bytes will fail with errno 22 (#737) 2023-07-14 16:27:59 +03:00
EmelyanenkoK
afb630bf41
--shutdown-at parameter for validator-engine (#745)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-07-14 15:39:03 +03:00
EmelyanenkoK
f923b96a2f
Add Tonlib emulator libs (#744)
* Use global libraries in RunEmulator

* Tonlib method smc.getLibrariesExt

* Process missing transaction in getStateByTransaction

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-07-14 15:38:21 +03:00