SpyCheese
f4fd3ff3be
Merge branch 'testnet' into block-generation
2024-02-01 19:29:25 +03:00
EmelyanenkoK
64b04e46d7
Cheap fee calculations ( #878 )
...
* TVM v6
* New tuple with unpacked config parameters in c7
* New instructions for calculating fees
* Change unpacked_config_tuple, fix typo
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-26 15:43:53 +03:00
EmelyanenkoK
2e231ec2ff
Count gas usage for ordinar transactions on special accounts in separate counter ( #872 )
...
* Improve checking total gas usage in collator and validator
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-22 21:56:11 +03:00
EmelyanenkoK
d91643face
Fix getting shard client block id ( #870 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-22 18:33:26 +03:00
EmelyanenkoK
42d4c051ef
Disallow recursive library cells ( #868 )
...
* Disallow recursive library cells
* Stop emulation of external messages on accept
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-22 12:34:49 +03:00
EmelyanenkoK
128a85bee5
Use Config 8 to activate new gas limit behavior instead of new GasLimitsPrices constructor ( #867 )
...
* Remove gas_prices_v3, enable new gas limits by GlobalVersion = 5
* Change final date for higher gas limit
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-21 12:59:59 +03:00
EmelyanenkoK
b1f2160510
Fix setting gas limits in transaction.cpp ( #864 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-17 12:01:34 +03:00
SpyCheese
a68b5cbe62
Improve validator session stats ( #861 )
2024-01-16 14:24:46 +03:00
EmelyanenkoK
4303e49c93
Postpone addition of overlay for block broadcasting ( #842 )
...
This reverts commit a52045bd91 .
2024-01-16 11:29:03 +03:00
SpyCheese
388c8a6d86
Increase gas limit for a specific wallet (enabled by config) ( #859 )
2024-01-15 23:43:11 +03:00
EmelyanenkoK
ff40c1f2a0
Do not count gas on special accounts in block gas limits (enabled by config) ( #856 )
...
* Set higher gas limit for special accounts, don't add gas from special accounts to block total
* Make removing special accounts from block gas limits enabled by config
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-12 12:34:28 +03:00
Andrey Kravchenko
bc7ea2af2d
Fix pass the selected neighbor to the download proof ( #854 )
...
* Fix pass the selected neighbor to the download proof.
* Fix GetNextKeyBlocks as well
Previously, the neighbor was choosed, but it was not passed to the DownloadProof class, as a result, in got_download_token we always get a random one from overlay, but after failure, bad statistics are recorded for the previously selected neighbor, which did not participate in this operation.
2024-01-10 16:27:06 +03:00
EmelyanenkoK
a52045bd91
Add special overlay for validators for block broadcasting ( #842 )
...
* Private overlay for broadcasting blocks
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-12-28 21:54:55 +03:00
EmelyanenkoK
6c615a105a
Fix generating block header proof ( #841 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-12-28 17:40:54 +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
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
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
SpyCheese
31263fb475
Limit max number of public libraries on contracts ( #808 )
2023-11-22 10:27:39 +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
SpyCheese
06a6ef2fa9
Merge branch 'testnet' into block-generation
2023-10-16 11:23:04 +03:00
SpyCheese
1eef6ed55e
Bugfix in check_neighbor_outbound_message
2023-10-16 11:22:41 +03:00
SpyCheese
98fe1f886d
Remove excessive logs in collator
2023-08-31 11:57:02 +03:00
SpyCheese
1e3a12259b
Optimize masterchain collation
...
Use only shard blocks with ready msg queues
2023-08-30 20:14:19 +03:00
SpyCheese
47c60d8bf0
Bugfix in OutMsgQueueImporter
2023-08-21 14:33:58 +03:00
SpyCheese
7155bf5eca
Fix processing message queue in collator and validator
2023-08-13 20:37:59 +03:00
SpyCheese
6e51453056
Fix parsing dict of public libraries ( #762 )
2023-08-07 19:48:33 +03:00
SpyCheese
9e02853cbb
Improve importing msg queues
2023-08-03 12:06:41 +03:00
SpyCheese
e814973749
Limit query size in importing out queues
2023-07-31 22:56:25 +03:00
SpyCheese
5c02459fd8
Optimize importing out queues
2023-07-31 18:12:09 +03:00
SpyCheese
44ba040934
Don't store candidates on collator nodes
2023-07-30 18:54:25 +03:00
SpyCheese
503e10c05a
Fix choose_neighbour in full-node-shard
2023-07-26 17:28:14 +03:00
SpyCheese
783c75fc85
Decrease verbosity in out-msg-queue-proof.cpp
2023-07-26 16:29:37 +03:00
SpyCheese
da137fecf5
Extra shard overlay stats
2023-07-26 13:05:16 +03:00
SpyCheese
8c4bc5b3f1
Fix sending msg queue queries
2023-07-26 12:21:19 +03:00
SpyCheese
f1e62d0075
Move msg queue limits to config
2023-07-24 15:29:55 +03:00
SpyCheese
66b98b6d6a
Merge branch 'testnet' into block-generation
2023-07-21 19:29:57 +03:00
SpyCheese
32b3fe748a
Fix validating inbound msg queues
2023-07-21 19:29:29 +03:00
SpyCheese
869c6fe675
Rework limiting imported msg queues
2023-07-20 17:48:52 +03:00
SpyCheese
e6b77ef71d
Remove excessive check in check_neighbor_outbound_message
2023-07-19 14:53:10 +03:00
SpyCheese
aa4f5769ca
More logs for collators and validators
2023-07-18 19:44:41 +03:00
SpyCheese
3265e397f2
Rename actual_min_split and soft_mis_split to avoid confusion
2023-07-17 19:14:39 +03:00
SpyCheese
b8f347231f
Fix shard overlays
2023-07-17 18:45:32 +03:00
SpyCheese
96afdc12ac
Increase INACTIVE_SHARD_TTL
...
Node in overlay should be available until peer is expired
2023-07-14 17:16:49 +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