1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

revert in-memory implementation

This commit is contained in:
Marat S 2025-02-25 19:07:57 +00:00
parent fbb9954391
commit bc3fc8966f
4 changed files with 52 additions and 115 deletions

View file

@ -95,6 +95,8 @@ void LargeBocSerializer::add_root(Hash root) {
roots.emplace_back(root, -1);
}
// Unlike crypto/vm/boc.cpp this implementation does not load all cells into memory
// and traverses them in BFS order to utilize bulk load of cells on the same level.
td::Status LargeBocSerializer::import_cells() {
if (logger_ptr_) {
logger_ptr_->start_stage("import_cells");