Skip to content

Commit

Permalink
Add block header modes for LookupBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
hacker-volodya authored May 9, 2024
1 parent 18a2eae commit 86a7cfa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions liteapi/src/tl/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,16 @@ pub struct LookupBlock {
pub lt: Option<u64>,
#[tl(flags_bit = "mode.2")]
pub utime: Option<u32>,
#[tl(flags_bit = "mode.4")]
pub with_state_update: Option<()>,
#[tl(flags_bit = "mode.5")]
pub with_value_flow: Option<()>,
#[tl(flags_bit = "mode.8")]
pub with_extra: Option<()>,
#[tl(flags_bit = "mode.9")]
pub with_shard_hashes: Option<()>,
#[tl(flags_bit = "mode.10")]
pub with_prev_blk_signatures: Option<()>,
}

#[derive(TlRead, TlWrite, Derivative)]
Expand Down

0 comments on commit 86a7cfa

Please sign in to comment.