Structs

Traits

  • State transition function defines business logic that responsible for changing state. Terminology:
  • A StateTransitionRunner (STR) is responsible for running the state transition function. For any particular function, you might have a few different STRs, each with different runtime configs. For example, you might have a STR which takes a path to a data directory as a runtime config, and another which takes a pre-built in-memory database.