Andrey Pfau
426879cd82
ErrorCode::notready
for "block is not applied": (#594 )
2023-02-02 10:04:54 +03:00
SpyCheese
1e4eecfdb0
Logs and size limits for incoming queries in FullNodeShard ( #601 )
...
* Log incoming queries in FullNodeShard
* Limit size for some queries in FullNodeShard
2023-02-02 10:04:19 +03:00
EmelyanenkoK
3b3c25b654
Add account state by transaction and emulator (extended) ( #592 )
...
* account_state_by_transaction
* Correct time calculation
* Bug fixes
* Refactor
* namespace block::transaction
* smc.forget
* RunEmulator: remove wallet_id
* Refactor & fixes
* AccountStateByTransaction: use shardchain block instead of masterchain block
* transaction emulator core
* refactor
* tx emulator major functionality
* small format changes
* readme
* clean
* return json, add support for init messages
* tx emulator readme
* refactor getConfigParam and getConfigAll
* add shardchain_libs_boc parameter
* option to change verbosity level of transaction emulator
* fix deserializing ShardAccount with account_none
* add mode needSpecialSmc when unpack config
* emulator: block::Transaction -> block::transaction::Transaction
* Refactor
* emulator: Fix bug
* emulator: Support for emulator-extern
* emulator: Refactor
* Return vm log and vm exit code.
* fix build on macos, emulator_static added
* adjust documentation
* ignore_chksig for external messages
* tvm emulator, run get method
* Added more params for transaction emulator
* Added setters for optional transaction emulator params, moved libs to a new setter
* Added actions cell output to transaction emulator
* fix tonlib build
* refactoring, rand seed as hex size 64, tvm emulator send message
* tvm send message, small refactoring
* fix config decoding, rename
* improve documentation
* macos export symbols
* Added run_get_method to transaction emulator emscipten wrapper
* Fixed empty action list serialization
* Changed actions list cell to serialize as json null instead of empty string in transaction emulator
* stack as boc
* log gas remaining
* Fix prev_block_id
* fix build errors
* Refactor fetch_config_params
* fix failing unwrap of optional rand_seed
* lookup correct shard, choose prev_block based on account shard
* fix tonlib android jni build
---------
Co-authored-by: legaii <jgates.ardux@gmail.com>
Co-authored-by: ms <dungeon666master@protonmail.com>
Co-authored-by: krigga <krigga7@gmail.com>
2023-02-02 10:03:45 +03:00
SpyCheese
45c0270716
Improve handling of absent blocks in archive manager ( #600 )
2023-01-23 14:40:28 +03:00
SpyCheese
13b9f460af
SuspendedAddressList config param ( #585 )
...
* SuspendedAddressList config param
* Change tag for cskip_suspended
2023-01-09 20:37:58 +03:00
SpyCheese
eff610f807
Disable liteServer.getState method ( #573 )
2022-12-27 20:11:22 +03:00
SpyCheese
15cdfb0462
Fix compilation error in manager-disk.cpp ( #556 )
2022-12-15 17:12:43 +03:00
EmelyanenkoK
1b106ef270
Use state with applied shards in liteserver ( #553 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-12-13 17:46:54 +03:00
SpyCheese
ac50074ff6
Fix getting cell-db-reader in AsyncStateSerializer ( #546 )
2022-12-07 21:49:17 +03:00
SpyCheese
33a0d1e8bc
Allow starting node with a newer hardfork in config ( #538 )
2022-11-30 12:12:19 +03:00
EmelyanenkoK
d8dd75ec83
Limit account storage size ( #530 )
...
* Limit size of an account
* Bugfix
* Don't check size for special accounts
* Improve timeouts in collator and validator
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-11-30 08:40:19 +03:00
SpyCheese
a4a3ea2b77
liteServer.getAccountStatePrunned method ( #534 )
2022-11-30 08:39:32 +03:00
SpyCheese
c7f06abfbc
Fix finding blocks by lt and ut in archive manager ( #536 )
2022-11-30 08:38:46 +03:00
SpyCheese
4714726f4a
Cache result of run_collate_query in ValidatorGroup
2022-11-25 09:49:04 +03:00
SpyCheese
1d42c38122
Move some constants to global config ( #484 )
2022-10-10 17:13:21 +03:00
SpyCheese
580884033b
Check limits in validate-query, check timeout in collator ( #469 )
2022-10-06 21:31:41 +03:00
SpyCheese
bb5bc6178c
Change recursion to loop in CellSlice
2022-09-21 11:04:40 +03:00
SpyCheese
2512f0287b
Tonlib method getShardBlockProof ( #465 )
...
* Tonlib method getShardBlockProof
* Clarify limit of result.size() in getShardBlockProof
2022-09-20 10:49:28 +03:00
EmelyanenkoK
8329a58994
Add GetPerfTimerStats ( #451 )
...
* Add getperfwarningtimeraverage query for validator-engine-console
* Fix for getperfwarningtimeraverage query
* getperftimerstats
* Add history max size: 1 hour
* PerfWarningTimer: move callback instead of copy
* PerfWarningTimer: fix move constructor bug
* PerfWarningTimer: fix bug: lifetime of the callback was greater than lifetime of the local variable 'manager' captured by reference
* Fix validate-query.cpp: 'manager' used after it was moved
* PerfWarningTimer: remove logs
* getperftimerstats: write to json file
* getperftimerstatsjson
Co-authored-by: legaii <jgates.ardux@gmail.com>
Co-authored-by: Ivan Siomash <106972486+legaii@users.noreply.github.com>
2022-09-10 12:57:13 +03:00
SpyCheese
be824e9649
Check is_applied in liteserver
2022-08-22 10:25:28 +03:00
SpyCheese
417c3bb640
More detailed validator session stats
2022-08-18 21:52:08 +03:00
SpyCheese
b3e6819f3f
Log validator session stats to file
2022-08-18 21:51:57 +03:00
SpyCheese
30ba32bef9
Fix validator session options hash; fix proto_version
2022-08-09 13:18:06 +03:00
Tsenilov Oleg
e30049930a
Enhance overlay stats output ( #386 )
...
* Expand overlay stats
* Add scope and peer broadcast errors to stats
* Add json output format
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2022-06-07 16:24:26 +03:00
neodiX42
65e3177def
Fix windows validator-engine.exe runtime access violation error ( #387 )
...
* Fix runtime access violation error on Windows
2022-06-03 16:01:55 +03:00
EmelyanenkoK
845cbca1e5
Make asynchronous celldb interface ( #388 )
...
* Asynchronous load_cell in celldb
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-06-01 10:03:50 +03:00
EmelyanenkoK
ca00f0ed91
Extended error notes for unacceptable external messages ( #383 )
...
* patch sendMessage
* Verbose error message for "sendMessage" LS query
* More verbose errors in external-message.cpp
Co-authored-by: dungeon-master-666 <dungeon666master@protonmail.com>
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-05-24 21:21:58 +03:00
EmelyanenkoK
89b8717cf8
Persistent optimization ( #382 )
...
* State serialization consuming less RAM
* Move large-boc-serializer to crypto/vm, refactor code
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-05-24 21:17:11 +03:00
SpyCheese
3b4166be69
Add logs in AsyncStateSerializer
2022-05-16 12:29:39 +03:00
EmelyanenkoK
c07394aab5
Optimization of persistent state serialization ( #364 )
...
* Fix double serialization of masterchain; increase sync_blocks_before
* Improve logging in DownloadState
* Write persistent state directly to file instead of a buffer
* Don't keep ref to masterchain state in AsyncStateSerializer
* Sparse state serialization over longer period
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-05-15 17:51:24 +03:00
EmelyanenkoK
1e0b587023
Allow untrusted fecs after check ( #356 )
...
* Allow untrusted fecs after check
* FEC: save and resend incoming parts
Co-authored-by: OmicronTau <87443739+OmicronTau@users.noreply.github.com>
Co-authored-by: OmicronTau <omicron@ton.org>
2022-05-11 21:12:04 +03:00
EmelyanenkoK
0fbfc91965
Merge pull request #342 from SpyCheese/fix-node-init-timeout
...
Increase timeout for downloading persistent states and add logs
2022-05-06 11:40:51 +03:00
EmelyanenkoK
76c2764e7f
Sparse state serialization over time by randomized delay
2022-05-06 10:48:35 +03:00
Starlight Duck
3fee04e20a
Support libraries in LS and request+caching in TLC
2022-05-06 10:48:05 +03:00
OmicronTau
59fcd7cbd5
Deactivate accounts upon destruction in block
2022-05-06 10:44:44 +03:00
OmicronTau
1b480e39ba
Fix infinity max_gas_limit for get methods
2022-05-06 10:44:26 +03:00
OmicronTau
cb31a20206
Add methods to sign and import certificates
2022-05-06 10:42:49 +03:00
OmicronTau
3384d204d2
Add checks for external messages
2022-05-06 10:40:12 +03:00
OmicronTau
69d0472510
Add mempool messages cap
2022-05-06 10:33:00 +03:00
OmicronTau
678a8a6a13
Add overlay certificate checks
2022-05-06 10:32:55 +03:00
SpyCheese
21c2727dcf
Increase timeout for downloading astate and add logs
2022-05-03 17:19:31 +03:00
tolya-yanot
6faeca69a2
Fix split-depth and collator
2021-11-07 23:58:36 +03:00
OmicronTau
26ce7a7b05
Add logging of rotation params
2021-08-19 13:16:20 +03:00
Kirill A
013038c2ff
Add proper declarations for MHD result >=v0.9.71
2021-02-10 23:21:29 +03:00
AleksejMelman
b22611a123
Create ccpp-linux.yaml
...
Taken from https://github.com/akme/ton/blob/master/.github/workflows/ccpp-linux.yml
Fixing error LNK2019: unresolved external symbol _GetProcessMemoryInfo@12 when building windows desktop client
Fixes compilation error of lite-client on windows
Fixes compilation error:
error C2664: 'std::pair<td::int64,td::int64> std::make_pair<td::int64,td::int64>(_Ty1 &&,_Ty2 &&) noexcept (<expr>)': cannot convert argument 1 from 'const td::uint64' to '_Ty1 &&'
make_pair() has been changed in VS2012 to support a new C++11 feature called move semantics and I suspect that explicitly specifying the types for make_pair() is getting in the way.
The fix should be safe for linux distro as well.
Adding Github action - Win64 ton compile (#14 )
* Add github action win64 compile
* manager.cpp - Strange though, but due to this kind of type usage win64 compilation fails. Let's make it more generic.
2021-02-09 11:15:50 +03:00
EmelyanenkoK
f60694e67f
Schedule transition to Feb 1
2021-01-26 21:50:54 +03:00
EmelyanenkoK
fe3bfd1053
Reassign validation groups to new ids upon proto transition
2021-01-22 11:54:46 +03:00
EmelyanenkoK
d13691a933
Add versioned validatorSession.config
2021-01-20 16:11:40 +03:00
ton
dab7ee3f97
updated pow-miner + small bugfix
2020-07-10 13:46:16 +03:00
ton
f064b1047a
pow-testgiver support
2020-07-06 17:07:20 +03:00