mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Use state with applied shards in liteserver (#553)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
parent
6f63be6140
commit
1b106ef270
9 changed files with 59 additions and 18 deletions
|
@ -875,6 +875,10 @@ void ValidatorManagerImpl::get_top_masterchain_state_block(
|
|||
std::pair<td::Ref<MasterchainState>, BlockIdExt>{last_masterchain_state_, last_masterchain_block_id_});
|
||||
}
|
||||
|
||||
void get_last_liteserver_state_block(td::Promise<std::pair<td::Ref<MasterchainState>, BlockIdExt>> promise) {
|
||||
return get_top_masterchain_state_block(std::move(promise));
|
||||
}
|
||||
|
||||
void ValidatorManagerImpl::send_get_block_request(BlockIdExt id, td::uint32 priority,
|
||||
td::Promise<ReceivedBlock> promise) {
|
||||
UNREACHABLE();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue