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

Method ssz_append

types/src/block.rs:204–213  ·  view source on GitHub ↗
(&self, buf: &mut Vec<u8>)

Source from the content-addressed store, hash-verified

202
203 pub fn epoch(&self) -> u64 {
204 self.header.epoch()
205 }
206}
207
208impl Heightable for Block {
209 fn height(&self) -> Height {
210 Height::new(self.header.height())
211 }
212}
213
214impl Epochable for Block {
215 fn epoch(&self) -> Epoch {
216 Epoch::new(self.header.epoch())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected