mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Merge branch 'testnet' into accelerator
This commit is contained in:
commit
e6aac0b143
30 changed files with 426 additions and 11 deletions
|
@ -157,6 +157,7 @@ class ValidatorManager : public ValidatorManagerInterface {
|
|||
virtual void send_ihr_message(td::Ref<IhrMessage> message) = 0;
|
||||
virtual void send_top_shard_block_description(td::Ref<ShardTopBlockDescription> desc) = 0;
|
||||
virtual void send_block_broadcast(BlockBroadcast broadcast, int mode) = 0;
|
||||
virtual void send_validator_telemetry(PublicKeyHash key, tl_object_ptr<ton_api::validator_telemetry> telemetry) = 0;
|
||||
virtual void send_get_out_msg_queue_proof_request(ShardIdFull dst_shard, std::vector<BlockIdExt> blocks,
|
||||
block::ImportedMsgQueueLimits limits,
|
||||
td::Promise<std::vector<td::Ref<OutMsgQueueProof>>> promise) = 0;
|
||||
|
|
|
@ -30,6 +30,7 @@ namespace validator {
|
|||
class ValidatorSet : public td::CntObject {
|
||||
public:
|
||||
virtual ~ValidatorSet() = default;
|
||||
virtual const ValidatorDescr* get_validator(const NodeIdShort& id) const = 0;
|
||||
virtual bool is_validator(NodeIdShort id) const = 0;
|
||||
virtual CatchainSeqno get_catchain_seqno() const = 0;
|
||||
virtual td::uint32 get_validator_set_hash() const = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue