News for hackers. Stuff that matters.
Re:Accounting For Developers, Part I by EvanAnderson on Wednesday August 17, 2022 @11:27AM (#32497630)
Quite simply each entry contains both the "to" and "from" for the transaction. It's a construct to guarantee atomicity. The two "sides" of the transaction can never be out of balance with each other. If you lose an entire entry the system remains in balance-- you've lost a transaction but you're not in a situation wondering "where the money went" because nothing moves without both sides of the transaction.

There are no comments on this comment yet.