EmelyanenkoK
d067e6ca3f
Make stricter cleanup timelimit
2023-04-26 21:32:26 +03:00
EmelyanenkoK
7ee70778d2
Add timeout for out_msg_queue_cleanup ( #679 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-04-26 09:15:16 +03:00
SpyCheese
d082ac36b0
Merge branch 'testnet' into block-generation
2023-03-28 16:52:33 +03:00
Marat
078aabe50e
Add method listBlockTransactionsExt to liteserver ( #399 )
...
* Verify proof for method blocks.getTransactions
* check completeness of response
* fix start_lt
* fix mode & 128, check bTxes->ids_ out of bounds
* Improve gitactions; separate cpp-check (#346 )
* Use ninja build tool and compile blockchain-explorer
Ninja builds TON much faster;
* Use clang instead of gcc
* remove blockchain-explorer
since target not found on github action
* move ccpcheck to other gitaction
* run nativelib-java only against wallets branch for now
* rename gitaction
* Update windows2019x64-tonlib-java.yml
* Update windows2019x64-tonlib-java.yml
* Update macos-10.15-tonlib-java.yml
* Update windows2019x64-tonlib-java.yml
* Update windows2019x64-tonlib-java.yml
* rebase
* update tlo's
* Revert "Improve gitactions; separate cpp-check (#346 )"
This reverts commit bd1d96e6d391e48840d81cfcf10d2692848e504e.
* add checks, simplify ls response
* Revert workflows
* Add verifying proofs
* fix win build
---------
Co-authored-by: neodiX42 <namlem@gmail.com>
2023-03-07 19:49:25 +03:00
SpyCheese
706be23c83
Limit maximal Merkle depth ( #626 )
2023-02-28 12:06:57 +03:00
SpyCheese
0578cb4a42
Fix typos, UBs and warnings ( #625 )
2023-02-28 12:06:09 +03:00
Andrey Pfau
426879cd82
ErrorCode::notready
for "block is not applied": (#594 )
2023-02-02 10:04:54 +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
d324fa5820
Bugfix
2023-01-13 19:04:11 +03:00
SpyCheese
1ccf25d6b7
Merge branch 'testnet' into block-generation
2023-01-11 16:10:57 +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
d652f7d706
Merge branch 'testnet' into block-generation
...
# Conflicts:
# adnl/adnl-query.cpp
# crypto/block/block.tlb
# crypto/block/mc-config.h
# lite-client/lite-client.cpp
# overlay/overlay-manager.h
# overlay/overlay-peers.cpp
# overlay/overlay.cpp
# overlay/overlay.h
# overlay/overlay.hpp
# overlay/overlays.h
# rldp-http-proxy/DNSResolver.cpp
# rldp-http-proxy/rldp-http-proxy.cpp
# tl/generate/scheme/ton_api.tl
# tl/generate/scheme/ton_api.tlo
# tl/generate/scheme/tonlib_api.tlo
# ton/ton-types.h
# tonlib/tonlib/ExtClient.cpp
# tonlib/tonlib/ExtClient.h
# tonlib/tonlib/ExtClientLazy.cpp
# tonlib/tonlib/ExtClientOutbound.h
# tonlib/tonlib/ExtClientRaw.h
# tonlib/tonlib/TonlibClient.cpp
# tonlib/tonlib/TonlibClient.h
# tonlib/tonlib/tonlib-cli.cpp
# validator/impl/collator.cpp
# validator/impl/validate-query.cpp
# validator/impl/validate-query.hpp
# validator/manager.cpp
# validator/state-serializer.cpp
# validator/state-serializer.hpp
# validator/validator-group.cpp
# validator/validator-group.hpp
# validator/validator.h
2022-12-22 23:37:35 +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
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
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
636348ffc2
Merge branch 'testnet' into block-generation
...
# Conflicts:
# overlay/overlay-fec-broadcast.cpp
# overlay/overlay.hpp
# tl/generate/scheme/ton_api.tl
# tl/generate/scheme/ton_api.tlo
# validator-engine-console/validator-engine-console-query.cpp
# validator-engine-console/validator-engine-console-query.h
# validator-engine-console/validator-engine-console.cpp
# validator-engine/validator-engine.cpp
# validator-engine/validator-engine.hpp
# validator/downloaders/wait-block-state.hpp
# validator/impl/validate-query.cpp
# validator/validator.h
2022-10-06 13:46:25 +03:00
SpyCheese
699a56b951
Send block broadcasts directly to collators
2022-10-06 13:40:53 +03:00
SpyCheese
b0c2c6c525
Don't send proof of masterchain message queue
2022-09-23 17:23:00 +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
SpyCheese
62a412ac13
Add some required collated data
2022-09-15 20:14:34 +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
011e97f53c
Flag "full collated data" in mc config; fix accept-block
2022-08-19 18:24:17 +03:00
SpyCheese
81d32ba5d6
Out msg queue proof: send only the required part
2022-08-19 18:24:17 +03:00
SpyCheese
ac7a33497b
Validate msg queue proof
2022-08-19 18:24:15 +03:00
SpyCheese
e43e235143
Get neighbors' msg queues from other nodes
2022-08-19 18:24:15 +03:00
SpyCheese
7ac60bea7d
New shard overlays
2022-08-19 18:24:15 +03:00
SpyCheese
53270a00e6
Add CollatorNode and make validators request blocks from it
2022-08-19 18:24:15 +03:00
SpyCheese
996c23e506
Shardchain validation without monitoring shardchains
2022-08-19 18:24:14 +03:00
SpyCheese
bdfca7afef
Remove unused code
2022-08-19 18:24:14 +03:00
SpyCheese
415ace3da9
Exporting and importing candidates using validator-engine-console; lite mode for validator group
2022-08-19 18:24:14 +03:00
SpyCheese
625516c568
Lite-mode for validate-query, more collated data in collator
2022-08-19 18:24:14 +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
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
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
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
3384d204d2
Add checks for external messages
2022-05-06 10:40:12 +03:00
tolya-yanot
6faeca69a2
Fix split-depth and collator
2021-11-07 23:58:36 +03:00
ton
4e2624459b
integrating the existing state of TON Storage / TON Payments / CPS Fift development branches
2020-05-27 22:10:46 +04:00
ton
9f008b129f
updated submodules, bugfixes
...
- added new fift/func code for validator complaint creation
- bugfixes in validator
- updates in tonlib
- new versions of rocksdb/abseil
- hardfork support
2020-04-27 16:01:46 +04:00
ton
16a4566091
validator bugfix + old key blocks download improvement
2020-04-11 18:08:57 +04:00
ton
be9c34c62d
bugfixes
2020-04-10 23:06:01 +04:00
ton
8be3fc99ed
bugfixes + decreased archive slice size
2020-04-08 23:49:28 +04:00
ton
cea5281ad3
increased validator version
2020-04-07 01:27:34 +04:00
ton
cf97f48cd7
error handling in lite client, speed up message dequeue in blocks
2020-04-07 00:08:53 +04:00
ton
dfc040cb00
validator: multiple bugfixes
2020-04-06 15:22:14 +04:00
ton
7efb345e3d
remove debug checks to improve performance under load on weak validators
2020-04-05 13:56:24 +04:00
ton
d17186896b
fixed block scheme bug
2020-04-03 23:21:15 +04:00
ton
c300b4ff30
bugfix in validator
2020-04-03 18:47:22 +04:00
ton
54b40df4aa
bugfix in collator
2020-04-02 22:13:18 +04:00
ton
0e4277313c
fixed crash in validator. Updated elector/config smartcontracts
2020-04-02 17:08:42 +04:00
ton
606e970ed5
fixed possible CE
2020-03-24 11:00:14 +04:00
ton
9f351fc29f
emergency update
2020-03-24 03:32:16 +04:00
ton
54c7a4dcc3
updated vm
...
- updated func/fift
- additional checks in block validator
- docs
- tunnel prototype in ADNL
2020-03-11 14:19:31 +04:00
ton
dd4ac0f440
vm bugfixes
2020-02-28 18:59:47 +04:00
ton
e27fb1e09c
updated vm (breaking compatibility)
...
- updated vm
- new actor scheduler
- updated tonlib
- updated DNS smartcontract
2020-02-28 14:28:47 +04:00
ton
efd47af432
updated tonlib + fixes in vm
2020-02-20 19:56:18 +04:00
ton
28735ddc9e
bugfixes
2020-02-17 14:18:59 +04:00
ton
1de39f5d7c
bugfixes + doc update
2020-02-08 23:24:49 +04:00
ton
77842f9b63
updated tonlib
...
- updated tonlib
- updated validator
- updated documentation
- first version of http over rldp proxy
2020-02-06 21:56:46 +04:00
ton
53ec9684bd
updated liteserver
...
- new methods for liteserver/liteclient
- added ADNL/DHT client-only work mode
- fixed crash in ADNL
2020-02-02 16:53:37 +04:00
ton
acf16718e6
updated func/fift
...
- updated func/fift
- updated liteclient/liteserver
- bugfixes
2019-12-29 12:14:12 +03:00
ton
090e0c16eb
slightly changed block format
...
- small change in block format
- added config in blockchain explorer
- bugfixes
2019-11-28 18:44:14 +04:00
ton
e30d98eb30
new db
...
new database
fift/func bugfixes
2019-11-15 18:02:37 +04:00
ton
f67f5d879b
func: bugfix
...
- bugfix in func
- vertseqno support in validator/collator/topsharddescr
2019-10-07 13:08:23 +04:00
ton
dd745485e2
update tonlib
...
tonlib: update
collator: increased collation speed for masterchain
fift: bugfixes
2019-10-04 16:08:02 +04:00
ton
7ea00ebfcf
updated tonlib, fixed bugs
...
updated tonlib
fixed bugs in func
validator: partial support for hardforks
liteserver: support for waitMasterchainBlock prefix
transactions: support for gas flat rate
2019-10-03 17:04:52 +04:00
ton
841d5ebac2
updated fift
...
updated fift
updated some smartcontracts
added partial support for hardforks
2019-10-01 14:07:35 +04:00
ton
2845f9a2cc
liteserver: bugfix
...
liteserver/liteclient: fixed bug in proof
validator: added stats
smartcontracts: updates
2019-09-30 16:49:45 +04:00
ton
f40822b58a
fullnode: support for TCP master/slave replication
2019-09-19 23:17:17 +04:00
ton
b90fa25ba4
fixed bug in check_proof()
2019-09-18 23:08:41 +04:00
ton
13140ddf29
updated block header
...
1. Updated block header, proofs now contain more data
Notice, that old proofs may become invalid in the future
2. Fixed message routing
3. Fixed block creator id in block header
4. Support for full proofs in tonlib
5. Support for partial state download
6. Some other bugfixes
2019-09-18 21:46:32 +04:00
ton
bce33f588a
updated smartcontract code
...
updated lite-client and configuration smartcontract
updated tonlib code
2019-09-16 12:08:04 +04:00
ton
8e5bd938aa
fixed CE
2019-09-14 21:27:52 +04:00
ton
9d6853ef24
liteclient signature check support
...
1. update liteclient/liteserver. Now liteserver sends signatures of
blocks and liteclient checks them. I.e. liteclient completely checks
received data.
2. validator-engine: more GC options
3. blockchain-explorer: show all block transactions (instead of 256)
4. some bugfixes
2019-09-14 18:14:55 +04:00
ton
d8244eff53
changed validate broadcast logic, added new queries to
...
validator-engine-console
2019-09-11 16:50:29 +04:00
ton
47814dca3d
deleted unused code, support for logrotate, update in block validation code
2019-09-10 12:31:51 +04:00
initial commit
c2da007f40
initial commit
2019-09-07 14:33:36 +04:00