Introduction to the Blockchain
Blockchain Technology didn't just pop up overnight. How did we get here?
Decentralization and Mining
Blockchain Use Cases
How are Blockchains Secure?
We’ve gone over the architecture of decentralized networks, but how do they stay secure? This is a much more difficult problem than addressing the security concerns of a client-server model, as only one server has to be secure. Decentralized networks have to get more creative in order to maintain security, as you have many nodes with equal power trying to coordinate information; there are more actors and more potential for security flaws.
Records on a blockchain are secured through cryptography. Each participant has issued a unique private key which can be used to “sign” transactions; they act as a personal digital signature. A digital signature is a message signed with the sender’s private key, and it can be verified by anyone who has access to the sender’s public key. This verifies that the sender has access to the private key, and is therefore likely to be associated with the public key as well. This ensures that the originator of the message can be verified.
Blockchains are decentralized and distributed across peer-to-peer networks that are continually updated to reflect every transaction. Because they are not contained in a central location, blockchains do not have a single point of failure and cannot be changed by hacking a single computer. It would require massive amounts of computing power to control a 51% majority of all nodes on the blockchain, essentially allowing a malicious user to confirm invalid transactions.
Decentralized networks offer users an opportunity to preserve their digital identities. In order for decentralized networks to get to this point of viability, they had to address the security concerns presented by these networks. There are several technical components of a blockchain and the information contained in each block that is crucial to its functionality.
Components of a Block
Each block is limited by the amount of information it can hold. Blocks vary in size depending on the chain, as does each network’s time to completely validate the block, also known as a “block time.” Bitcoin’s blocks are 1MB and take about 10 minutes to validate. Blocks are designed to hold confirmed transactions. They provide a record that is then added to the chain permanently and can be referenced at a later time. The key components of a block help identify and secure the blockchain.
Since a copy of the blockchain is stored on each computer on the network, that data can be retrieved easily and quickly. Additionally, this allows nodes to act as reliable validators. The further the chain progresses, the harder it is to alter data, as each subsequent block would have to be changed as well. This process would easily alert other nodes to this malicious action. Essentially, to change historical data that has been added to the chain, it would have to be rewound, appending one block at a time. Blocks are transparent. Hashed data is compiled into each block when it is created, and any attempt to alter confirmed data results in a completely different hash, easily alerting other nodes that invalid information is trying to be added to the blockchain.