Module db
Expand description
Database implementations.
Modules§
- Database that is split on State and BlockHash traits.
Structs§
- Assumption is that Revert can return full state from any future state to any past state.
- Custom benchmarking DB that only has account info for the zero address.
- Account information focused on creating of database changesets and Reverts.
- Bundle state contain only values that got changed
- A Database implementation that stores all state changes in memory.
- Cache state contains both modified and original values.
- An empty database that always returns default values when queried.
- State of blockchain.
- Allows building of State and initializing it with different options.
- Account Created when EVM state is merged to cache state. And it is sent to Block state.
- Wraps a
DatabaseRef
to provide aDatabase
implementation.
Enums§
- AccountStatus represents the various states an account can be in after being loaded from the database.
- Option for
BundleState
when converting it to the plain state. - So storage can have multiple types:
Traits§
- EVM database interface.
- EVM database commit interface.
- EVM database interface.
Type Aliases§
- Database boxed with a lifetime and Send.
- An empty database that always returns default values when queried.
- A Database implementation that stores all state changes in memory.
- More constrained version of State that uses Boxed database with a lifetime.
- This storage represent values that are before block changed.