Add SszBlock comment

This commit is contained in:
Paul Hauner 2018-09-19 15:24:06 +10:00
parent fe2127ea31
commit 4d9b53478f
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

@ -23,7 +23,8 @@ const MIN_SSZ_BLOCK_LENGTH: usize = {
};
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> {
ssz: &'a [u8],
attestation_len: usize,