Re:Show HN: An API to store balances and transactions
by andriosr on Friday May 29, 2020 @08:54PM
(#23357430)
For Decimals Iām using a hash-chain. So, entries are always balanced, atomic and immutable. Not a blockchain, as there is no need for consensus, but the properties for checking integrity are all in there.
Re:Show HN: An API to store balances and transactions
by ethn on Saturday May 30, 2020 @01:03AM
(#23358628)
Bitcoin-like blockchains are by default triple-entry accounting: https://onlinelibrary.wiley.com/doi/abs/10.1111/acfi.12556
If the product poster is using has that property, then perhaps is a reasonable choice.
Postgres does not have any ledger balancing primitives.