News for hackers. Stuff that matters.
Re:MitID, Denmarks sole digital ID, has been down for over a... by chii on Friday February 27, 2026 @06:46AM (#47179428)
> that the "money you have" is just an int32

well, luckily, that's not how money is stored, but instead, they're transaction based. Aka, that number you have is a calculated value, not a stored, arbitrary value.

Except...perhaps the central bank's, where they could really just generate that money as an arbitrary value to lend out to other banks.

footnote: of course, your account balance is cached, so that it is not recalculated over and over again...

Re:MitID, Denmarks sole digital ID, has been down for over a... by lxgr on Friday February 27, 2026 @07:59AM (#47180009)
Seems like a distinction without difference in this context. The result of the "what is account x's current/available balance" is still some integer or decimal number.
Re:MitID, Denmarks sole digital ID, has been down for over a... by chii on Friday February 27, 2026 @09:00AM (#47180550)
But the GP implied that the bank (or someone) could just alter that number, and it would become reality.

I'm saying that this can't be done - at least, not without leaving such a large trail behind that it would be easily reverted, and relevant people prosecuted.

Re:MitID, Denmarks sole digital ID, has been down for over a... by joha4270 on Friday February 27, 2026 @07:28AM (#47179724)
Alas, no matter how the bits that makes up my bank balance looks, in practice its still a single point of failure where I might simply lose access to my money if the right service is down. Cash has much better uptime stats, even if it can be inconvenient to carry around.
Re:MitID, Denmarks sole digital ID, has been down for over a... by have_faith on Friday February 27, 2026 @07:38AM (#47179822)
Regular banks create new money all the time (loans). There’s no difference to the central bank conceptually as far as I understand, they both record debits/credits to accounts (double entry).
Re:MitID, Denmarks sole digital ID, has been down for over a... by 0_____0 on Friday February 27, 2026 @10:29AM (#47181657)
Ah yes, who needs the Federal Reserve when you have Kansas' own Emprise Bank.
Re:MitID, Denmarks sole digital ID, has been down for over a... by TonyStr on Friday February 27, 2026 @07:10AM (#47179605)
Do you know of any resources where I can read about how banks store digital currency? Would be interesting to see how international transactions are handled, if they chunk data into months/periods, etc.
Re:MitID, Denmarks sole digital ID, has been down for over a... by filcuk on Friday February 27, 2026 @07:20AM (#47179673)
I can't say this is exactly what you're after, but this article is really interesting https://calpaterson.com/bank-python.html

Similar to what the author describes, I wouldn't be surprised if a lot of this information is generally not public.

Re:MitID, Denmarks sole digital ID, has been down for over a... by delusional on Friday February 27, 2026 @05:18PM (#47186509)
I'm a banker. What you're looking for here is called "interbank clearing". In europe that would be SEPA[1]

But yes, most clearing is done daily. Each bank basically submits their daily flow of money to each other participating bank, and the central ACH (Automated Clearing House) keeps track of the balances. There's some processes in there by which banks can dispute charges, which is super interesting, but also way to complicated for me to detail here.

[1]: https://www.europeanpaymentscouncil.eu/what-we-do/epc-paymen...

Re:MitID, Denmarks sole digital ID, has been down for over a... by wildylion on Saturday February 28, 2026 @07:51AM (#47194732)
Side question, but what happens if there's a technical error with the service provider that leads to double spending?

Example: we bought tickets worth 300 EUR from Deutsche Bahn, they were hit by a DDoS and couldn't complete the transaction.

We got charged *twice* (i.e. 600 EUR and not refunded yet. AND no tickets!!!

Now they claim all they can do is to give us 600 EUR in vouchers (that are not even transferrable).

Would a Chargeback work in this case?

And my friend (who's ordered the tickets) has a very traditional bank that only gives a statement monthly, and probably accepts claims on every 29 of February, between 7 and 8 AM and only by fax (IYKYK those German companies...)

Re:MitID, Denmarks sole digital ID, has been down for over a... by TonyStr on Saturday February 28, 2026 @03:58PM (#47200155)
Thank you! Will read up on this.
Re:MitID, Denmarks sole digital ID, has been down for over a... by delusional on Friday February 27, 2026 @05:14PM (#47186450)
> well, luckily, that's not how money is stored, but instead, they're transaction based.

Not really. That's how the accounting works. It's the gold standard, and what we guarantee our customers, it's not universally how we store it though. Plenty of bank systems store just singular balances and infer that back into "transactions" in other systems to make the balance even out. Then the errors in those balances are manually corrected by looking at the sums.

IT systems only rarely match the legal frameworks they operate within.