reth_node_core::primitives::revm_primitives::db

Trait DatabaseCommit

pub trait DatabaseCommit {
    // Required method
    fn commit(&mut self, changes: HashMap<Address, Account, RandomState>);
}
Expand description

EVM database commit interface.

Required Methods§

fn commit(&mut self, changes: HashMap<Address, Account, RandomState>)

Commit changes to the database.

Implementations on Foreign Types§

§

impl<'a, T> DatabaseCommit for &'a mut T
where T: 'a + DatabaseCommit + ?Sized,

§

fn commit(&mut self, changes: HashMap<Address, Account, RandomState>)

§

impl<DB> DatabaseCommit for State<DB>
where DB: Database,

§

fn commit(&mut self, evm_state: HashMap<Address, Account, RandomState>)

§

impl<ExtDB> DatabaseCommit for CacheDB<ExtDB>

§

fn commit(&mut self, changes: HashMap<Address, Account, RandomState>)

§

impl<T> DatabaseCommit for Box<T>
where T: DatabaseCommit + ?Sized,

§

fn commit(&mut self, changes: HashMap<Address, Account, RandomState>)

Implementors§