Expand description
The ArbiterDB is a wrapper around a CacheDB that is used to provide
access to the Environment’s database to multiple Coprocessors.
It is also used to be able to write out the Environment database to a
file.
Further, it gives the ability to be generated from a fork::Fork so that
you can preload an environment::Environment with a specific state.
Modules§
- fork
- This module contains the
Forkstruct which is used to store the data that will be loaded into an [Environment] and be used inarbiter-core.Forkcontains aCacheDBandContractMetadataso that the [Environment] can be initialized with a forked database and the end-user still has access to the relevant metadata. - inspector
- This module contains an extensible
InspectorcalledArbiterInspector. It is currently configurable in order to allow for users to set configuration to see logs generated in Solidity contracts and or enforce gas payment.
Structs§
- Account
Record - AccountRecord describes metadata about an account within the state trie.
- Anvil
Dump - AnvilDump models the schema of an anvil state dump.
- ArbiterDB
- A
ArbiterDBis contains both aCacheDBthat is used to provide state for theenvironment::Environment’s as well as for multiplecoprocessor::Coprocessors. Thelogsfield is aHashMapto storeethers::types::Logs that can be queried from at any point.