MCPcopy Create free account
hub / github.com/SeismicSystems/summit / depth

Method depth

types/src/ssz_tree.rs:355–357  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

353 /// Tree depth (log2(capacity)).
354 #[inline]
355 pub fn depth(&self) -> usize {
356 self.depth
357 }
358}
359
360/// Compute the SSZ List root: `SHA256(tree_root || little_endian_u64(length))`.

Calls

no outgoing calls

Tested by

no test coverage detected