Trait StateDB
pub trait StateDB: Database {
// Required method
fn set_state_clear_flag(&mut self, has_state_clear: bool);
}Expand description
A type which has the state of the blockchain.
This trait encapsulates some of the functionality found in State
Required Methods§
fn set_state_clear_flag(&mut self, has_state_clear: bool)
fn set_state_clear_flag(&mut self, has_state_clear: bool)
State clear EIP-161 is enabled in Spurious Dragon hardfork.
Implementations on Foreign Types§
§impl<T> StateDB for &mut Twhere
T: StateDB,
auto_impl unable to reconcile return associated type from supertrait
impl<T> StateDB for &mut Twhere
T: StateDB,
auto_impl unable to reconcile return associated type from supertrait