Say there’s a coin that’s currently worth hundreds of US dollars, but it’s not made of gold or platinum or any precious metal. In fact, it’s not the kind of coin you can hold in your hand or stick in a piggy bank. It’s a digital currency, which means it only exists electronically. I’m talking about Bitcoin. Bitcoin doesn’t work like most money. It isn’t attached to a state or government. So it doesn’t have a central issuing authority or regulatory body. Basically, that means there’s no organization deciding when to make more bitcoins, figuring out how many to produce, keeping track of where they are or investigating fraud. So how does Bitcoin work as a currency or have any value at all? Well, Bitcoin wouldn’t exist without a whole network of people and a little thing called cryptography.

In fact, it’s sometimes described as the world’s first cryptocurrency. And here’s how it works. Bitcoin is a fully digital currency, and you can exchange bitcoins between computers in a worldwide peer to peer network. The whole point of most peer to peer networks is sharing stuff like letting people make copies of super legal music or movies to download. If Bitcoin is a digital currency, what’s stopping you from making a bunch of counterfeit copies and becoming fabulously wealthy? Well, unlike an MP three or a video file, a bitcoin isn’t a string of data that can be duplicated. A Bitcoin is actually an entry on a huge global ledger called the block chain, for reasons we’ll get to in a minute. The block chain records every Bitcoin transaction that has ever happened. And as of late, twenty sixteen, the complete ledger is about one hundred seven gigabytes of data. So when you send someone bitcoins, it’s not like you’re sending them a bunch of files. Instead, you’re basically writing the exchange down on that big ledger, something like Michael sends Hank five bitcoins. Now maybe you’re thinking, but wait, you said that Bitcoin doesn’t have a central authority to keep track of everything.

Even though the block chain is a central record, there’s no official group of people who update the ledger and keep track of everybody’s money like a bank does. It’s decentralized. In fact, anybody can volunteer to keep the block chain up to date with all the new transactions and a ton of people do. It all works because there are lots of people keeping track of the same thing to make sure all transactions are accurate. Like imagine you’re playing a game of poker with some pals, but none of you have poker chips and you left your cash at home. There’s no money on the table. So a few of you get out some notebooks and start writing down who bets, how much, who wins and who loses. You don’t completely trust anyone else, so everyone keeps their ledgers separately. At the end of every hand. You all compare what you’ve written down. That way, if someone makes a mistake or tries to cheat and snag some extra money for themselves, that discrepancy is caught after a couple of hands. You might fill up a page of your notebook with notes about the money movement. You can think of each page as a block of transactions. Eventually, your notebook will have pages and pages of information, a chain of those blocks, hence block chain. Now, if thousands of people are separately maintaining the Bitcoin block chain, how are all the ledgers kept in sync? To stick with our poker analogy, think of the entire Bitcoin peer to peer network as a really huge poker table with millions of people. Some are just exchanging money, but lots of volunteers are keeping ledgers.

So when you want to send or receive money, you have to announce it to everyone at the table so the people keeping track can update their ledgers. So for every transaction you’re announcing a couple of things to the Bitcoin network, your account number, the account number of the person you’re sending bitcoins to and how many bitcoins you want to send. And all of the users who are keeping copies of the block chain will add your transaction to the current block. Having a bunch of people keep track of transactions seems like a pretty good security measure. But if all it takes to send bitcoins is a couple of account numbers, that seems like it might be a security problem. It’s a huge problem with regular money. Just think of all the ways criminals try to steal other people’s credit card information. And with Bitcoin, there’s no central bank to notice anything weird going on to shut down fraud. Like if it looked like suddenly you spent your entire life savings on beef jerky. So what’s stopping Hank from pretending he’s me and just setting himself all of my bitcoins? Bitcoins are kept pretty safe thanks to cryptography, which is why it’s considered a cryptocurrency. Specifically, Bitcoin stays secure because of keys, which are basically chunks of information that can be used to make mathematical guarantees about messages like, hey, this is really from me.

When you create an account on the Bitcoin network, which you might have heard called a wallet, that account is linked to two unique keys, a private key and a public key, in this case, the private. He can take some data and basically mark it, also known as signing it so that other people can verify those signatures later if they want. So let’s say I want to send a message to the network that says Michael sends three bitcoins to Olivia. I sign that message using my private key, which only I have access to and nobody else can replicate. Then I send that side message out to the Bitcoin network and everyone can use my public key to make sure my signature checks out that way. Everyone keeping track of all the Bitcoin trading knows to add my transaction to their copy of the block chain. In other words, if the public key works, that’s proof that the message was signed by my private key and is something I wanted to send, unlike a handwritten signature or a credit card.

