Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2020
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.03 KB | None | 0 0
  1. Transcript
  2.  
  3.  
  4.  
  5. 00:00 Blockchains are incredibly popular nowadays. But what is a blockchain? How do they work? What problems do they solve? And how can they be used.
  6.  
  7. Like the name indicates, a blockchain is a chain of blocks that contains information. This technique was originally described in 1991 by a group of researchers, and was originally intended to timestamp digital documents, so it’s not possible to backdate them. Or to tamper with them. Almost like a notary. However, it went by mostly unused until it was adapted by Satoshi Nakamoto in 2019 to create the digital cryptocurrency, Bitcoin.
  8.  
  9. 00:40 Now a blockchain is a distributed ledger that is completely open to anyone. They have an interesting property. Once some data has been recorded inside the blockchain it becomes very difficult to change it. So how does that work?
  10.  
  11. Well, let’s take a closer look at a block. Each block contains some data, the hash of the block, and the hash of the previous block. The data that is stored inside the block depends on the type of blockchain. The Bitcoin blockchain for example stores the details about the transaction in here. Such as the sender, receiver, and the amount of coins.
  12.  
  13. 01:18 A block also has a hash. You can compare a hash to a fingerprint. It identifies a block and all of its contents, and it’s always unique. Just as a fingerprint. Once a block is created, its hash is being calculated. Changing something inside the block, will cause the hash to change. So in other words, hashes are very useful when you want to detect changes to blocks. If the fingerprint of a block changes, it no longer is the same block. The third element inside each block is the hash of the previous block. This effectively creates a chain of blocks. And it’s this technique that makes a blockchain so secure. Let’s take an example.
  14.  
  15. 02:03 Here we have a chain of 3 blocks. As you can see, each block has hash, and the hash of the previous block. So block number 3 points to block number 2. And number 2 points to number 1. Now the first block is a bit special. It can not point to previous blocks, because, well, it’s the first one. We call this block, the Genesis block. Now, let’s say that you tamper with the 2nd block. This causes the hash of the block to change as well. In turn, that will make block 3, and all following blocks, invalid because they no longer store a valid hash of the previous block. So changing a single block will make all following blocks invalid. But using hashes is not enough to prevent tampering. Computers these days are very fast and can calculate hundreds of thousands of hashes per second. You could effectively tamper with a block and recalculate all the hashes of other blocks to make your blockchain valid again. So, to mitigate this, blockchains have something that is called Proof of Work.
  16.  
  17. 03:12 It’s a mechanism that slows down the creation of new blocks. In Bitcoins case, it takes about 10 minutes to calculate the required proof of work and add a new block to the chain. This mechanism makes it very hard to tamper with the blocks. Because if you tamper with one block, you will need to recalculate the proof of work for all the following blocks. So the security of a blockchain comes from its creative use of hashing, and the proof of work mechanism. But there is one more way that blockchains secure themselves. And that is by being distributed. Instead of using a central entity to manage the chain, blockchains use a Peer to Peer Network, and everyone is allowed to join.
  18.  
  19. 03:56 When someone joins this network, he gets a full copy of the blockchain. The node can use this to verify everything is still in order. Now let’s see what happens when someone creates a new block. That block is sent to everyone on the network. Each node then verifies the block to make sure it hasn’t been tampered with. And if everything checks out, each node adds this block to their own blockchain. All the nodes in this network create Consensus.
  20.  
  21. 04:27 They agree about what blocks are valid and which aren’t. Blocks that are tampered with will be rejected by other nodes in the network. So, to successfully tamper with a blockchain, you’ll need to tamper with all the blocks on the chain, re-do the proof of work for each block and take control of more than 50% of the peer to peer network. Only then will your tampered block become accepted by everyone else. So this is almost impossible to do.
  22.  
  23. Blockchains are also constantly evolving. One of the most recent developments is the creation of smart contracts. These contracts, are simple programs that are stored on the blockchain. It can be used to automatically exchange coins, based on certain conditions. More on smart contracts in a later video.
  24.  
  25. 05:15 The creation of blockchain technology peaked a lot of people's interests. Soon others realized that this technology could be used for other things. Like storing medical records, creating a digital notary, or even collecting taxes.
  26.  
  27. So now you know what a blockchain is, how it works on a basic level, and what problems it solves.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement