pub fn merge_journal_entries(
existing: &[JournalEntryRecord],
incoming: &[JournalEntryRecord],
) -> Vec<JournalEntryRecord>Expand description
Replay-safe, order-independent union of double-entry JournalEntryRecords by stable id.
Unbalanced entries are rejected so corrupted frames cannot poison the ledger.