mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
new db
new database fift/func bugfixes
This commit is contained in:
parent
950e292264
commit
e30d98eb30
110 changed files with 6102 additions and 2075 deletions
|
@ -32,8 +32,8 @@ struct BlockHandleInterface {
|
|||
public:
|
||||
virtual BlockIdExt id() const = 0;
|
||||
virtual bool received() const = 0;
|
||||
virtual bool moved_to_storage() const = 0;
|
||||
virtual bool moved_to_archive() const = 0;
|
||||
virtual bool handle_moved_to_archive() const = 0;
|
||||
virtual bool deleted() const = 0;
|
||||
virtual bool inited_next_left() const = 0;
|
||||
virtual bool inited_next_right() const = 0;
|
||||
|
@ -49,6 +49,7 @@ struct BlockHandleInterface {
|
|||
virtual bool inited_split_after() const = 0;
|
||||
virtual bool inited_merge_before() const = 0;
|
||||
virtual bool inited_is_key_block() const = 0;
|
||||
virtual bool inited_masterchain_ref_block() const = 0;
|
||||
virtual bool split_after() const = 0;
|
||||
virtual bool merge_before() const = 0;
|
||||
virtual bool is_key_block() const = 0;
|
||||
|
@ -60,6 +61,7 @@ struct BlockHandleInterface {
|
|||
virtual bool is_zero() const = 0;
|
||||
virtual bool is_archived() const = 0;
|
||||
virtual bool is_applied() const = 0;
|
||||
virtual BlockSeqno masterchain_ref_block() const = 0;
|
||||
virtual std::vector<BlockIdExt> prev() const = 0;
|
||||
virtual BlockIdExt one_prev(bool left) const = 0;
|
||||
virtual std::vector<BlockIdExt> next() const = 0;
|
||||
|
@ -83,8 +85,8 @@ struct BlockHandleInterface {
|
|||
virtual void set_next(BlockIdExt next) = 0;
|
||||
virtual void set_prev(BlockIdExt prev) = 0;
|
||||
virtual void set_received() = 0;
|
||||
virtual void set_moved_to_storage() = 0;
|
||||
virtual void set_moved_to_archive() = 0;
|
||||
virtual void set_handle_moved_to_archive() = 0;
|
||||
virtual void set_deleted() = 0;
|
||||
virtual void set_split(bool value) = 0;
|
||||
virtual void set_merge(bool value) = 0;
|
||||
|
@ -94,6 +96,7 @@ struct BlockHandleInterface {
|
|||
virtual void set_deleted_state_boc() = 0;
|
||||
virtual void set_archived() = 0;
|
||||
virtual void set_applied() = 0;
|
||||
virtual void set_masterchain_ref_block(BlockSeqno seqno) = 0;
|
||||
|
||||
virtual void unsafe_clear_applied() = 0;
|
||||
virtual void unsafe_clear_next() = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue