Simple thread-safe cache to store a mapping from code hash to code size. If the cache is full, a random element is removed.
More...
#include <CodeSizeCache.h>
Simple thread-safe cache to store a mapping from code hash to code size. If the cache is full, a random element is removed.
Definition at line 36 of file CodeSizeCache.h.
◆ contains()
| bool dev::eth::CodeSizeCache::contains |
( |
h256 const & |
_hash | ) |
const |
|
inline |
◆ get()
| size_t dev::eth::CodeSizeCache::get |
( |
h256 const & |
_hash | ) |
const |
|
inline |
◆ instance()
◆ store()
| void dev::eth::CodeSizeCache::store |
( |
h256 const & |
_hash, |
|
|
size_t |
size |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: