mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Request persistent state size, add missing queries to full-node-master
This commit is contained in:
parent
cf50b4b5da
commit
61ef357941
19 changed files with 163 additions and 60 deletions
|
@ -49,6 +49,8 @@ class DownloadState : public td::actor::Actor {
|
|||
void got_block_handle(BlockHandle handle);
|
||||
void got_node_to_download(adnl::AdnlNodeIdShort node);
|
||||
void got_block_state_description(td::BufferSlice data_description);
|
||||
void request_total_size();
|
||||
void got_total_size(td::uint64 size);
|
||||
void got_block_state_part(td::BufferSlice data, td::uint32 requested_size);
|
||||
void got_block_state(td::BufferSlice data);
|
||||
|
||||
|
@ -77,6 +79,7 @@ class DownloadState : public td::actor::Actor {
|
|||
|
||||
td::uint64 prev_logged_sum_ = 0;
|
||||
td::Timer prev_logged_timer_;
|
||||
td::uint64 total_size_ = 0;
|
||||
|
||||
ProcessStatus status_;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue