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

Method insert

crates/execution/payload/src/rejection_cache.rs:64–66  ·  view source on GitHub ↗

Adds a transaction hash to the cache.

(&self, hash: TxHash)

Source from the content-addressed store, hash-verified

62
63 /// Adds a transaction hash to the cache.
64 pub fn insert(&self, hash: TxHash) {
65 self.0.insert(hash, ());
66 }
67
68 /// Returns the number of cached entries.
69 pub fn entry_count(&self) -> u64 {

Callers 15

mixedFunction · 0.45
recordMethod · 0.45
holdMethod · 0.45
storage_transitionFunction · 0.45
validateMethod · 0.45
state_with_accountFunction · 0.45
record_accountMethod · 0.45
record_slotMethod · 0.45
mark_rejectedMethod · 0.45
funded_providerFunction · 0.45

Calls

no outgoing calls