MCPcopy Create free account
hub / github.com/base/base / total_flashblocks

Method total_flashblocks

crates/execution/flashblocks/src/cache.rs:94–96  ·  view source on GitHub ↗

Returns the total number of individual flashblocks cached across all block numbers.

(&self)

Source from the content-addressed store, hash-verified

92 /// Returns the total number of individual flashblocks cached across all
93 /// block numbers.
94 pub fn total_flashblocks(&self) -> usize {
95 self.entries.values().map(|by_index| by_index.len()).sum()
96 }
97}
98
99#[cfg(test)]

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected