Skip to content

Commit 86a7cfa

Browse files
Add block header modes for LookupBlock
1 parent 18a2eae commit 86a7cfa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

liteapi/src/tl/request.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,16 @@ pub struct LookupBlock {
141141
pub lt: Option<u64>,
142142
#[tl(flags_bit = "mode.2")]
143143
pub utime: Option<u32>,
144+
#[tl(flags_bit = "mode.4")]
145+
pub with_state_update: Option<()>,
146+
#[tl(flags_bit = "mode.5")]
147+
pub with_value_flow: Option<()>,
148+
#[tl(flags_bit = "mode.8")]
149+
pub with_extra: Option<()>,
150+
#[tl(flags_bit = "mode.9")]
151+
pub with_shard_hashes: Option<()>,
152+
#[tl(flags_bit = "mode.10")]
153+
pub with_prev_blk_signatures: Option<()>,
144154
}
145155

146156
#[derive(TlRead, TlWrite, Derivative)]

0 commit comments

Comments
 (0)