mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
updated tonlib, fixed bugs
updated tonlib fixed bugs in func validator: partial support for hardforks liteserver: support for waitMasterchainBlock prefix transactions: support for gas flat rate
This commit is contained in:
parent
841d5ebac2
commit
7ea00ebfcf
89 changed files with 1922 additions and 608 deletions
|
@ -473,6 +473,21 @@ struct BlockHandleImpl : public BlockHandleInterface {
|
|||
}
|
||||
}
|
||||
|
||||
void unsafe_clear_applied() override {
|
||||
if (is_applied()) {
|
||||
lock();
|
||||
flags_ &= ~Flags::dbf_applied;
|
||||
unlock();
|
||||
}
|
||||
}
|
||||
void unsafe_clear_next() override {
|
||||
if (inited_next_left() || inited_next_right()) {
|
||||
lock();
|
||||
flags_ &= ~(Flags::dbf_inited_next_left | Flags::dbf_inited_next_right);
|
||||
unlock();
|
||||
}
|
||||
}
|
||||
|
||||
td::BufferSlice serialize() const override;
|
||||
BlockHandleImpl(BlockIdExt id)
|
||||
: id_(id), flags_(id_.is_masterchain() ? static_cast<td::uint32>(dbf_masterchain) : 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue