Blockchain: Solution to a 1,600-Year-Old Problem
Tags: blockchain, web3
Published: 2022-12-24 03:46:37

Timeless Treasures...
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/havipamgau4p0gqg2z29.png)

Just like the Hagia Sophia that withstood the test of time.

Erected by the Byzantine Empire in 532, this architectural genius stood strong in the face of sackings by Christian Crusades in 1204, finally falling in the hands of the Ottoman Empire in 1453. But even then, the Ottomans decided to preserve it. They converted it to a mosque we all can visit today.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0z0dbz3ez9hxtdapum1f.png)

---


## Contents:
1. The Thread of Time
2. Problem: 532 AD
3. Solution: 2007 AD
4. Future: Infinity and Beyond

---

## The Thread of Time
There is beauty in being connected to something bigger -- and  there is no greater way than through time. With time, you connect not just with people, but generations of people who worked towards a common dream.

Similarly, blockchain had its humble beginnings, maybe as early as the Hagia Sophia.

## Problem: 532 AD
The idea at the heart of blockchain is a decentralised system. One that does not rely on a central authority. As we have seen in the past, power in the hands of a few are susceptible to corruption.

One great desire of city folks is money, seen by the "Financial Independence Retire Early (F.I.R.E)" trend in Singapore. However, given the history of mass inflation (think: a bowl of noodles in Singapore used to cost 20 cents in 1960s, but 400 cents in 2020), there is no real guarantee of F.I.R.E. Perhaps, by implementing cyptocurrency (blockchain finance), this frees people's finances from the whims of the central authority, to live their true calling, rather than be tied down by the practicalities of life.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ba0nbrcucry9h0zz1u47.png)

The fundamental of cryptocurrency is a distributed validation system for transactions. This means that rather than letting a central bank approve transactions, each transaction is sent to all crypto users and validated. It use timestamp and some variable data to make each new block immutable.

Thing is, how do you know that all your crypto users are trustworthy, and did not tamper with the validation algorithm to approve a faulty transaction? Or, if I take you back into the past, how do you know you can trust your generals in the Byzantium Army?

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4wbhfuymptq0yy766cko.png)

This, is the classical Byzantine Generals Problem. You have 4 generals leading troops on 4 sides of a city. You want them all to attack, but they must coordinate. If any 1 decides to retreat, you lose the rest of your army in a failed siege. But they can exchange messages between each other saying either attack / retreat.

## Solution: 2007 AD
Formally formulated & solved in [1982](https://lamport.azurewebsites.net/pubs/byz.pdf), the solution is to have AT LEAST 2n+1 persons that are loyal, where n is the number of traitors. How this is applied to Bitcoin is that each transaction has to be validated with all users. However, counting the number of traitors is not the easiest task. But in general, the more users there are, the more reliable it is.

[Real-life use cases](https://www.tradestation.com/learn/market-basics/cryptocurrencies/what-is-the-blockchain/blockchain-in-action-real-world-examples/):
1. DeBeers, verification of diamonds' source from non-conflict regions
2. Ticketmaster, smiting counterfeit tickets

## Future: Infinity and Beyond
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g9mzrzgfgbyefprfc8vt.png)
Going back to the central thesis on whether blockchain could improve human lives, I have my doubts, listed below:
* man-made solutions always cause new problems (we tend to be short-sighted), thus status quo might be okay, there will always be good and bad to any thing
* trust in technology over government (feels like the movies about AI making all the decisions). However, it could become pure logical, emotionless decisions
* algorithms chosen are man-made, how are we sure that isn't controlled by a few powerful individuals (and the same problem recurs)

I hope this primer has been an interesting read of what blockchain might and might not be able to do, and here's to everyone building a better world or self in 2023! 🎊

## P.S Bonus Section
Writing this article really had me thinking about how we can better lives with Software Engineering. This led me to find [Code in the Community (CITC)](https://codeinthecommunity.com/), a community program supported by Google that teaches Python to low-family income children from 13 - 16. This seems like a great place to start, as Software Engineering pays really well and could change the kids and their families' financial lives! It seems their last run for 2022 just ended, and I'm currently inquiring about the details, but you can DM / hit me up on LinkedIn if you'd like to hear updates :)

[_Because the ones that are crazy enough to think they can change the world, are the ones that do. - Steve Jobs_](https://www.youtube.com/watch?v=5sMBhDv4sik)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fh7hj3zo5cmp41uox5d9.jpg)