mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +00:00
Add SszBlock comment
This commit is contained in:
@@ -23,7 +23,8 @@ const MIN_SSZ_BLOCK_LENGTH: usize = {
|
|||||||
};
|
};
|
||||||
const MAX_SSZ_BLOCK_LENGTH: usize = MIN_SSZ_BLOCK_LENGTH + 2^24;
|
const MAX_SSZ_BLOCK_LENGTH: usize = MIN_SSZ_BLOCK_LENGTH + 2^24;
|
||||||
|
|
||||||
|
/// Allows for reading of block values directly from serialized
|
||||||
|
/// ssz bytes.
|
||||||
pub struct SszBlock<'a> {
|
pub struct SszBlock<'a> {
|
||||||
ssz: &'a [u8],
|
ssz: &'a [u8],
|
||||||
attestation_len: usize,
|
attestation_len: usize,
|
||||||
|
|||||||
Reference in New Issue
Block a user