* 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> |
||
---|---|---|
.github | ||
adnl | ||
blockchain-explorer | ||
catchain | ||
CMake | ||
common | ||
create-hardfork | ||
crypto | ||
dht | ||
dht-server | ||
doc | ||
docker | ||
example | ||
fec | ||
http | ||
keyring | ||
keys | ||
lite-client | ||
lite-client-docs | ||
memprof | ||
overlay | ||
rldp | ||
rldp-http-proxy | ||
rldp2 | ||
storage | ||
tdactor | ||
tddb | ||
tdfec | ||
tdnet | ||
tdtl | ||
tdutils | ||
terminal | ||
test | ||
third-party | ||
tl | ||
tl-utils | ||
ton | ||
tonlib | ||
utils | ||
validator | ||
validator-engine | ||
validator-engine-console | ||
validator-session | ||
.clang-format | ||
.clang_complete | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
Changelog.md | ||
CMakeLists.txt | ||
git.cc.in | ||
git.h | ||
git_watcher.cmake | ||
GPLv2 | ||
LGPLv2 | ||
LICENSE.LGPL | ||
README.md | ||
run-clang-format.sh |
TON
Main TON monorepo, which includes the code of the node/validator, lite-client, tonlib, FunC compiler, etc.
Updates flow:
-
master branch - mainnet is running on this stable branch.
Only emergency updates, urgent updates, or updates that do not affect the main codebase (GitHub workflows / docker images / documentation) are committed directly to this branch.
-
testnet branch - testnet is running on this branch. The branch contains a set of new updates. After testing, the testnet branch is merged into the master branch and then a new set of updates is added to testnet branch.
-
backlog - other branches that are candidates to getting into the testnet branch in the next iteration.
Usually, the response to your pull request will indicate which section it falls into.
"Soft" Pull Request rules
- Thou shall not merge your own PRs, at least one person should review the PR and merge it (4-eyes rule)
- Thou shall make sure that workflows are cleanly completed for your PR before considering merge
Workflows responsibility
If a CI workflow fails not because of your changes but workflow issues, try to fix it yourself or contact one of the persons listed below via Telegram messenger:
- C/C++ CI (ccpp-linux.yml): TBD
- C/C++ CI Win64 Compile (ccpp-win64.yml): TBD