EmelyanenkoK
a78adf3062
Increase limit for t_Block.validate, simplify validating StateInit ( #691 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-05-03 14:18:18 +03:00
EmelyanenkoK
fd4c512de5
Move JettonBridge config num for BNB, Polygon
2023-04-17 15:54:33 +03:00
SpyCheese
9be3701bc0
Don't delete accounts with extra currencies (temporary) ( #659 )
2023-03-30 10:02:15 +03:00
EmelyanenkoK
865ebfce8d
Add namespaces to Fift ( #641 )
...
* Add fift-based disassembler
* Fift improvements: namespaces, hashmaps, flow controls
* Fift: add lib with better block structuring and more
* Minor changes in fift HashMap + tests (#643 )
* Minor changes in fift HashMap
* Add tests for extended fift
---------
Co-authored-by: OmicronTau <omicron@ton.org>
Co-authored-by: Tolya <1449561+tolya-yanot@users.noreply.github.com>
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-03-10 14:16:29 +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
9ea6b5bf30
Fix error message for unpacking block header ( #595 )
...
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2023-02-02 10:04:39 +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
13b9f460af
SuspendedAddressList config param ( #585 )
...
* SuspendedAddressList config param
* Change tag for cskip_suspended
2023-01-09 20:37:58 +03:00
EmelyanenkoK
7347ec0b3b
Add TON Storage to Proxy via storage gateway ( #577 )
...
* Access ton storage from proxy, resolve "dns_storage_address" in tonlib
* Set storage gateway address in proxy args
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-12-29 17:28:50 +03:00
EmelyanenkoK
b6d44bb02a
Revert "fix include paths parsing under Windows ( #541 )" ( #557 )
...
This reverts commit 4d09d04a42
.
2022-12-15 17:12:29 +03:00
elderorb
4d09d04a42
fix include paths parsing under Windows ( #541 )
2022-12-15 14:55:11 +03:00
EmelyanenkoK
6f63be6140
Add more params to JettonBridgeParams
2022-12-13 17:25:12 +03:00
EmelyanenkoK
75f57bdc76
Add versions to JettonBridgeParams ( #547 )
2022-12-08 15:53:01 +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
5e3cc23921
Optimize calculation of storage stat, add logs to transaction.cpp
2022-11-24 19:16:55 +03:00
EmelyanenkoK
64b960740a
Fix typo in ConfigParam 79
2022-10-22 14:42:13 +03:00
EmelyanenkoK
4c8194ab5b
Add ConfigParam 79 ( #498 )
...
* Add ConfigParam 79
* Change Config79 MsgAddress -> bits256
* Add ConfigParam 81 for Polygon
2022-10-21 17:45:37 +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
EmelyanenkoK
9c6787d2ff
Fix undefined behavior code ( #464 )
...
* Fix UB in arithmetics
* Fix misaligned allocations in validator sessions
* Fix integer overflow in bigint.hpp
* Fix potential UB
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-09-19 17:31:54 +03:00
SpyCheese
b44e5403c8
Fix DNS resolve in liteclient and tonlib
2022-08-29 11:04:03 +03:00
andreypfau
e36452fffe
Explicitly add ValueFlow prefix ( #411 )
2022-08-15 18:23:23 +03:00
SpyCheese
8d7f1bba73
Update catchain ( #432 )
...
* Update catchain
* Update ton_api.tlo
2022-08-08 09:31:36 +03:00
EmelyanenkoK
5101b404a4
Merge branch 'master' into testnet
2022-08-04 17:45:31 +03:00
SpyCheese
7e207dc78f
Update DNS resolver in liteclient and tonlib
2022-06-29 17:59:30 +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
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
tolya-yanot
6faeca69a2
Fix split-depth and collator
2021-11-07 23:58:36 +03:00
EmelyanenkoK
03fc659d23
Update block.tlb
2021-09-06 12:49:36 +03:00
EmelyanenkoK
46204d918d
Make fine multiplicators rational with 256 base
2021-06-16 20:03:22 +03:00
EmelyanenkoK
41255daa54
Use punishment params from config for validator complaints
2021-06-16 20:03:22 +03:00
EmelyanenkoK
9a4ac01078
Set proto_version in ValidatorSessionConfig from network config
2021-06-16 20:03:22 +03:00
EmelyanenkoK
82a3eb9bd2
Add TL-B schemes for consensus_v3, misbehaviour_punishment and oracles
2021-06-16 20:03:22 +03:00
Alex Melman
bab4c1637e
Automatically integrates git build information into executables.
...
Usage:
func.exe -V
adnl-pong -V
validator-engine -V
and so on.
Result will be shown in the following format:
Func build information: [ Commit: d8b751d7a5
, Date: 2021-02-27 14:34:41 +0200]
2021-02-27 14:34:43 +03:00
Alex Melman
41a3418b7b
Adds command line parameter -V that shows build version to the binaries.
...
Build number controlled in top level CMakeLists.txt file via -DBUILD_VERSION variable.
Usage:
adnl-pong -V
validator-engine -V
and so on.
2021-02-27 14:34:41 +03:00
ton
eecf05ca59
bugfixes + tonlib update
2020-04-30 15:04:47 +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
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
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
0e4277313c
fixed crash in validator. Updated elector/config smartcontracts
2020-04-02 17:08:42 +04:00
ton
4b5dd4525e
updated lite-client
2020-03-31 17:11:56 +04:00
ton
a31f8d4424
bugfixed + crypto update
...
- compiles vs BoringSSL
- config proposal/vote fift code
- bugfixes in catchain
- other small fixes
2020-03-27 18:59:00 +04:00
ton
9f351fc29f
emergency update
2020-03-24 03:32:16 +04:00
ton
5d846e0aaf
changed block layout
2020-03-11 20:34:33 +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
ba76f1404e
vm: bugfixes
2020-03-02 17:52:55 +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
a73d202ba2
updated func and tonlib
2020-02-15 20:03:17 +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
d41ce55305
updated fift/func
2019-12-12 19:16:25 +04:00
ton
ceaed40ac4
updated fift + bugfixes
2019-12-05 16:51:51 +04: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
3002321eb7
updated tonlib
2019-10-31 14:26:04 +04:00
ton
c860ce3d1e
updated smartcontracts
...
- updated smartcontracts
- updated fullnode database layout
- fixed memory leak in blockchain-explorer
- updated tonlib
2019-10-23 17:43:50 +04:00
ton
9c9248a9ae
updated func
...
- updated func
- deleted autogenerated files from git
- updated liteclient
- increase state sync timeout
2019-10-16 13:00:43 +04:00
ton
b978e27b2f
updated smartcontract code
...
- updated smartcontract code
- fixed bug in liteserver listening socket
- updated documentation
2019-10-14 11:13:23 +04:00
ton
f67f5d879b
func: bugfix
...
- bugfix in func
- vertseqno support in validator/collator/topsharddescr
2019-10-07 13:08:23 +04:00
ton
29deff15c3
updated fift
...
updated fift
updated tonlib
2019-10-05 21:21:24 +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
fd7a8de970
updated tonlib, block routing
...
- upated tonlib
- fixed bug in message routing
2019-09-28 11:44:38 +04:00
ton
28df74178c
updated tonlib
...
1. updated tonlib
2. fixed bug in state download
2019-09-22 10:14:09 +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
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
2b734e170c
updated simple wallet sc, updated transaction processing code
2019-09-08 20:29:51 +04:00
initial commit
c2da007f40
initial commit
2019-09-07 14:33:36 +04:00