Re:Show HN: An API to store balances and transactions
by omarish on Friday May 29, 2020 @08:01PM
(#23357091)
If you're using a private blockchain where only your systems have access, why not use postgres with restricted user permissions?
[ Parent
| on HN ]
Re:Show HN: An API to store balances and transactions
by IMTDb on Friday May 29, 2020 @08:30PM
(#23357280)
I can't answer for OP as I don't know his/her situation, but every time I have asked this question to other companies, the answer boils down to
"We really wanted to use a blockchain and it is the main reason why we build the company in the first place so we never questioned that choice".
Re:Show HN: An API to store balances and transactions
by jonahbenton on Friday May 29, 2020 @08:50PM
(#23357418)
Am not the parent but, for example, the Bitcoin blockchain is essentially a double-entry transaction ledger. Every transaction has to balance inputs and outputs.
If the product poster is using has that property, then perhaps is a reasonable choice.
Postgres does not have any ledger balancing primitives.
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