mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
updated fift
updated fift updated some smartcontracts added partial support for hardforks
This commit is contained in:
parent
2845f9a2cc
commit
841d5ebac2
16 changed files with 202 additions and 39 deletions
16
validator/interfaces/liteserver.h
Normal file
16
validator/interfaces/liteserver.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
#include "td/actor/actor.h"
|
||||
|
||||
namespace ton {
|
||||
|
||||
namespace validator {
|
||||
|
||||
class LiteServerCache : public td::actor::Actor {
|
||||
public:
|
||||
virtual ~LiteServerCache() = default;
|
||||
};
|
||||
|
||||
} // namespace validator
|
||||
|
||||
} // namespace ton
|
|
@ -26,6 +26,7 @@
|
|||
#include "shard-block.h"
|
||||
#include "message-queue.h"
|
||||
#include "validator/validator.h"
|
||||
#include "liteserver.h"
|
||||
|
||||
namespace ton {
|
||||
|
||||
|
@ -147,7 +148,7 @@ class ValidatorManager : public ValidatorManagerInterface {
|
|||
virtual void allow_block_info_gc(BlockIdExt block_id, td::Promise<bool> promise) = 0;
|
||||
|
||||
virtual void check_is_hardfork(BlockIdExt block_id, td::Promise<bool> promise) = 0;
|
||||
virtual void get_vertical_height(BlockSeqno seqno, td::Promise<td::uint32> promise) = 0;
|
||||
virtual void get_vertical_seqno(BlockSeqno seqno, td::Promise<td::uint32> promise) = 0;
|
||||
|
||||
virtual void update_last_known_key_block(BlockHandle handle, bool send_request) = 0;
|
||||
virtual void update_gc_block_handle(BlockHandle handle, td::Promise<td::Unit> promise) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue