1
0
Fork 0
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:
ton 2019-10-01 14:07:35 +04:00
parent 2845f9a2cc
commit 841d5ebac2
16 changed files with 202 additions and 39 deletions

View 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

View file

@ -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;