Struct evm::interpreter::SharedCache [−][src]
pub struct SharedCache { /* fields omitted */ }
Global cache for EVM interpreter
Methods
impl SharedCache
[src]
impl SharedCache
pub fn new(max_size: usize) -> Self
[src]
pub fn new(max_size: usize) -> Self
Create a jump destinations cache with a maximum size in bytes to cache.
pub fn jump_destinations(&self, code_hash: &H256, code: &[u8]) -> Arc<BitSet>
[src]
pub fn jump_destinations(&self, code_hash: &H256, code: &[u8]) -> Arc<BitSet>
Get jump destinations bitmap for a contract.
Trait Implementations
impl Default for SharedCache
[src]
impl Default for SharedCache
Auto Trait Implementations
impl Send for SharedCache
impl Send for SharedCache
impl Sync for SharedCache
impl Sync for SharedCache