Module storage

Module storage 

Source
Expand description

In-memory blockchain storage

Structsยง

Blockchain
A simple in-memory blockchain
BlockchainStorage
Stores the blockchain data (blocks, transactions)
InMemoryBlockStates
Represents the complete state of single block
MinedBlockOutcome
Represents the outcome of mining a new block
MinedTransaction
Container type for a mined transaction
MinedTransactionReceipt
Intermediary Anvil representation of a receipt

Constantsยง

DEFAULT_HISTORY_LIMIT
MAX_ON_DISK_HISTORY_LIMIT ๐Ÿ”’
MIN_HISTORY_LIMIT ๐Ÿ”’