Crate node_primitives[][src]

Expand description

Low-level types used throughout the Substrate code.

Modules

App-specific crypto used for reporting equivocation/misbehavior in BABE and GRANDPA. Any rewards for misbehavior reporting will be paid out to this account.

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.

Balance of an account.

Block type.

Block ID.

An index to a block.

Digest item type.

A hash of some data used by the chain.

Header type.

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 timestamp: milliseconds since the unix epoch. u64 is enough to represent a duration of half a billion years, when the time scale is milliseconds.