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

Method insert

crates/builder/core/src/rejection_cache.rs:27–29  ·  view source on GitHub ↗

Adds a transaction hash to the cache.

(&self, hash: TxHash)

Source from the content-addressed store, hash-verified

25
26 /// Adds a transaction hash to the cache.
27 pub fn insert(&self, hash: TxHash) {
28 self.0.insert(hash, ());
29 }
30
31 /// Returns the number of cached entries.
32 pub fn entry_count(&self) -> u64 {

Callers 12

build_hashed_post_stateFunction · 0.45
chain_spec_with_azulFunction · 0.45
mark_rejectedMethod · 0.45
chain_produces_blocksFunction · 0.45
replayMethod · 0.45
ingest_frameMethod · 0.45
normalize_framesMethod · 0.45
next_submissionMethod · 0.45
processMethod · 0.45

Calls

no outgoing calls