State Transition
A Transition instance is responsible for processing a series of transactions sequentially on a given snapshot.
Structure
A
Transitionconsists of:A snapshot (the base state on which the transition operates)
A
Txninstance, which references the same snapshot
Behavior
During transaction execution, the
Transitionmaintains a set of receipts.All read or update operations on the WST are performed through the
transition.state.Txnobject.state.Txnis an instance of an iradix, ensuring:The original snapshot remains unchanged
All changes are captured in an isolated, accessible structure
Diagram
The structure and data members of the Transition object are shown in the following image:

Last updated