DeFi University
Skip to lesson

Exercise 6

How Transactions Get Verified

About 15 min

Your task

You'll play the node. Five transactions arrive, and you check each against a tiny set of unspent outputs, accept or reject it, and update the set. Then you'll work out how long settlement takes on Bitcoin and on Ethereum. By the end you can run a node's checks by hand and say why each rejected transaction failed.

Time
20 to 25 minutes
You'll need
paper and a calculator
Builds on
Lesson 6

Warm-up

Check yourself

Maya has one unspent output worth 0.30 BTC. She signs a transaction that pays 0.25 BTC and leaves nothing else. What happens to the other 0.05 BTC?

Check yourself

Two valid-looking transactions spend the same unspent output. What does a node do?

Free with sign-in

Sign in to keep reading. It is free.

Stage 1, Foundations, and a few preview lessons are free with your email. We send you a sign-in link; there is no password.