Arguably, the most interesting feature of the Bitcoin system is the way in which Bitcoin payments are processed. To make it clear why payments must be processed at all and how Bitcoin processes payments differently, I’ll look at processing payments with cash and banks before turning to bitcoin.

Think about a cash transaction. Cash transactions have some desirable properties. If I were to pay you in cash, you’d be able to observe that I have a balance of dollars, and you would know when I’ve transferred the balance to you because you would see the dollars leave my hand and into yours. Moreover, transferring the cash to you prevents me from spending that balance again, because I no longer have the cash to hand over to some future seller. Physical cash limits users to spending balances they actually possess and prevents them from spending that balance more than once.

Electronic payments are somewhat different because, without an appropriate protocol, digital balances can be duplicated. I can send you a file without relinquishing my possession of the file. You have the file. I have the file. We both have the file. There’s no way to ensure that I’m in exclusive possession of a particular balance of digital money. So, with electronic payments, we must find some protocol to prevent double spending.

Processing a block of transactions requires a solution to a complicated cryptography problem. Since the problem is sufficiently difficult, everyone trying to solve the problem essentially has a random chance of being first, equal to his or her share of total computing power. That’s important because some black hat user could make and confirm fraudulent transactions if she controlled a majority of the computing power. In fact, no one has control over a majority of the computing power on the Bitcoin system, so the system provides a sufficient check on double spending.

Processing transactions is costly. Solving the cryptography problem requires sophisticated computing hardware known as a mining rig and energy to run it. Why would someone incur these cost of processing transactions for the Bitcoin community?

The Bitcoin protocol includes an incentive to process transactions. The first person to confirm a batch of transactions is rewarded a prize of new Bitcoin and all of the transaction fees users offer up when making their transaction requests. The Bitcoin prize awarded for processing of a block of transactions is halved roughly every four years, so many suspect that transaction fees will become more important as the prize approaches zero Bitcoin.

Hopefully now you have a better sense of (1) why transactions must be processed and (2) how Bitcoin, a distributed system, processes transactions differently from decentralized physical cash and centralized clearinghouse systems.

Want to learn more about Bitcoin? Click here for an article on the basics of Bitcoin and here for a piece on cryptocurrency.