Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
Part of a blockchain holds these payments, oldest first.
Gita had no units before block 20.
A payment is sent to a network of computers (nodes). They check it, group it with others into a new block with a time-stamp and the previous hash, add the block to the chain and update every copy. Every payment stays in the chain, so units can be tracked back. A version is accepted when more than half of the copies hold it:
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Step 1. Block 20. Gita receives : balance .
Step 2. Block 21. She pays : .
Step 3. Block 22. She receives : .
Step 4. Block 23. She pays : .
(a) Gita's balance is units.
(b) Ines was paid by Gita in block 23. Gita's units came from Femi ( in block 20) and from Hugo ( in block 22), and Hugo's came from Gita. So Ines's units come back to Femi through Gita. She is right that they started with Femi, but Femi did not pay her directly.
Why this works. Every payment stays in the chain, so the history of the units can be followed back block by block.
Log in to join the discussion.
Loading…