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
360ef54e6b
TON Storage utilities ( #564 )
...
* Rename chunk to piece in MerkleTree for consistency
* Refactor PeerManager
* Make PeerState thread-safe
* Download torrent by hash
* First version of storage daemon
* Download torrents partially
* Improve storing and loading torrent state in DB
* Rewrite MerkleTree
* "Remove torrent" in storage daemon
* Process errors, fix bugs in storage
* Move TonlibClientWrapper from rldp-http-proxy to tonlib
* Initial version of storage provider
* Move interaction with contracts to smc-util
* Improve TonlibClientWrapper interface
* Various improvements in storage provider
* Fix TorrentCreator.cpp
* Improve interface for partial download
* Client mode in storage-daemon
* Improve interface of storage-daemon-cli
* Fix calculating speed, show peers in storage-daemon
* Use permanent adnl id in storage daemon
* Fix sending large "storage.addUpdate" messages
* Improve printing torrents in cli
* Update tlo
* Fix RldpSender::on_ack
* Update storage provider
* Add "address" parameter to get-provider-params
* Allow client to close storage contract
* Limit torrent description
* Add more logs to storage provider
* smc.forget tonlib method
* Use smc.forget in storage daemon
* Optimize sending messages in smc-util.cpp
* Fix verbosity, remove excessive logs
* Json output in storage-daemon-cli
* Update storage provider contracts
* Fix rldp2 acks
* Change verbosity of logs in rldp2
* Update help and output of commands and in storage-daemon-cli
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-12-22 12:24:13 +03:00
tolya-yanot
033c66e611
update testnet config in tonlib
2022-12-01 22:44:39 +03:00
ms
42335c1d8b
Update testnet config in tonlib ( #539 )
2022-11-30 20:03:12 +03:00
Ivan Siomash
0ddf2a7f9f
Update jni native-lib ganeration ( #497 )
...
* Add python-like triple quotes for multiline strings
* Add test for multiline asm
* Allow asm definition duplicate
* Asm duplicate: add test & fixes
* Fix multiline asm
* Fix asm duplicate
* generate_java: Add support for # and Int256
* generate_java: Add # and Int256 to native-lib
* Fix 'jni.h: no such file'
* Fix TonApi.java
* Fix android build.sh
* Fix android OPENSSL_ROOT_DIR
2022-11-01 22:13:37 +03:00
SpyCheese
42efd1f31e
Fix tonlib method getShardBlockProof
2022-10-12 17:18:38 +03:00
ms
7fcfc63d06
Add InitState to raw.getTransactions [tonlib] ( #485 )
...
* Extract and return message init state
* prefetch -> fetch
2022-10-10 17:25:20 +03:00
SpyCheese
caffdbb5ba
Tonproxy improvements ( #483 )
...
* Bugfixes in rldp-http-proxy and http parser
* Tonlib: change liteservers on query timeout or connection close
* Increase maximum size of http request
* Minor bugfixes in http
2022-10-06 21:31:18 +03:00
SpyCheese
0e428af807
Tonlib uses partial liteservers
2022-10-06 15:13:10 +03:00
SpyCheese
33a079962f
Tonlib: change liteservers on query timeout or connection close
2022-10-04 15:12:13 +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
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
EmelyanenkoK
4cdb82d0ce
Merge tonlib_api.tlo
2022-09-18 21:18:19 +03:00
ms
d9a5b2ccdc
Add tonlib function raw.getTransactionsV2 ( #461 )
...
* Add parameter count to raw.getTransactions
* fix tlo
* Add tonlib function raw.getTransactionsV2
2022-09-18 16:01:07 +03:00
AlexeyFSL
e2cca03a78
Func and Fift lib for WASM ( #455 )
...
* Add social badges
Add telegram, Twitter and Stack Overflow badges in Readme
* update README.md badges
* patch for wasm build
* fix narrowing conversion error for clang compiler
* refactor func code
* funcfift lib implementation
* fix funcfift lib
fix CMakeFile
* fix rvalue missing
* remove unused field from result json
* name fix
remove unused target
* rename
* added script for building funcfiftlib to wasm
* fix json fild names
* fix commit hash for script
* added version function to funcfiftlib
* update commit hash for script
* add realpath fail processing
fix DISABLE_EXCEPTION_CATCHING option
* update hash in script
Co-authored-by: Anthony Tsivarev <tsivarev.a@gmail.com>
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
Co-authored-by: tolya-yanot <1449561+tolya-yanot@users.noreply.github.com>
2022-09-14 12:36:01 +03:00
SpyCheese
3e24af5d15
Tonlib function getMasterchainBlockSignatures
2022-09-09 11:03:53 +03:00
ms
f95f1a5874
Add tonlib method raw.sendMessageReturnHash ( #423 )
...
* Add tonlib method raw.sendMessageReturnHash
* resolve tlo
Co-authored-by: ms <dungeon666master@protonmail.com>
2022-08-15 20:04:24 +03:00
ms
6185e3b18f
Add tonlib method smc.getLibraries ( #428 )
...
Co-authored-by: ms <dungeon666master@protonmail.com>
2022-08-15 18:17:41 +03:00
ms
9191be1546
Return message hash on raw.sendMessage ( #421 )
...
* return msg body hash on raw.sendMessage
Co-authored-by: ms <dungeon666master@protonmail.com>
2022-07-16 16:40:47 +03:00
SpyCheese
7e207dc78f
Update DNS resolver in liteclient and tonlib
2022-06-29 17:59:30 +03:00
EmelyanenkoK
09236fba09
Tonlib: add exported function tonlib_client_set_verbosity_level ( #406 )
...
Co-authored-by: ms <98183742+dungeon-master-666@users.noreply.github.com>
Co-authored-by: dungeon-master-666 <dungeon666master@protonmail.com>
2022-06-17 10:01:19 +03:00
EmelyanenkoK
8537dd60e6
Fix tests ( #405 )
...
* [tonlib] Update master configs and fix test-tonlib-offline
* Fix test-bigint in release build
Co-authored-by: ms <98183742+dungeon-master-666@users.noreply.github.com>
Co-authored-by: dungeon-master-666 <dungeon666master@protonmail.com>
2022-06-13 20:02:32 +03:00
dungeon-master-666
a973a51a87
Put back LastConfig callback.
2022-05-14 22:27:03 +02:00
ms
8303f2c84f
Fix BlockHeader is_key_block and add gen_utime, flags
2022-05-06 11:10:16 +03:00
Andrey Tvorozhkov
179415f815
Fix tvm_stackEntrySlice in from_tonlib_api
2022-05-06 11:07:13 +03:00
ms
ca167e9282
Remove limit on count of returned out_msgs
2022-05-06 11:06:48 +03:00
ms
b4ac32a452
Fix created_lt for in_out messages
2022-05-06 11:06:48 +03:00
ms
45a160d7c1
Add getConfigParam to tonlibjson
2022-05-06 11:06:47 +03:00
Starlight Duck
3fee04e20a
Support libraries in LS and request+caching in TLC
2022-05-06 10:48:05 +03:00
Starlight Duck
7dc980562f
tonlib use correct c7: config and address when executing
2022-05-06 10:46:16 +03:00
tolya-yanot
23a2b0bbfc
Fix test tonlib
2021-09-08 15:14:59 +03:00
EmelyanenkoK
67a6311eee
Add second hardfork to tonlib
2021-09-06 12:49:32 +03:00
tolya-yanot
c1a733c0f0
Add send_mode param to tonlib_api msg.message (send_mode=-1 - use default)
2021-08-02 23:59:42 +03:00
OmicronTau
6f7feb59c7
Add guess_type_by_init_state for wallet v3
2021-08-19 13:16:20 +03:00
OmicronTau
8c6122beb2
(Tonlib) Allow user to override master config init block
2021-08-19 13:16:20 +03:00
tolya-yanot
2cd180d156
Temporary disable msg comment encryption (The exchanges/payment services needs to read the comment of incoming messages)
2021-08-01 23:36:40 +03:00
tolya-yanot
e999275474
Update testnet config
2021-08-01 23:36:36 +03:00
OmicronTau
f60cc6da10
Add blocks api to tonlib
2021-07-14 21:20:28 +03:00
tolya-yanot
759dc82c3c
TonlibClient: add mainnet default config (same with testnet2)
2021-05-21 03:13:06 +03:00
tolya-yanot
1cceb54472
update init_block in tonlib
2021-03-26 07:57:10 +03:00
EmelyanenkoK
bc0ba391e4
Set init_block to higher value for faster sync
2021-03-07 17:52:04 +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
Kirill A
a12e3db5d3
Enable installation of smartcontract and tonlib-cli
2021-02-26 23:48:52 +03:00
ton
24dc184a2e
validator large state serialization bugfix + tdlib update for clients
2021-01-07 22:48:04 +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
ton
4e2624459b
integrating the existing state of TON Storage / TON Payments / CPS Fift development branches
2020-05-27 22:10:46 +04: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
be9c34c62d
bugfixes
2020-04-10 23:06:01 +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
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
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
493ae2410c
rldp-http-proxy: use tonlib
...
- rldp-http-proxy used TONLib to resolve domains via DNS smartcontract
- updated tonlib
- bugfixes
2020-02-12 00:14:16 +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
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
11bd640ee0
updated tonlib
2019-10-31 22:14:52 +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
b978e27b2f
updated smartcontract code
...
- updated smartcontract code
- fixed bug in liteserver listening socket
- updated documentation
2019-10-14 11:13:23 +04:00
ton
38c3e39066
func/fift: bugfixes
2019-10-09 20:00:54 +04:00
ton
29deff15c3
updated fift
...
updated fift
updated tonlib
2019-10-05 21:21:24 +04:00
ton
7c595294b6
updated tonlib
2019-10-04 21:17:47 +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
ecb3e06a06
tonlib: big update
2019-09-30 12:53:00 +04:00
ton
fd7a8de970
updated tonlib, block routing
...
- upated tonlib
- fixed bug in message routing
2019-09-28 11:44:38 +04:00
ton
ac3eb1a7b8
tonlib updated
...
- updated tonlib
- added documentation
- speed up full node synchronization
2019-09-25 17:50:58 +04:00
ton
a1e352d894
updated tonlib, new fullnode queries
2019-09-24 01:10:57 +04:00
ton
87ccb27b70
tonlib: added missing files
2019-09-23 11:25:34 +04:00
ton
28df74178c
updated tonlib
...
1. updated tonlib
2. fixed bug in state download
2019-09-22 10:14:09 +04:00
ton
f40822b58a
fullnode: support for TCP master/slave replication
2019-09-19 23:17:17 +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
433545916e
added missing files
2019-09-14 18:24:25 +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
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