Crate serai_primitives
source ·Re-exports§
pub use sp_application_crypto as crypto;
Structs§
- The type used for amounts.
- The type used for balances (a Coin and Balance).
- The type used to identify block hashes.
- The type used for balances (a Coin and Balance).
- Network definition.
- An Schnorrkel/Ristretto x25519 (“sr25519”) signature.
Enums§
- The type used to identify coins.
- The type used to identify external coins.
- The type used to identify external networks.
- The type used to identify networks.
Constants§
- This needs to be long enough for arbitrage to occur and make holding any fake price up sufficiently unrealistic.
- Amount of blocks per epoch in the fast-epoch feature that is used in tests.
- Amount of blocks for the initial period era of the emissions under the fast-epoch feature.
- 6 months of blocks
- Since we use the median price, double the window length.
- Measured in blocks.
Functions§
- Lexicographically reverses a given byte array.
Type Aliases§
- The type used for amounts within Substrate.