Blockchains

In many ways, a blockchain is similar to an online bank account. It is an electronic database that stores digital assets (such as cryptocurrencies or NFTs) along with a record of who owns them. For example, the Ethereum blockchain may have a record that says that account “0xb794f5ea0ba39494ce839613fffba74279579268” owns 10 Ethereum tokens and one Mutant Ape NFT.

Database of Actual Balances on the Bitcoin Blockchain

Unlike a traditional bank account, however, blockchains are distributed and decentralized:

  1. Distributed: Instead of being hosted in a single location, they are hosted across thousands of individual computers located all over the globe

  2. Decentralized: Blockchains are not controlled by any one party

Let’s take a look at each of these concepts…

How is a Blockchain Distributed?

Unlike traditional databases that live in a geographically centralized “server farms” (such as the ones owned by Amazon or Google), decentralized ledgers are hosted across thousands of individual computers located all over the globe.

These computers are called “nodes”, and they each contain an identical copy of the account balances and transaction history of a blockchain’s database.

Decentralized Ledgers are Distributed Across Thousands of Individual Computers

This distribution is very important because it means that: 1) it’s almost impossible for a third party to turn them off, 2) they are extremely resilient to hardware failures and 3) practically speaking, a distributed architecture is needed to design a decentralized system.

How is a Blockchain Decentralized?

Traditional banks have always been trusted to protect consumer’s assets.

In the old world they did this by storing money in secure vaults and defending it with armed guards. In the information age – where over 92% of money exists only in digital form – they do this with an army of accountants, auditors and cybersecurity experts. These professionals monitor accounts, check for fraud and assure that no one hacks the system and manipulates account balances.

Unlike traditional bank accounts, blockchains can’t rely on an in-house staff to safeguard a user’s assets and assure that no one tampers with the balances. Instead, they rely on a process known as “hashing” to protect the books.

To initiate the hashing process, blockchains organize all incoming transactions into groups known as “blocks”. These blocks have a limited storage capacity, so when they become full, they are locked and linked to the previous block with a “hash”. This forms a chain – hence the name, blockchain.

These hashes are extremely important because they make blockchains immutable – that is, data (such as your Bitcoin or Ethereum balance) can’t be deleted, tampered with or changed once it is locked into the chain.

This is due to the unique properties of hashing, a cryptographic process that takes a given set of information and converts it into a unique code. For example, the word “fox” could be hashed as DFTY786DCFJ894SUSH865AAHJAI978 and the sentence “the quick brown fox jumps over the lazy dog” could be hashed as SOIAUYA7865ASLUAN098A5489USYAN. There are three important things to note about hashes:

  • Virtually anything can be hashed (i.e. you can hash a word, a sentence or the entirety of War and Peace)

  • Hashes are always unique (i.e. if you changed a single letter in War and Peace you would get a completely different hash)

  • It’s impossible to guess the original data from looking at the hash (i.e. you wouldn’t know that DFTY786DCFJ894SUSH865AAHJAI9785 was “fox”)

Because all new blocks are required to store the hash of the previous block, it’s easy to see if the blockchain has been tampered with. If the hash contained in the new block matches the old, you know that the data is secure. If they are different, everyone will know that the block has been manipulated.

Last updated