BlockchainConsensus and the blockchain

Consensus and the blockchain

In this chapter, I will try and explain how cryptos work (at least in their basic form) in an easily understandable way. If you’re not interested you can skip this part and go directly to Smart Contracts although I’d recommend at least having a basic understanding of what you’re investing in.

As mentioned in Chapter 1: What Are Cryptocurrencies? two of the defining characteristics of cryptos are their security and immutability. But how do they achieve that? Centralized organizations spend large amounts of money on maintaining their security. Despite this, not only are they still vulnerable from outside forces, but they are especially vulnerable to inside forces. If someone has the right keys they can abuse their power for their own benefit. It isn’t comforting to think that all that’s preventing this is a moral conscience or a fear of being caught. With cryptos, this becomes irrelevant as nobody has all the keys. Instead, individuals numbering from the hundreds to the thousands collectively own the keys and are not only rewarded for obeying the rules but penalized for attempting to break them. Let’s look at how this works with an analogy.

Imagine a simple bank where people can deposit their money for safekeeping. The bank writes down all the transactions in a ledger so as to keep track of everything. Unfortunately, a clever thief breaks into the bank’s office and makes some changes to the ledger so that when they go to withdraw their money the next day the somehow have more than they deposited. The bank checks his ledger and everything seems in order.

Now imagine a second situation where we have a bank with 11 different branches. None of the branches trust each other so they come up with a system. Each one decides not only to keep a record of their own transactions but to send a representative to every other branch to independently write down every transaction their colleagues make. This way if there’s a dispute the branches can compare their ledgers and decide by the majority which one is correct. But there’s still a problem: when the representatives are on their way between the branches to compare ledgers they are attacked by the thieves and the ledgers of more than 6 branches are changed. So they add an additional step: at the end of every page of the ledger the banks will put all the values of the transactions from that page into a complex equation and write down what they get in a document for safekeeping. At the end of the next page, they will add up all the values again but also use their answer from the previous page. How does this help anything other than making things more complicated?

Now when a band of thieves attacks the representatives they not only have to change the entries but make sure that the changes they make still give the same answer when they’re put into the complex equation. This takes the thieves a long time, several weeks in fact. Long before that point, the bank realizes something is wrong and takes out one of the many copies of the ledger.

There is actually one more thing which makes the system even safer. To stop the bank from colluding against their customers the branches are offered a reward every time they agree with the majority of the other banks if they are in the minority they are fined. It turns out to be much more beneficial for the branches to play by the rules than try to break them.

In the next section, we will see how this analogy relates to “the blockchain” (the system of ledgers) and the differences between consensus methods.

Below is a very good instructional video from Ivan on Tech explaining this in a slightly different context. This problem is commonly known as “The Byzantine Generals Problem”. His channel is a very informative and objective look at cryptos for those of you who understand the basics.

Florent Malice
Florent Malicehttps://www.newsalarms.com/
Florent is a passionate blockchain enthusiast, dedicated to exploring the intersection of technology and finance. With a focus on blockchain, web crypto, and NFTs, he contributes insightful analyses and updates to NewsAlarms, offering clarity on the evolving landscape of digital assets.

Latest news

World AI Show Wraps Up Landmark Indonesia Edition, Announces 46th Global Edition in Kuala Lumpur, Malaysia

World AI Show Indonesia concludes with high-level dialogues, government and industry engagement on artificial intelligence innovation as Trescon names...

SenturoPay Goes Live with All-in-One Crypto Spend App and Card Solution

Launch introduces a streamlined platform where users can send, spend, and manage crypto instantly—without friction or delay. The wait for...

Nitin Bhatnagar Urges Industry to Prioritise Purpose-Driven Design and Sustainable Living

Dubai, UAE, 10th July 2025, ZEX PR WIRE, In a newly released interview, Dubai-based entrepreneur Nitin Bhatnagar has called...

Brian Gould of TruLife Distribution: “AI‑Custom Nutrition Is Here – But Has Your Supply Chain Kept Up?”

Flordia, US, 10th July 2025, ZEX PR WIRE, AI-powered personalized nutrition tools are gaining mainstream traction in 2025. Based...

Web V8: Australia’s Fastest-Growing Web Design Agency That Puts Speed, Substance, and Small Business First

Parramatta, NSW, 10th July 2025, ZEX PR WIRE, In a market flooded with templated websites, offshore developers, and long...

Locksmith Solutions Introduces Next-Generation Security Upgrades for the Homes and Businesses

New Smart Access Controls and High-Security Systems Now Available for Las Vegas Residents and Businesses. Las Vegas, NV, 10th July...

Must read

SenturoPay Goes Live with All-in-One Crypto Spend App and Card Solution

Launch introduces a streamlined platform where users can send,...

MFEV Marathon Success in Serbia: Celebrating Runners, Community, and Charity

MFEV proudly announces the successful conclusion of the MFEV...

Top Cryptos Under $1 to Buy in 2024: Invest Now!

Top Cryptocurrencies to Consider for 2024: Best Picks for...

Must-Grab Crypto Airdrops This August 2024

Get Ready for Exciting Upcoming Crypto Airdrops! Prepare yourself for...

Trending Now: The 5 Best Tap-To-Earn Games Across the Globe

Earn Crypto with These Top 5 Tap-to-Earn Telegram Games The...

You might also like
Recommended to you