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+, Pointcheval-Sanders or BBDT16. For BBS, BBS+ and Pointcheval-Sanders, the public key is in group G2 but for BBDT16, it’s in group G1 and used to verify the proof of validity of MAC (and related proofs) but not the MAC itself.
  • 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+, Pointcheval-Sanders or BBDT16.
  • 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