Add SszBlock comment
This commit is contained in:
parent
fe2127ea31
commit
4d9b53478f
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user