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

func: bugfix

- bugfix in func
- vertseqno support in validator/collator/topsharddescr
This commit is contained in:
ton 2019-10-07 13:08:23 +04:00
parent 29deff15c3
commit f67f5d879b
10 changed files with 78 additions and 20 deletions

View file

@ -89,6 +89,9 @@ class ShardTopBlockDescrQ final : public ShardTopBlockDescrQBase {
Ref<vm::Cell> get_root() const {
return root_;
}
BlockSeqno get_vert_seqno() const {
return vert_seqno_;
}
ShardTopBlockDescrQ(td::BufferSlice data, bool is_fake = false)
: ShardTopBlockDescrQBase(std::move(data)), is_fake_(is_fake) {
}
@ -123,6 +126,7 @@ class ShardTopBlockDescrQ final : public ShardTopBlockDescrQBase {
UnixTime gen_utime_{0};
CatchainSeqno catchain_seqno_{0};
td::uint32 validator_set_hash_{0};
BlockSeqno vert_seqno_{~0U};
td::uint32 sig_count_;
ValidatorWeight sig_weight_;
Ref<vm::Cell> sig_root_;