Adds a transaction hash to the cache.
(&self, hash: TxHash)
| 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 { |
no outgoing calls