Crate xand_ledger

source ·
Expand description

This crate defines our domain models and logic for the xand ledger. IE: This is the code that determines how transactions are validated/processed, as well as the shape of those transactions. It is free of major dependencies and should remain so to provide a clean environment for concentrating on domain code.

Practically speaking this code is consumed in other places for two purposes:

  • Validating transactions (within the substrate runtime)
  • Constructing transactions (everywhere else)

The crate has an std feature that is enabled by default. Disabling the feature allows the crate to compile in no-std mode. The substrate runtime requires this, and no-std support must be maintained.

Re-exports

Modules

Structs

Enums

Traits

Functions

Type Definitions