Module frame_system::pallet::storage_types
source · Expand description
Auto-generated docs-only module listing all (public and private) defined storage types for this pallet.
Warning: Doc-Only
Members of this module cannot be used directly and are only provided for documentation purposes.
To see the actual storage type, find a struct with the same name at the root of the pallet, in the list of Type Definitions.
Structs
- The full account information for a particular account ID.
- Total length (in bytes) for all extrinsics put together, for the current block.
- Map of block numbers to block hashes.
- Map of block numbers to block shuffling seeds
- The current weight for the block.
- Map of block numbers to block shuffling seeds
- Digest of the current block, also part of the block header.
- The number of events in the
Events<T>
list. - Mapping between a topic (represented by T::Hash) and a vector of indexes of events in the
<Events<T>>
list. - Events deposited for the current block.
- The execution phase of the block.
- Total extrinsics count for the current block.
- Extrinsics data for the current block (maps an extrinsic’s index to its data).
- Stores the
spec_version
andspec_name
of when the last runtime upgrade happened. - The current block number being processed. Set by
execute_block
. - Hash of the previous block.
- Storage queue is used for storing transactions in blockchain itself. Main reason for that storage entry is fact that upon VER block
N
execution it is required to fetch & executed transactions from previous block (N-1
) but due to origin substrate design blocks & extrinsics are stored in rocksDB database that is not accessible from runtime part of the node (see Substrate architecture) what makes it impossible to properly implement block execution logic. As an solution blockchain runtime storage was selected as buffer for txs waiting for execution. Main advantage of such approach is fact that storage state is public so its impossible to manipulate data stored in there. Storage queue is implemented as double buffered queue - to solve problem of rare occasions where due to different reasons some txs that were included in blockN
are not able to be executed in a following blockN+1
(good example is new session hook/event that by design consumes whole block capacity). - Map of block numbers to block shuffling seeds
- True if we have upgraded so that AccountInfo contains three types of
RefCount
. False (default) if not. - True if we have upgraded so that
type RefCount
isu32
. False (default) if not.