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

speed up synchronization

- download old files in chunks
- updated docs
- fixed elector/config smartcontracts
This commit is contained in:
ton 2019-11-18 22:15:14 +04:00
parent 0dae2c157b
commit 7f3a22a217
21 changed files with 365 additions and 191 deletions

View file

@ -25,6 +25,7 @@ class ArchiveImporter : public td::actor::Actor {
void checked_all_masterchain_blocks(BlockSeqno seqno);
void check_next_shard_client_seqno(BlockSeqno seqno);
void checked_shard_client_seqno(BlockSeqno seqno);
void got_masterchain_state(td::Ref<MasterchainState> state);
void apply_shard_block(BlockIdExt block_id, BlockIdExt masterchain_block_id, td::Promise<td::Unit> promise);
void apply_shard_block_cont1(BlockHandle handle, BlockIdExt masterchain_block_id, td::Promise<td::Unit> promise);
@ -36,7 +37,6 @@ class ArchiveImporter : public td::actor::Actor {
std::string path_;
td::Ref<MasterchainState> state_;
BlockSeqno shard_client_seqno_;
BlockSeqno max_shard_client_seqno_;
td::Ref<ValidatorManagerOptions> opts_;