Crate dock_runtime

source ·
Expand description

Dock blockchain runtime. This can be compiled with #[no_std], ready for Wasm.

Re-exports

Modules

  • Minimal proof of existence registry.
  • This module allows DIDs to publically attests to arbirary (and arbitrarily large) RDF claimgraphs. These attestations are not stored on-chain; rather, the attester chooses a storage method by specifying an Iri.
  • Generic immutable single-owner storage.
  • Simulates a multisig root account.
  • Module to store offchain signature keys and parameters for different signature schemes. Currently can be either BBS, BBS+ or Pointcheval-Sanders.
  • 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 datastructures.
  • Storage for status list-related verifiable credentials:
  • Dock Trust Registry.

Structs

Enums

  • Contains one variant per dispatchable that can be called by an extrinsic.
  • Contains one variant per dispatchable that can be called by an extrinsic.
  • Public key for different signature schemes. Currently can be either BBS, BBS+ or Pointcheval-Sanders.
  • Denotes customizable length fee for a successful extrinsic to be paid by the caller. The final length to be used in the calculation is produced by post_dispatch_overridden_length. This method should be called after the extrinsic was dispatched (during post_dispatch phase).
  • Indicates the initial status of the staker.
  • Contains one variant per dispatchable that can be called by an extrinsic.

Constants

Functions

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

Type Definitions