Expand description
Commitment pipeline: converts engine state deltas into Merkle roots.
The pipeline is the bridge between the engine (which knows nothing about
Merkle trees) and the JMT store (which knows nothing about accounts or
positions). The integration layer in the main binary feeds StateDeltas
in; the pipeline produces BatchCommitments out.
Engine → apply() → events → integration layer → StateDelta
↓
CommitmentPipeline
↓
BatchCommitment { state_root, risk_root, batch_root }Structs§
- Account
Update - Batch
Commitment - Output of a batch commitment.
- Commitment
Pipeline - The commitment pipeline.
- Instrument
Update - MmpConfig
Update - Option
Position Update - Oracle
Update - Order
Update - Perp
Position Update - Prepared
Batch Commitment - Risk
Update - State
Delta - A batch of state changes to commit.