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

Method len

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

Returns the number of distinct block numbers currently cached.

(&self)

Source from the content-addressed store, hash-verified

81
82 /// Returns the number of distinct block numbers currently cached.
83 pub fn len(&self) -> usize {
84 self.entries.len()
85 }
86
87 /// Returns `true` when the cache holds no entries.
88 pub fn is_empty(&self) -> bool {

Callers 15

build_pending_stateMethod · 0.45
buildMethod · 0.45
detectMethod · 0.45
total_flashblocksMethod · 0.45
execute_with_evmMethod · 0.45
pending_state_benchesFunction · 0.45

Calls

no outgoing calls

Tested by 2

wrap_in_init_codeFunction · 0.36