Crate node_runtime[−][src]
Expand description
The Substrate runtime. This can be compiled with #[no_std]
, ready for Wasm.
Modules
Constant values used within the runtime. A set of constant values used in substrate runtime.
Implementations of some helper traits passed into runtime modules as associated types. Some configurable implementations as associated type for the substrate runtime.
Structs
The numbers configured here should always be more than the the maximum limits of staking pallet to ensure election snapshot will not run out of memory.
Implements the transaction payment for a pallet implementing the Currency
trait (eg. the pallet_balances) using an unbalance handler (implementing
OnUnbalanced
).
Provides an implementation of PalletInfo
to provide information
about the pallet setup in the runtime.
Implements all runtime apis for the client side.
We prioritize im-online heartbeats over election solution submission.
A struct to update the weight multiplier per block. It implements Convert<Multiplier, Multiplier>
, meaning that it can convert the previous multiplier to the next one. This should
be called on on_finalize
of a block, prior to potentially cleaning the weight data from the
system pallet.
Enums
Contains one variant per dispatchable that can be called by an extrinsic.
The type used to represent the kinds of proxying allowed.
Indicates the initial status of the staker.
Contains one variant per dispatchable that can be called by an extrinsic.
Constants
The BABE epoch configuration at genesis.
Runtime version.
Traits
Complex storage builder stuff.
Functions
Native version.
Wasm binary unwrapped. If built with SKIP_WASM_BUILD
, the function panics.
Type Definitions
Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
The address format for describing accounts.
All modules included in the runtime as a nested tuple of types. Excludes the System pallet.
All modules included in the runtime as a nested tuple of types.
All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
All pallets included in the runtime as a nested tuple of types.
Block type as expected by this runtime.
BlockId type as expected by this runtime.
Extrinsic type that has already been checked.
Executive: handles dispatch to the various modules.
Block header type as expected by this runtime.
Fee multiplier.
Alias to 512-bit hash when used in the context of a transaction signature on the chain.
A Block signed with a Justification
The SignedExtension to the basic transaction logic.
The payload being signed in transactions.
Unchecked extrinsic type as expected by this runtime.