Returns the number of distinct block numbers currently cached.
(&self)
| 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 { |
no outgoing calls