xln

Account Machine

Up: entity machine Transactions Protocol primitives Dispute arguments

The A-machine is bilateral state between two entities. leftEntity is always the lexicographically lower ID. A frame may carry an ACK plus an optional new proposal; frame Hanko and optional dispute Hanko are separate commitments.

Source

Main Methods

Invariant

The receiver validates against local entity time and finalized J-height where financial enforcement windows matter. Counterparty-controlled frame time is ordering metadata, not authority over local deadlines.