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