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

Method limit_class_cache_generation

crates/execution/txpool/src/validator.rs:760–762  ·  view source on GitHub ↗

Returns the cache generation used to close validation/invalidation races.

(&self)

Source from the content-addressed store, hash-verified

758
759 /// Returns the cache generation used to close validation/invalidation races.
760 pub fn limit_class_cache_generation(&self) -> u64 {
761 self.limit_class_cache_generation.load(Ordering::Acquire)
762 }
763
764 /// Invalidates classifications affected by canonical state changes.
765 pub fn invalidate_limit_class_cache(&self, diffs: &[crate::AccountStateDiff]) {

Calls 1

loadMethod · 0.45