Blockchain Explained for Beginners

Cryptocurrency News and Public Mining Pools

Blockchain Explained for Beginners

(Long but informative read. I gathered this information from several sites. It`s pretty decent to get a basic understanding of Blockchain. As it`s not very detailed and i`m still learning myself, please feel free to add any information I missed or isn`t really clear.)

What is Blockchain?

In essence, a blockchain is a database where you can add information, but not remove it. The data stored on a blockchain can be anything, including money (such as bitcoin), insurance claims or even shares of physical property such as real estate. Instead of being stored on a single server, the database is spread out and stored on a vast network of computers known as nodes. This means that the system is distributed and that there is no central point of failure.

These nodes work together to add new information to the blockchain. This information is added in bundles known as blocks, and each time a new block of information is added, it is chained to the previous one in a linear fashion resulting in the blockchain.

Because of the decentralised nature of a blockchain, it means that there is no one single entity with the power to change the state of the blockchain ledger and do things like shut down accounts or seize funds, unlike banks.

How does Blockchain work?

A blockchain works by keeping an unchangeable (immutable) record of transactions. It does this by reaching a consensus between all the computers, or nodes, on the network. Because blockchains consist of a distributed network of computers with no central authority, the majority of the nodes must agree to any addition to the blockchain (i.e. adding the next block). No one party can make any changes, which is what makes a blockchain a decentralised system. The more nodes that join the network, the more decentralised it becomes, which in turn improves security.

Consensus refers to the agreement between the nodes on the blockchain's true state of affairs. If one node tries to lie, then its record of the blockchain won't match that of the other nodes, and it will be automatically ignored. This system of consensus is fundamental to the security of the blockchain.

You control your personal data on a blockchain by using private keys. A private key is like a lengthy password that gives you access to a digital wallet where your personal data is stored. This data could be anything from money to details about your last medical check-up. The benefit of a private key is that it doesn't have to be stored on a central server, unlike passwords for regular websites like Google or Facebook, which are prone to hacks.

U have different kind of consensus mechanisms:

  • Proof of Work Blockchain (PoW): is a decentralized consensus mechanism that requires members of a network to expend effort solving an arbitrary mathematical puzzle to prevent anybody from gaming the system. Proof of work is used widely in cryptocurrency mining, for validating transactions and mining new tokens.
  • Proof of Stake Blockchain (PoS): is a type of consensus mechanism by which a cryptocurrency blockchain network achieves distributed consensus. In PoS-based cryptocurrencies the creator of the next block is chosen via various combinations of random selection and wealth or age (i.e., the stake).
  • Proof of Authority BlockChain (PoA): is a consensus method that gives a small and designated number of blockchain actors the power to validate transactions or interactions with the network and to update its more or less distributed registry.

What problems does Blockchain solve?

On a trustless network like a blockchain, you can ask for payment from someone you have never met, and when the payment arrives, you can be sure that it is legitimate and verified, all within a matter of minutes. Existing systems such as the SWIFT banking network currently take two to three days to do this.

Another issue blockchains solve is the double-spend problem. The double-spend problem basically centres around the idea that on a database, someone can make an entry and then go back and change it if they have the power or authority to do so. This would essentially allow someone to spend the same money twice.

Blockchains solve this through a combination of factors that all prevent double spending:

  • Each transaction is time-stamped and kept in the correct order.
  • Every node must have a copy of the same ledger to reach consensus and to continue the blockchain.
  • Any node with a copy of the ledger that doesn't match the majority of the other nodes will be ignored. That is, if someone tries to spend the same money twice by sending it to two different nodes, then only the node that matches the rest of the nodes on the network will be accepted in the next block of data.
  • Any node with a copy of the ledger that doesn't match the majority of the other nodes will be ignored. That is, if someone tries to spend the same money twice by sending it to two different nodes, then only the node that matches the rest of the nodes on the network will be accepted in the next block of data.

What else can a blockchain do?

Blockchains belong to a group of technologies known as distributed ledger technologies (DLT). DLTs as we know them today have only been around for a decade or so, but are already receiving a lot of attention and development. Much like the Internet, additional protocols and technologies are being built on top of blockchains to further their abilities.

  • Cryptocurrencies: are digital "coins" that are native to their blockchain and can be used to reward node operators that help to secure the network and verify transactions.
  • Tokens: are also digital assets that are stored and traded on a blockchain. However, unlike cryptocurrencies, tokens are programmed "on top" of an existing blockchain, allowing them to piggyback the existing network infrastructure in the process.
  • Smart Conracts: are digital contracts that you can program to perform a specific set of functions. Like a physical contract, fulfilment of the contract requires that participants meet certain conditions, but unlike a physical contract, smart contracts can then execute the terms automatically once these conditions are met, such as paying out an insurance claim once you have paid the premium. Furthermore, smart contracts can do this without the need for middlemen, reducing cost while increasing speed and accuracy.
  • Supply Chain Management: Blockchains have the ability to add a level of authenticity and trust to supply chains that is sorely missed by legacy systems.

What are issues with Blockchain?

Identifying issues with blockchain technology really depens on where you sit and the particular blockchain. Critiques often revolve around speed, issues of centralisation (or decentralisation), adoption complexity and privacy.

Some of these issues have fairly simple solutions, such as choosing a private blockchain to increase privacy or creating a new interface to improve usability.

However, the one major issue that several of these smaller issues contribute to is the issue of scalability.

Scalability refers to the ability (or lack thereof) for blockchains to scale as more users join the network. As more users join, speed and size (bandwidth) needs to increase in order to process all the new data being added. Currently, blockchains struggle to do this without making a trade off in other areas, namely decentralisation and security.

This three-way trade-off among scalability, decentralisation and security has become known as the Blockchain Trilemma.

submitted by /u/Username-Not-A-Bot
[link] [comments]