Imagine a world where no single entity controls your money, where data is transparent and immutable, and where trust is embedded in the very fabric of transactions. Welcome to the world of blockchain. This lesson delves into the fundamentals of blockchain technology, a topic that has rapidly transitioned from obscure tech jargon to the forefront of finance and innovation. As traditional institutions grapple with adapting to decentralized systems, blockchain presents a paradigm shift that impacts everything from digital currencies like Bitcoin to cutting-edge financial models in decentralized finance (DeFi). But what makes blockchain so revolutionary, and how can it reshape the future of our financial and technological landscapes? Let’s explore.
At its core, blockchain is a decentralized, transparent, and secure method of recording data. In this lesson, we break down the key aspects of blockchain: how it works, its strengths, and potential pitfalls. The video we analyze explains these concepts by starting with the basics—a block is simply a collection of data, often transaction records, that gets verified and added to a chain of previous blocks, creating a blockchain. The speaker highlights how cryptography, specifically hashing functions, secures the data, and introduces the concept of mining, the process that validates transactions and keeps the network running.
Most strikingly, the lesson draws a distinction between centralized systems, where banks or governments control data, and decentralized systems, where anyone can participate. This distinction is at the heart of what makes blockchain so exciting for finance and beyond—control is no longer in the hands of a few. But as with any emerging technology, blockchain presents challenges that need careful consideration, from the energy costs of mining to the complexities of ensuring data integrity in a decentralized system.
The video provides several compelling arguments that showcase why blockchain is such a transformative technology.
Security Through Hashing Functions One of the strongest points in the lesson is the explanation of how blockchain ensures security through hashing. A hash, generated through cryptographic algorithms like SHA-256, guarantees that data in each block remains tamper-proof. Even the slightest alteration to a block’s data changes its hash entirely, making it evident if any tampering has occurred. This mechanism is what makes blockchain virtually immutable, a feature that has significant implications for industries where data integrity is crucial—such as finance, healthcare, and supply chain management.
Supporting Data: Blockchain’s immutability has already found real-world applications. For example, IBM’s Food Trust platform uses blockchain to trace food supply chains, ensuring transparency and reducing fraud. This ability to provide a verifiable, tamper-resistant ledger is a powerful tool in combating corruption and improving accountability in traditional sectors.
Decentralization: Empowering the Many Another standout feature is the lesson’s discussion on decentralization. Unlike traditional systems where a central authority (e.g., a bank) controls all transactions, blockchain allows anyone to participate in maintaining the ledger. This decentralization removes the need for intermediaries, potentially lowering transaction costs and increasing access to financial services.
Supporting Data: Cryptocurrencies like Bitcoin have already demonstrated how decentralization can work in practice. By removing the reliance on banks or payment processors, Bitcoin enables peer-to-peer transactions without third-party interference, a concept especially appealing in regions with unstable financial systems.
Mining as the Backbone of Blockchain The video effectively explains how mining serves as both a validation mechanism and an incentive system. Miners solve complex mathematical puzzles to validate transactions, securing the network in the process, and receive cryptocurrency rewards for their efforts. This mining process ensures that the network stays decentralized, as anyone with the necessary computational power can participate.
Supporting Data: The introduction of mining not only validates transactions but also creates new coins in the system. For Bitcoin, this method of “minting” new currency contrasts sharply with traditional fiat currencies, which can be printed at will by central banks. Bitcoin’s fixed supply cap of 21 million coins adds scarcity, driving its value higher as demand increases.
While the video makes strong arguments, there are areas where its explanations could be further questioned or expanded.
Energy Consumption of Mining One significant drawback to blockchain, particularly in proof-of-work systems like Bitcoin, is the immense energy consumption required for mining. The video glosses over the environmental impact of this energy usage, which has become a hot topic in the broader debate around blockchain’s sustainability. Critics argue that the carbon footprint of large-scale mining operations is unsustainable in the long term, pushing the need for more energy-efficient consensus mechanisms.
Counterargument: While energy consumption is a valid concern, the blockchain space is evolving. Ethereum, for instance, has transitioned to a proof-of-stake model with Ethereum 2.0, significantly reducing its energy usage by eliminating the need for energy-intensive mining.
Complexity and Accessibility The video presents blockchain as an easily understandable and democratizing force, but it downplays the technical complexity involved in participating in blockchain networks. Mining, for example, requires significant computational power and technical know-how, making it accessible primarily to those with resources to invest in high-performance hardware. Furthermore, the complexities of managing cryptocurrency wallets and private keys can be a barrier to widespread adoption.
Alternative Viewpoint: Solutions like DeFi platforms and user-friendly wallets are emerging to address this issue. Platforms such as MetaMask simplify interaction with decentralized applications, lowering the barrier to entry for newcomers to the crypto world.
Blockchain, as discussed in the lesson, is the backbone of cryptocurrency. Every cryptocurrency, from Bitcoin to Ethereum, relies on blockchain to verify and secure transactions without a central authority. What’s fascinating is how these concepts—mining, decentralization, and hashing—translate into the crypto ecosystem.
Decentralization in Crypto: Decentralization is the cornerstone of most cryptocurrencies. Bitcoin’s peer-to-peer system allows users to transact directly without needing a middleman, making it highly resilient to censorship or governmental control. This is a significant departure from traditional financial systems, where central banks or payment processors act as gatekeepers.
Mining and Staking in DeFi: The video primarily discusses mining in proof-of-work systems, but in the world of decentralized finance (DeFi), alternative consensus mechanisms like proof-of-stake (PoS) are gaining traction. DeFi projects such as Aave or Compound allow users to stake their tokens to earn rewards, similar to mining but without the energy-intensive computations.
Smart Contracts: The lesson briefly touches on smart contracts, an important feature in Ethereum’s blockchain. Smart contracts are self-executing agreements that automatically trigger when certain conditions are met, offering vast potential for automating financial processes without intermediaries. This innovation is at the heart of many DeFi applications, such as automated lending platforms or decentralized exchanges.
The ideas discussed in this lesson are not just limited to cryptocurrencies—they have the potential to reshape entire industries. The transparency, security, and decentralization offered by blockchain technology could revolutionize sectors such as finance, supply chain, healthcare, and governance.
In Finance: Blockchain could enable faster, cheaper cross-border payments, disrupting the traditional remittance industry. Major financial institutions are already exploring blockchain’s potential—JPMorgan’s JPM Coin is an example of how traditional banks are entering the blockchain space.
In Governance: Blockchain’s immutable nature makes it ideal for secure voting systems, reducing the risk of election fraud. Countries like Estonia are already exploring blockchain-based voting systems for more transparent elections.
Looking forward, the evolution of blockchain technology will likely focus on improving scalability and sustainability. Solutions such as Ethereum’s transition to proof-of-stake or the development of layer-2 protocols like the Lightning Network for Bitcoin aim to address some of blockchain’s current limitations, paving the way for mass adoption.
From my perspective as a finance and tech enthusiast, what excites me most about blockchain is its potential to democratize access to financial services. The barriers to traditional banking—whether they are geographic, economic, or political—are rendered irrelevant by blockchain. With a smartphone and an internet connection, anyone can participate in the global economy, and that’s revolutionary.
However, the journey toward a decentralized future isn’t without its challenges. The energy consumption debate is one that blockchain advocates must address head-on. Moreover, the technology’s complexity means that education, like this lesson from Crypto is FIRE, is essential for fostering widespread understanding and adoption.
Blockchain represents a profound shift in how we think about trust, transparency, and control in the digital world. As we’ve explored in this lesson, the fundamental building blocks of blockchain—decentralization, mining, and hashing—are the pillars supporting this new era of finance and technology. While challenges remain, the potential for blockchain to revolutionize industries and democratize access to financial services is immense. As you continue your journey through the Crypto is FIRE training program, remember that we are still in the early stages of this transformation. The more you learn, the better equipped you’ll be to navigate and thrive in the blockchain-powered future ahead. Keep going!
Welcome to an exciting journey into one of the most revolutionary technologies of our time—blockchain! Whether you’ve heard of Bitcoin, Ethereum, or simply the buzz surrounding cryptocurrency, understanding blockchain is your entryway into the future of finance and beyond. This lesson will break down blockchain technology in simple terms, explain its importance in traditional finance, and uncover how it powers the innovative world of cryptocurrencies. By the end, you’ll not only understand blockchain—you’ll be able to explain it to your friends and loved ones (saving them from tech confusion and possibly from financial control by centralized institutions). Let’s dive in!
To understand blockchain, there are some key terms you’ll need to grasp. These terms will serve as the building blocks (pun intended) for both traditional finance and the world of cryptocurrencies.
Block
In traditional finance, think of a block like a page in a ledger, recording financial transactions. In the crypto world, a block is a bundle of data—usually a list of transactions like “X pays Y $50.” Each block forms a snapshot of what happened in the network at a particular moment.
Ledger
A ledger is a record of transactions. In traditional finance, this might be your bank’s record of deposits and withdrawals. In blockchain, the ledger is decentralized and public, meaning anyone can view it, and everyone has a copy.
Mining
Traditional mining extracts value from the earth (gold, silver). In the blockchain world, “mining” refers to solving complex math problems that validate and record transactions onto the blockchain, earning a reward—usually in cryptocurrency like Bitcoin.
Hashing Function
A hashing function is like a magical machine that takes any input (a transaction, a name) and outputs a fixed-size string of numbers and letters. In Bitcoin’s case, it’s the SHA-256 hash function, and it’s what ensures each block in the blockchain is secure and unique.
Decentralization
Traditionally, financial systems are centralized—your bank holds all the control. Decentralization means no single entity is in charge. Instead, all participants in the blockchain network share control, which means no one can secretly alter the data for their gain.
Key Points:
Detailed Explanation:
Think of blocks as building blocks in a tower—each one contains crucial information. In Bitcoin’s case, this is typically transaction data. However, other blockchains (like Ethereum) can include additional data, such as “smart contracts” (self-executing agreements). Blocks are limited in size, so when they fill up, they are linked to the rest of the chain through the mining process.
Crypto Connection:
In traditional finance, the closest comparison to a block might be a bank’s ledger page recording daily transactions. But here’s the twist—in blockchain, once that block is added to the chain, it’s permanent. There’s no erasing or tampering with it, making blockchain systems incredibly secure and transparent.
Key Points:
Detailed Explanation:
Mining is like a high-tech treasure hunt. Miners use powerful computers to guess the solution to a complex problem—essentially, they’re searching for a specific hash that will allow them to add a block to the chain. The process is competitive, and only the first to solve it earns the reward.
Crypto Connection:
This is where blockchain veers sharply from traditional finance. Imagine if every transaction at your bank required thousands of computers worldwide to agree it’s valid—this is what happens in blockchain through mining. Bitcoin miners, for example, are paid in Bitcoin, which is how new coins are created. Unlike traditional banks that can print money, Bitcoin’s supply is capped, controlled by the mining process.
Key Points:
Detailed Explanation:
In centralized systems, power lies with a single authority. If your bank decides to change the rules, you have little recourse. But with decentralization, power is distributed across the network. Blockchain’s decentralization ensures no single entity can manipulate the system. Instead, participants (miners, validators) maintain and verify the blockchain.
Crypto Connection:
In crypto, decentralization means anyone can be a part of the system—no need for permission from banks or governments. For example, Bitcoin’s ledger is public. Anyone can see and verify every transaction, making it highly resistant to fraud or censorship.
Key Points:
Detailed Explanation:
Once a block is added to the blockchain, it’s linked to the previous block by incorporating its hash. This ensures that any attempt to alter an earlier block would change the entire chain. It’s like a digital fingerprint—once set, it can’t be undone without disrupting the whole structure.
Crypto Connection:
This chain-like structure makes blockchain incredibly secure. In traditional systems, fraud or error could go unnoticed or be covered up. But on a blockchain, any attempt to alter a past transaction is obvious to the entire network, making fraud practically impossible.
For each section, the “crypto connection” offers a glimpse into how these traditional concepts are transformed in the world of cryptocurrencies and blockchain. Where a centralized system could fail due to corruption or hacking, decentralized systems like Bitcoin offer transparency, security, and democratization of finance.
Blockchain is a decentralized, secure way to record transactions.
Mining is the process of validating and securing transactions on the blockchain.
The hashing function ensures each block is unique and securely linked to the previous one.
Blockchain technology is transforming traditional financial systems by offering transparency, security, and democratization.
Now that you’ve mastered the basics of blockchain, get ready for the next lesson in the Crypto is FIRE training program! There’s plenty more to uncover as we dive deeper into the revolutionary world of crypto!
Definition and Functionality of Blockchain:
Structure and Limitations of Blocks:
Mining and Hashing Process:
Decentralization and Security:
Chain Linkage and Integrity:
What is a Block?
Examples of Block Data:
What is Mining?
Hashing Function:
Properties of Hashing Functions:
Mining Effort and Computational Power:
Decentralized vs. Centralized Systems:
Benefits of Decentralization:
Linking Blocks:
Immutability of Records:
Reflect on Blockchain’s Impact:
Engage Further and Learn More:
This guide has laid out the fundamental concepts and processes involved in blockchain technology. By understanding each step, you can better appreciate the robustness and innovative nature of blockchain and consider its implications for the future.
Welcome to the transformative world of blockchain technology! Whether you’re a curious beginner or an enthusiast looking to deepen your understanding, this guide will equip you with a fundamental grasp of blockchain’s intricacies. Let’s embark on this educational journey together, unlocking the capabilities and potential of this groundbreaking technology.
At its core, blockchain is a digital ledger, much like a record book that is accessible across various computers connected in a network. This ledger meticulously records transactions, ensuring that each entry is secure and immutable once entered. The magic of blockchain lies in its ability to maintain copies of this ledger across multiple locations, significantly reducing the risk of unauthorized alterations and hacks.
Imagine a blockchain as a tower of blocks, where each block is a container holding batches of transaction records. For example, in Bitcoin, the most prominent application of blockchain, a block might detail transactions like “X pays Y $50” or “A pays B $80.” The versatility of blockchain technology allows it to record not just financial transactions but also complex contracts and operational commands in other applications such as Ethereum.
Key Features of Blocks:
Mining is the powerhouse process behind blockchain’s ability to add new blocks. Miners use sophisticated computers to solve complex mathematical puzzles that validate and secure new transactions. This process involves the creation of a ‘hash,’ a unique digital fingerprint generated by a hashing function, such as SHA-256 in the case of Bitcoin.
How Mining Works:
One of the fundamental aspects of blockchain technology is its decentralized nature. Unlike traditional systems where a single entity controls the data, a blockchain distributes control across all participants in the network.
Implications of Decentralization:
Every block in a blockchain references the hash of the preceding block, thus creating a continuous link back to the very first block, known as the genesis block. This linking ensures that once a block is added to the blockchain, changing its content would require altering all subsequent blocks, a task that is computationally prohibitive due to the sheer amount of processing power required.
Blockchain’s Immutable Ledger:
Blockchain’s capabilities extend far beyond cryptocurrencies. Its potential applications range from supply chain management and secure voting systems to digital identities and decentralized finance (DeFi). As blockchain technology continues to evolve, its impact on various industries appears increasingly promising.
Engagement and Continuous Learning:
In conclusion, blockchain technology is not just about cryptocurrencies. It offers a new paradigm for how we transact and interact digitally. By understanding the foundational principles outlined in this guide, you are now better equipped to discuss, utilize, and potentially innovate within the blockchain space. Dive deeper, keep learning, and perhaps, contribute to the blockchain ecosystem in your own unique way.
In this video, we are going to explain what a blockchain is in very basic terms. By the end of the video, you’ll be able to explain this life-changing technology to those you love, saving them from the authoritative dictatorships that never cease to control your every move. Nevertheless, we don’t really discuss politics on this channel, mostly just ideas, so let’s get into it.
What is a block? In terms of cryptocurrency, a block is just a bunch of data. In fact, the data could be almost anything, but a block is just a bunch of data. In fact, the data could be almost anything, but usually it’s just a collection of records. For the numero uno crypto, bitcoin, this data is literally just a list of transactions.
For example, it might look like this. X pays Y $50, A pays B $80, and Y pays H $15. If we’re dealing with Ethereum, it’s usually just transactions, but it can be a few other things, like things called smart contracts, which are really neat, but we’ll have time to explain them in another video.
For other altcoins, they could be the usage of your Wi-Fi, or files, or documents. Nonetheless, a block is just a collection of records. For this example, to explain what a blockchain is, I’m going to stick with a record of transactions, like in Bitcoin. Specifically, we call this record a ledger because it is a record of value exchanging hands. Now one thing you need to know is that blocks do have limits, and they can only have so many transactions in them, so we have to keep adding more blocks.
For our example, Bitcoin has an average of around 1,500 transactions in one block right now. Now this number changes, but you don’t really need to know why. Just know that these blocks do fill up and then we have to do something with them. Well, what do we do when these blocks are full? We add them to the network. Now you might be asking, how do we do that? Well, we do something called mine them.
And since Bitcoin is a proof of work model, we have to prove that we mined them. This brings us to something called a hash. So the next big question is what is a hashing function? A hashing function is a system where you can put something into it and it’ll output a hash.
Now there’s a ton of math happening inside this magical black box, but essentially you give it something and it gives you something. In this case, Bitcoin uses the SHA-256 hashing function. SHA stands for secure hashing algorithm and 256 refers to the amount of zeros and ones that it has in whatever it puts out.
So whether you put in your name or the entire dictionary, it’ll always output 256 zeros and ones. Now our computers are smart so they convert these zero to ones to letters and numbers and it is a complicated process and could be a video on its own, but essentially with hashing functions you need to know three main things.
Number one, you can’t find the input of a hash, you have to guess and check. So if you give it A, it will give you D. Then if you give it AA, it’ll give you J. And then if you give it AAA, it’ll give you U. Imagine if you wanted to find out what gave you an F. You’d have to just keep adding more As until you found it.
The second thing you need to know about hashing functions is that changing the input just a tiny bit changes the output a lot. So basically, if you do SHA-256 of this, subscribe to our channel, you get this as the output. However, if you do please subscribe to our channel, you get this. See, these are completely different, even though we added one word. And lastly, the third thing you need to know is that calculating the hash takes some time.
Now, it might only take a few milliseconds for one tiny string of text, but if you have an entire book that you’re doing, or if you want to check a few million variations of it, it starts to rack up time and computing power. And so what Bitcoin is doing, whenever you mine it, is we’re trying to add random numbers to whatever the block is so that we get a special ending. For example, let’s say we’re trying to mine this.
X pays Y $50, A pays B $50, and Y pays H $15. You’ll get this as the output. Now, this is what Bitcoin is doing. We ask ourselves, what number do we have to add to the end of that list to get a zero at the end of the hash? Well, if we start at zero, and then we check it with one, and then we check it with two, and we use my little Python program, we figure out that it takes three different checks to get to the first one, which is when you put a two at the end of it.
Now, let’s make it a little harder. Let’s try two zeros at the end of the hash. After running my little Python miner, we figure out it takes 438 tries until you hit the first hash that ends with zero zero. And lastly, just to drive the topic home home that it takes a lot more time to find these hashes, let’s look at how many times we have to guess for it to get 5 zeros.
If we run the program, we get a huge number. So as we look for more zeros, it takes a lot more time to check it. And essentially, Bitcoin is looking for a lot of zeros, and computers all around the world and mining farms are mining away to find the right number.
When they do, we say that that block is solved and verified, but we’ll get into that in a little bit. The next thing to know about a blockchain is that it is decentralized. Now, this doesn’t have to be really confusing. So think about it like this. Centralized means one person controls it. For example, your grades in high school, only your teacher had access to add in your grades or change it.
They could flunk you if they didn’t like you. And nothing personal here, but maybe you just didn’t understand what they were teaching because they sucked at teaching. Anyways, decentralized means that more than one person can have access to look at and change your grades. Imagine if all of your classmates were allowed to look at the answers on the test and give you a grade based on your papers and your tests.
Imagine if they could vote on what grade you got instead of just your teacher. Now this is essentially what decentralized means. Instead of one person having a list of all the Bitcoin transactions, literally anyone who wants to can have them and look at them. And not only that, because this is the important part, anyone can mine and actually vote on the blockchain.
This means they can say, Bill really did pay John $50. Or they can make fake transactions and say, John paid Bill all of his money. So you might be asking, how do you make sure that someone doesn’t make a fake transaction and spend all of my money? Well, that’s a problem that is solved by using asymmetric encryption with cryptocurrency wallets.
It’s a little confusing, and we just finished a few videos on it, so you should go check those out after this video. But bringing us back to what decentralized means, that begs the question, why would a group of teenagers want to look at your papers and tests? Even more so, why would they want to spend a lot of time looking at them and then grade the tests? Well, in this analogy, they would be paid to.
Almost in every blockchain, you get a reward for participating and putting in good votes. For example, for mining bitcoin, you get paid in bitcoin. I hope that analogy makes sense. So far, we’ve been over what a block is, it’s just a bunch of data, what a hashing function is, it’s to make sure that people actually put in work to participate in the blockchain, and we’ve went over what decentralized means. It basically means that one person does not control it.
So if you’re still with us after me explaining these interesting topics, please consider clicking that like button. It gives us fuzzy feelings inside and promotes our hard work. Next up, let’s learn why it’s actually called a block chain. With Bitcoin, there are two extra things you need to know about.
One, whoever solves the block and finds the magical hash that has however many numbers of zeros we’re looking for, they add, Yboard Crypto’s account received two Bitcoins for mining at the top of the block. And this is their mining reward. This is how more bitcoins are actually created. Although that number two changes and it gets smaller and smaller as time goes on.
Secondly, you need to know that they add the hash of the last block to it. So the password of the last block gets added to this block and that hash is actually used to calculate this block’s hash. So this makes it a chain since each block refers to the last one. Now this is where the magic of the blockchain works.
If you try to go back and edit an old block, the newer ones all change because you’ve messed up that hash that it pointed to. Remember when we talked about the hashing function and SHA-256? If you change it just a little bit, it changes the entire thing. Well that’s how we can make sure someone doesn’t go back and add more money into their account in an old block.
In a sense, whatever gets added to the blockchain is written down in history forever because it can’t be changed. Now, this is actually really good for things like transactions, but it’s bad for things like copyrighted material or embarrassing things. Tis the nature of the internet, though. So in conclusion, we have blocks that consist of data.
And in the case of cryptocurrency, it’s usually a list of transactions. Next, after we have a block, we have to find the password to that block, or basically what is the hash that solves that block. And miners do this by guessing and checking until they hit the jackpot. And then after they find the solution to that block, they make sure that it’s linked to the last block.
So each block actually has the history of every transaction on it because it refers to a previous block. Now, since each block is connected to the last block, this makes it a chain. That’s what a blockchain is.
How does a blockchain work – Simply Explained
Transcript:
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? 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 that 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 2009 to create the digital cryptocurrency Bitcoin. 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 a blockchain, it becomes very difficult to change it.
So how does that work? 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 a block depends on the type of blockchain. The Bitcoin blockchain for example stores the details about a transaction in here such as the sender, receiver and the amount of coins. 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. Here we have a chain of three blocks.
As you can see each block has a hash and the hash of the previous block. So block number three points to block number two and number two points to number one. Now the first block is a bit special. It cannot point to previous blocks because well well, it’s the first one. We call this block the Genesis block. Now let’s say that you tamper with the second 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.
It’s a mechanism that slows down the creation of new blocks. In Bitcoin’s 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’ll 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.
When someone joins this network, he gets a full copy of the blockchain. The node can use this to verify that 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 that 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. 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, redo 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. 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 and can be used to automatically exchange coins based on certain conditions.
More on smart contracts in a later video. The creation of blockchain technology piqued a lot of people’s interest. Soon others realized that this technology could be used for other things like storing medical records, creating a digital notary or even collecting taxes. So now you know what a blockchain is, how it works on a basic level and what problems it solves.
Want to learn how you can implement a simple blockchain in JavaScript? Then check out this video here. And as always, thank you very much for watching