Crate subspace_runtime_primitives

source
Expand description

Runtime primitives for Subspace Network.

Modules§

Structs§

  • The adjustment variable of the runtime. Higher values will cause TargetBlockFullness to change the fees more rapidly.
  • The maximum amount of the multiplier.
  • Minimum amount of the multiplier. This value cannot be too low. A test case should ensure that combined with AdjustmentVariable, we can recover from the minimum. See multiplier_can_grow_from_zero.
  • The portion of the NORMAL_DISPATCH_RATIO that we adjust the fees with. Blocks filled less than this will decrease the weight and more will increase.

Enums§

Constants§

  • The block weight for 2 seconds of compute
  • Subspace Credits have 18 decimal places.
  • Maximum block length for non-Normal extrinsic is 5 MiB.
  • Minimum desired number of replicas of the blockchain to be stored by the network, impacts storage fees.
  • A ratio of Normal dispatch class within block, for BlockWeight and BlockLength.
  • The smallest unit of the token is called Shannon.
  • 1 in 6 slots (on average, not counting collisions) will have a block. Must match ratio between block and slot duration in constants above.
  • One Subspace Credit.

Traits§

Functions§

Type Aliases§