Last updated on May 14th, 2017 at 08:05 am
In this video I want to tie everything up and explain how a Bitcoin travels from the moment it is sent, up until its recipient receives it. If you haven’t watched the previous tutorials I recommend starting from there as this video may use some unfamiliar terminology.
To begin with, let’s talk about Bitcoin nodes. Nodes are just computers which are connected to the Internet and hold a complete copy of the Blockchain. If you have a Bitcoin wallet on your computer, you’re probably a node yourself.
Now let’s say I want to send you 1 Bitcoin. I log into my Bitcoin wallet, enter your public address as the recipient and hit “send”.
Once I click “send”, my wallet will use my private key and transaction message to create a unique digital signature for this transaction. The wallet will then group this signature along with my transaction message into of a file. This file will be shared with nodes around the network that will verify its validity using only my public key. If something doesn’t add up they will reject it and stop sharing it.
At this point you will see the transaction on your wallet as “unconfirmed”. Even though the transaction is valid, it’s considered unconfirmed or “unordered” since it’s just floating around the network.
Miners will gather this floating transaction file along with other unconfirmed files like it, and will need to order them in some way. This is important in order to prevent double spending as explained in previous videos.
First the miners will group transactions together into what is know as a block. Afterward, they will try to get the new block into the Blockchain. Miners will use their super powerful computers to solve a mathematical problem; the first miner to succeed in this will get his block into the Blockchain and receive a bounty. At this point the transaction will have 1 confirmation.
So blocks are ordered one after the other dictating the exact transaction order – hence the name Blockchain.
Over time other blocks will be built over the block containing our transaction. The more blocks built the more confirmations you will see, and the risk of me succeeding in double spending this Bitcoin will reduce.
Congratulations…you are now Bitcoin certified.