What is a blockchain?
A decentralized database for security, transparency, and integrity
A blockchain is a database – a way to store and organize information. Blockchains are used for secure, transparent, and tamper-proof record keeping, such as for financial transactions like Bitcoin.
Blockchains are a new kind of database.
They work by organizing information as a sequence of grouped updates, called “blocks”. In Bitcoin, the updates are transactions being sent peer-to-peer. Each block contains a reference to the preceding block, forming an unbroken “chain of blocks” that go all the way back to the blockchain’s beginning.
It’s kinda like an accountant’s ledger book, where each page in the book contains a list of transactions and includes a special note, referencing the previous page’s transactions.
Traditional databases, like the ones used by banks for financial transactions, are centralized, which means the access and control of information is managed by a central authority (the bank). It’s kinda like a master copy of the ledger book, where only the owner of the book can control it and make changes.
Blockchains, on the other hand, use a decentralized model. They work within a network of independent peers, each participating in the operation of the database by following standardized rules for how and when to update the information. It’s like everyone having their own copy of the ledger book and all agreeing on the same rules for how and when to make changes to their own copy.
This lack of a central authority means blockchains offer a way to manage information, while preventing corruption, obstruction, or manipulation of the database by any individual or group.
Bitcoin is by far the largest, most secure, and robust blockchain.
Blockchains are based on rules.
A blockchain’s software contains the rules that govern its operations. For Bitcoin’s blockchain, the rules define things like the supply of bitcoin, the formatting of transactions, and the timing and size of blocks. You can read more about Bitcoin’s rules here.
Computers can download and run the software, thereby becoming a “node” in the blockchain's network and enforcing its rules. By running the software, nodes can check for themselves whether the information within the blockchain follows the rules, while also participating in the process for adding new blocks.
So how are new blocks added if nobody is in charge?
The solution is a process called mining. Here’s the basics of how mining works with Bitcoin:
If there’s ever conflicting versions of the blockchain, the version with the most computational work applied is correct.
Every 2 weeks the lottery’s difficulty automatically adjusts (aka the “difficulty adjustment”), to ensure that the lottery is won every 10 minutes, thereby ensuring consistent block intervals and predictable supply issuance of bitcoin.
With a blockchain, any miner or node can disconnect and reconnect to the network, and easily verify what has taken place in their absence. This means that the blockchain doesn’t exist in any single location or computer, but rather equally across all copies of the blockchain.
It’s a database that exists everywhere, yet nowhere in particular.
Blockchains offer significant advantages over traditional databases, making them ideal for certain applications, such as peer-to-peer electronic cash.
In centralized systems, such as financial databases, trust is required to ensure the central authority doesn’t manipulate transactions or unilaterally change the rules to arbitrarily create money or block access to funds.
A blockchain with only a few nodes or miners requires trust that they won’t collude, be coerced, or act on mis-aligned incentives. Given the financial value of blockchain transactions, there is always the risk that if someone can manipulate the blockchain for financial gain, they will.
Centralization of a blockchain can take many forms:
Bitcoin’s software and entire transaction history are small enough to be downloaded and verified on a typical laptop, making it accessible for countless people to run a node. Mining is a globally competitive industry, with many independent operators worldwide and who aim to avoid excessive consolidation to protect the blockchain’s integrity. Ensuring Bitcoin’s continued decentralization is a shared interest for everyone in the community.
Other blockchains often lack sufficient decentralization. If they rely on leadership teams or a small number of nodes or miners to verify transactions, they are vulnerable to failures, corrupt incentives, or attacks. Centralized blockchains are simply databases that require trust in a central authority or group, risking manipulation, obstruction, or changes made for their own benefit.
© 2024 NMLS ID 1902919 (Zap Solutions, Inc.)