No, this proof of identity isn’t something that can be faked by a scam artist. The WHO part of each transaction is obviously important to make sure the right people are swapping bitcoins, but the when matters as well. If you had a thousand dollars in your bank account, for example, and tried to buy two things for a thousand dollars each, the bank would honor the first purchase and deny the second one. The bank didn’t do that, you’d be able to spend the same money multiple times, which might sound awesome, but it’s also terrible a financial system can’t work like that because no one would get paid. So if I only have enough money to pay Olivia or Hank, but I try to pay them both, there’s a check built into the Bitcoin system, both the Bitcoin network and your wallet automatically check your previous transactions to make sure you have enough bitcoins to send in the first place. But there’s another problem that might happen with timing, because lots of people are keeping copies of the block chain all over the world. Network delays means that you won’t always receive the transaction requests in the same order. So now you’ve got a bunch of people with a bunch of slightly different blocks to pick from, but none of them are necessarily wrong. OK, Bitcoin, how do you solve that problem? It turns out it’s by actually solving problems, math problems to add a block of transactions to the chain. Each person maintaining a ledger has to solve a special kind of math problem created by a cryptographic hash function. A hash function is an algorithm that takes an input of any size and turns it into an output with a fixed size. For example, let’s say you had this string of numbers as your input and our example hash function so as to add all of the numbers together. So in this case, the output would be ten.

What makes hash functions really good for cryptography is that when you’re given an input, it’s really easy to find the output, but it’s really hard to take an output and figure out the original input. Even in this super simple example, there are lots of strings of numbers that add up to ten. The only way to figure out that the input was one, two, three, four is to just guess until you get it. Right now, the hash function that Bitcoin uses is called a two fifty six, which stands for secure hash algorithm two hundred and fifty six bit. And it was originally developed by the United States National Security Agency computers that were specifically designed to solve two fifty six hash problems take on average about ten minutes to get the solution to each one. That means they’re churning through billions and billions of guesses before they get it right. Whoever solves the hash first gets to add the next block of transactions to the block chain, which then generates a new math problem that needs to be solved. If multiple people make blocks at roughly the same time, the network picks one to keep building upon, which becomes the longest and most trusted chain. And any transactions in those alternate branches of the chain get put back into a pool to be added onto later blocks. These volunteers spend thousands of dollars on special computers built to solve two fifty six problems and run their electricity bills up sky high to keep those machines running.

But why? What do they get out of maintaining the block chain? Is it just community service? Well, Bitcoin actually has a built in system to reward them today. Every time you win the race to add a block to the block chain, 12 and a half new bitcoins are created out of thin air and awarded to your account. In fact, you might know the Bitcoin ledger keepers by another name, Meiners. That’s because keeping the block chain updated is like swinging a proverbial pickaxe at those hash problems, hoping to strike it rich in bitcoins were first created in 2009. They didn’t really have any perceived value. Tens of bitcoins would have been worth the same as a bunch of pennies as of November 10th. Twenty sixteen though one bitcoin is worth seven hundred eight US dollars. So twelve and a half bitcoins are worth eight thousand eight hundred fifty dollars.

That’s a nice chunk of change. Every single bitcoin that exists was created to reward a bitcoin miner. Besides the big payout, when they add a new block of transactions, miners are also essentially tipped a very small amount for each transaction they add to the ledger. It’s also worth noting that every two hundred, ten thousand blocks, the number of coins generated when a new block is added goes down by half. So what started as a reward of 50 bitcoins decreased to twenty five, then twelve and a half, and it’ll only be around six bitcoins in a couple more years and keep decreasing. Eventually there will be so many transactions in a block that it’ll still be worthwhile for miners to mostly be paid in tips. According to current projections, the last bitcoin, probably around the twenty one millionth coin, will be mined in the year. Twenty one for this decreasing number of bitcoins is actually modeled off the rate at which things like gold are dug out of the earth. And the idea is that keeping the supply of bitcoins limited will raise their value over time. So is investing in Bitcoin a good idea now? That’s not really a sideshow kind of question. Bitcoin is still volatile and experimental. A lot of people love it and a lot of people think it’s doomed to fail. We just think it’s an interesting idea and it makes us wonder what cryptography might do for us next. Thanks for watching this episode of Sideshow brought to you by our patrons unpatriotic. If you want to support the show, just go to Patreon dotcom slash sideshow and don’t forget to go to YouTube. Dotcom slash psycho and subscribe to computers are exciting because they can carry out multiple computations once as well. Make browsing the Internet any faster, but it will, for example, let drug companies test all of the.


Please enter your comment!
Please enter your name here