compareRecords
function compareRecords(a, b): number;Defined in: ledger.ts:97
Canonical total order: timestamp → lamport → source → id. Deterministic.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
a | LedgerRecord |
b | LedgerRecord |
Returns
Section titled “Returns”number