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

Adapt "get msg queue sizes" in lite-client and tonlib to non-full liteservers

This commit is contained in:
SpyCheese 2024-11-28 13:09:40 +03:00
parent 5d79855c94
commit 5fae8db7a0
4 changed files with 254 additions and 27 deletions

View file

@ -324,7 +324,8 @@ class TestNode : public td::actor::Actor {
void send_compute_complaint_price_query(ton::StdSmcAddress elector_addr, unsigned expires_in, unsigned bits,
unsigned refs, td::Bits256 chash, std::string filename);
bool get_msg_queue_sizes();
void got_msg_queue_sizes(ton::tl_object_ptr<ton::lite_api::liteServer_outMsgQueueSizes> f);
void get_msg_queue_sizes_cont(ton::BlockIdExt mc_blkid, td::BufferSlice data);
void get_msg_queue_sizes_finish(std::vector<ton::BlockIdExt> blocks, std::vector<td::uint64> sizes);
bool get_dispatch_queue_info(ton::BlockIdExt block_id);
bool get_dispatch_queue_info_cont(ton::BlockIdExt block_id, bool first, td::Bits256 after_addr);
void got_dispatch_queue_info(ton::BlockIdExt block_id,