1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-12 11:12:16 +00:00
Commit graph

353 commits

Author SHA1 Message Date
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
SpyCheese
ad736c6bc3
Add "--copy" to storage-daemon-cli create command (#576)
* Add "--copy" flag to "create", improve console output

* Hide excessive logs
2022-12-28 17:40:20 +03:00
SpyCheese
eff610f807
Disable liteServer.getState method (#573) 2022-12-27 20:11:22 +03:00
EmelyanenkoK
b88eda83fe
A few improvements in storage-daemon-cli interface (#570)
* Pause and resume upload in storage-daemon

* Update help

* Update LoadSpeed.cpp

* Fix json output, prohibit torrents without files

Co-authored-by: SpyCheese <mikle98@yandex.ru>
Co-authored-by: Andrey Pfau <andreypfau@ton.org>
2022-12-24 13:10:09 +03:00
neodiX42
1a07edfed4
Upload to the docker repository only images from the master branch (#569) 2022-12-24 13:06:52 +03:00
SpyCheese
48d48e595e
Pause and resume upload in storage-daemon (#567) 2022-12-23 11:05:29 +03:00
Andrey Pfau
898d1ff8b2
Update branding in README.md (#566)
Light logo from https://ton.org/download/ton_logo_light_background.svg for GitHub Light Theme
and Dark logo from https://ton.org/download/ton_logo_dark_background.svg for GitHub Dark Theme
2022-12-22 17:52:53 +03:00
SpyCheese
8bfad35e93
Add try/catch to func stress-tester (#565) 2022-12-22 15:26:58 +03:00
EmelyanenkoK
e1be988df5
Add try/catch to FunC (#560)
* Add try-catch

* Fix 'return' bugs

* Update tests

* Fix 'SETCONTVARARGS' bug

* Fix 'SETCONTVARARGS' bug again

* Check deep stack

* Add throw_arg

Co-authored-by: legaii <jgates.ardux@gmail.com>
2022-12-22 15:26:39 +03:00
SpyCheese
dd9cdba587
Improve handling backup nodes in dht (#562) 2022-12-22 12:31:20 +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
SpyCheese
434dc487a4
Handle non-alive nodes in overlays (#563) 2022-12-22 11:55:44 +03:00
EmelyanenkoK
3ff50f5f47
Add network id to dht (#559)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-12-20 14:26:39 +03:00
SpyCheese
15cdfb0462
Fix compilation error in manager-disk.cpp (#556) 2022-12-15 17:12:43 +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
neodiX42
b4c55742a6
Fix TON compilation on Windows (#544)
* fix missing tlbc in MacOS builds

* fix missing tlbc in MacOS builds

* fix windows build
2022-12-15 13:14:43 +03:00
ms
b548ae61dd
Fix truncating JsonString (#552) 2022-12-15 10:04:34 +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
6f63be6140
Add more params to JettonBridgeParams 2022-12-13 17:25:12 +03:00
EmelyanenkoK
37e038fc9e
Add checks for receiving adnl packets 2022-12-13 09:37:19 +03:00
EmelyanenkoK
75f57bdc76
Add versions to JettonBridgeParams (#547) 2022-12-08 15:53:01 +03:00
SpyCheese
30bc897021
Improve fetching overlay nodes from DHT (#548) 2022-12-08 15:52:10 +03:00
SpyCheese
ac50074ff6
Fix getting cell-db-reader in AsyncStateSerializer (#546) 2022-12-07 21:49:17 +03:00
EmelyanenkoK
fcf59b4eb5
Reverse connections in adnl (#545)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-12-06 17:06:54 +03:00
EmelyanenkoK
7754b3615e
Add dht-ping utils (#543)
* DHT utils

* Add public key to the output of dht-resolve

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-12-05 10:49:34 +03:00
neodiX42
adfa724583
Fix missing tlbc in MacOS builds (#542)
* fix missing tlbc in MacOS builds

* fix missing tlbc in MacOS builds
2022-12-03 12:31:31 +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
SpyCheese
33a0d1e8bc
Allow starting node with a newer hardfork in config (#538) 2022-11-30 12:12:19 +03:00
Evan Sultanik
77204a549a
Adds a script for testing opcode timing and gas costs (#537)
* Adds a utility to test opcode timing and gas costs

* Remove unnecessary dependencies

* Adds a missing error code parameter
2022-11-30 08:41:12 +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
2d722c3431
Erase finished transfer_id from receivers (#535) 2022-11-30 08:39:12 +03:00
SpyCheese
c7f06abfbc
Fix finding blocks by lt and ut in archive manager (#536) 2022-11-30 08:38:46 +03:00
EmelyanenkoK
ff5c6593b0
Merge pull request #531 from ton-blockchain/master
Merge upstream
2022-11-25 18:35:23 +03:00
EmelyanenkoK
8c1b03d153
Merge pull request #529 from SpyCheese/optimize-collator
Cache result of run_collate_query in ValidatorGroup
2022-11-25 10:18:50 +03:00
SpyCheese
4714726f4a Cache result of run_collate_query in ValidatorGroup 2022-11-25 09:49:04 +03:00
EmelyanenkoK
0686c08d57
Merge pull request #528 from SpyCheese/optimize-collator
Optimize calculation of storage stat, add logs to transaction.cpp
2022-11-24 19:53:42 +03:00
SpyCheese
5e3cc23921 Optimize calculation of storage stat, add logs to transaction.cpp 2022-11-24 19:16:55 +03:00
EmelyanenkoK
ba8f700e26
Merge pull request #527 from neodiX42/patch-3
Update docker-ubuntu-image.yml
2022-11-22 16:30:53 +03:00
neodiX42
ee43c39340
Update docker-ubuntu-image.yml
Update host OS to 20.04
2022-11-22 15:23:18 +02:00
EmelyanenkoK
f9e87ed28e
Merge pull request #526 from neodiX42/patch-2
Update TON Dockefile
2022-11-22 14:42:29 +03:00
neodiX42
513e166cf4
Update TON Dockefile
Make libatomic1 available for binaries at runtime.
2022-11-22 13:39:55 +02:00
neodiX42
acd362a214
Add missing libatomic1 into TON docker image (#525)
* Update Dockerfile

Add libatomic1 to docker image

* Update Dockerfile

Add ninja-build

* Update Dockerfile

Remove redundant binaries

* Update README.md

Remove old repo
2022-11-22 14:07:50 +03:00
EmelyanenkoK
b8941d1a55
Merge pull request #524 from neodiX42/patch-1
Update docker README.md
2022-11-22 11:14:35 +03:00
neodiX42
178016a9f1
Update docker README.md
Update the link to the TON docker repo
2022-11-22 08:53:44 +01:00
EmelyanenkoK
1bd1455fb6
update rldp-proxy: fix subscribing, change chunk size, add version headers (#523)
* Fix subscribing to request id, change chunk size

* Add ton-proxy version to response headers

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-11-21 17:35:22 +03:00
neodiX42
d3e177b49e
Add Github action to create TON release (#514)
* add: TON Overflow

* Create release and tag.

* add permission to read GITHUB_TOKEN

* register token

* register token

* register token

* register token

* correct tag name

* call sub workflow and upload its artifact to the release

* call sub workflow and upload its artifact to the release

* define jobs dependency

* add 2nd dependency; upload ubuntu and windows artifacts; show all artifacts

* add 2nd dependency; upload ubuntu and windows artifacts; show all artifacts

* create folder for all artifacts; download artifacts from previous workflows

* add macos-compile

* fix download artifacts

* fix download artifacts

* test all upload to release

* fix bug in finding windows artifact

* fix execution order

* fix execution order

* fix download artifact

* fix download artifact

* fix download artifact

* fix download artifact

* fix versioning

* fix versioning

* zip artifacts; copy macos artifacts one by one;

* zip artifacts; copy macos artifacts one by one;

* zip artifacts; copy macos artifacts one by one;

* fix lib name in macos

* Update create-release.yml

* Update create-release.yml

* better packing

* better packing

* Update win-2019-compile.yml

* minor improvements

* minor improvements

* add ninja to macos

* add ninja to windows

* add ninja to windows

* remove ninja grom windows

* fix macos copy

* reuse exising jobs

* reuse existing jobs

* use other ubuntu action

* use other ubuntu action

* add smartcont and fift libs to artifacts

* GH action for release creation

* update actions/checkout to v3

* sync abseil with testnet
2022-11-03 12:41:49 +03:00
Andrey Pfau
f66c06143c
Fix pretty print json (remove unnecessary line breaks) (#515)
* add: TON Overflow

* Fix pretty print json (remove unnecessary line breaks)
2022-11-02 21:28:44 +03:00