Expand description

The Substrate Node Anagolay runtime. This can be compiled with #[no_std], ready for Wasm.

Re-exports

pub use constants::currency::*;
pub use constants::time::*;
pub use operations;
pub use workflows;

Modules

Opaque types. These are used by the CLI to instantiate machinery that don’t need to know the specifics of the runtime. They can then be made to be agnostic over specific formats of data like extrinsics, allowing for them to continue syncing the network through upgrades to even the core data structures.

Macros

Construct a runtime, with the given name and the given modules.

Create new implementations of the Get trait.

Structs

Importing a block with 0 txs takes ~5 ms

We allow for 2 seconds of compute with a 6 second average block time.

Executing 10,000 System remarks (no-op) txs takes ~1.26 seconds -> ~125 µs per tx

Used with LinearWeightToFee conversion.

Convert from weight to fee via a simple coefficient multiplication. The associated type C encapsulates an integer constant in units of balance per weight.

Provides an implementation of PalletInfo to provide information about the pallet setup in the runtime.

A fixed point representation of a number in the range [0, 1].

A fixed point representation of a number in the range [0, 1].

By default, Substrate uses RocksDB, so this will be the weight used throughout the runtime.

Implements all runtime apis for the client side.

One coefficient and its position in the WeightToFeePolynomial.

Enums

Constants

Traits

Complex storage builder stuff.

A trait for querying a single value from a type.

Something which can compute and check proofs of a historical key owner and return full identification data of that key owner.

A trait for working with macro-generated storage values under the substrate storage API.

A trait that describes the weight to fee calculation as polynomial.

Functions

The version information used to identify this runtime when compiled natively.

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 type for looking up accounts. We don’t expect more than 4 billion of them, but you never know…

The address format for describing accounts.

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.

Balance of an account.

Block type as expected by this runtime.

BlockId type as expected by this runtime.

Importing a poe pallet An index to a block.

Extrinsic type that has already been checked.

Digest item type.

Executive: handles dispatch to the various modules.

A hash of some data used by the chain.

Block header type as expected by this runtime.

Index of a transaction in the chain.

Type used for expressing timestamp.

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.

Unchecked extrinsic type as expected by this runtime.

Numeric range of a transaction weight.

A list of coefficients that represent one polynomial.