I am trying to learn how blockchain works. I know that blockchain is nothing but list of blocks containing transactions, what I cannot understand is how do we then know how much money is contained in each account, since we are only maintaining list of transactions?
Asked
Active
Viewed 69 times
-2
-
1The amount is the sum of all transactions. – ocrdu Jan 17 '21 at 14:04
1 Answers
0
In distributed platforms, 2 models of accounting for account balances are most commonly used:
- a state model, when each of the nodes, after the execution (or reception) of the transaction, accordingly changes the account state record in its local database (Ethereum, Hyperleger Fabric)
- model of unspent remainings (UTXO), when the account balance is formed from the sum of the balances of "unused" transactions (Bitcoin, Corda)

Mad Jackal
- 1,219
- 1
- 7
- 9