1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00
ton/tonlib/tonlib
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
..
keys pow-testgiver support 2020-07-06 17:07:20 +03:00
CellString.cpp tonlib: big update 2019-09-30 12:53:00 +04:00
CellString.h tonlib: big update 2019-09-30 12:53:00 +04:00
Client.cpp updated submodules, bugfixes 2020-04-27 16:01:46 +04:00
Client.h bugfixes 2020-04-10 23:06:01 +04:00
ClientActor.cpp bugfixes 2020-04-10 23:06:01 +04:00
ClientActor.h bugfixes 2020-04-10 23:06:01 +04:00
ClientJson.cpp pow-testgiver support 2020-07-06 17:07:20 +03:00
ClientJson.h bugfixes 2020-04-10 23:06:01 +04:00
Config.cpp bugfixes + tonlib update 2020-04-30 15:04:47 +04:00
Config.h updated submodules, bugfixes 2020-04-27 16:01:46 +04:00
ExtClient.cpp Tonproxy improvements (#483) 2022-10-06 21:31:18 +03:00
ExtClient.h Tonproxy improvements (#483) 2022-10-06 21:31:18 +03:00
ExtClientLazy.cpp Tonproxy improvements (#483) 2022-10-06 21:31:18 +03:00
ExtClientLazy.h Tonproxy improvements (#483) 2022-10-06 21:31:18 +03:00
ExtClientOutbound.cpp Tonproxy improvements (#483) 2022-10-06 21:31:18 +03:00
ExtClientOutbound.h Tonproxy improvements (#483) 2022-10-06 21:31:18 +03:00
GenericAccount.cpp updated tonlib, fixed bugs 2019-10-03 17:04:52 +04:00
GenericAccount.h updated tonlib, fixed bugs 2019-10-03 17:04:52 +04:00
KeyStorage.cpp updated func and tonlib 2020-02-15 20:03:17 +04:00
KeyStorage.h updated func and tonlib 2020-02-15 20:03:17 +04:00
KeyValue.cpp updated vm (breaking compatibility) 2020-02-28 14:28:47 +04:00
KeyValue.h updated vm (breaking compatibility) 2020-02-28 14:28:47 +04:00
LastBlock.cpp Tonproxy improvements (#483) 2022-10-06 21:31:18 +03:00
LastBlock.h updated submodules, bugfixes 2020-04-27 16:01:46 +04:00
LastBlockStorage.cpp bugfixes 2020-04-10 23:06:01 +04:00
LastBlockStorage.h bugfixes 2020-04-10 23:06:01 +04:00
LastConfig.cpp Tonproxy improvements (#483) 2022-10-06 21:31:18 +03:00
LastConfig.h Put back LastConfig callback. 2022-05-14 22:27:03 +02:00
Logging.cpp bugfixes 2020-04-10 23:06:01 +04:00
Logging.h bugfixes 2020-04-10 23:06:01 +04:00
TestGiver.cpp updated tonlib, fixed bugs 2019-10-03 17:04:52 +04:00
TestGiver.h updated tonlib, fixed bugs 2019-10-03 17:04:52 +04:00
TestWallet.cpp updated tonlib, fixed bugs 2019-10-03 17:04:52 +04:00
TestWallet.h updated tonlib, fixed bugs 2019-10-03 17:04:52 +04:00
tonlib-cli.cpp Tonproxy improvements (#483) 2022-10-06 21:31:18 +03:00
tonlib_client_json.cpp Tonlib: add exported function tonlib_client_set_verbosity_level (#406) 2022-06-17 10:01:19 +03:00
tonlib_client_json.h Tonlib: add exported function tonlib_client_set_verbosity_level (#406) 2022-06-17 10:01:19 +03:00
TonlibCallback.h bugfixes 2020-04-10 23:06:01 +04:00
TonlibClient.cpp TON Storage utilities (#564) 2022-12-22 12:24:13 +03:00
TonlibClient.h TON Storage utilities (#564) 2022-12-22 12:24:13 +03:00
TonlibClientWrapper.cpp TON Storage utilities (#564) 2022-12-22 12:24:13 +03:00
TonlibClientWrapper.h TON Storage utilities (#564) 2022-12-22 12:24:13 +03:00
TonlibError.h updated submodules, bugfixes 2020-04-27 16:01:46 +04:00
utils.cpp bugfixes 2020-04-10 23:06:01 +04:00
utils.h bugfixes 2020-04-10 23:06:01 +04:00
Wallet.cpp updated tonlib, fixed bugs 2019-10-03 17:04:52 +04:00
Wallet.h updated tonlib, fixed bugs 2019-10-03 17:04:52 +04:00