A Beginners Guide to Blockchain Technology.

A Thread 🧵🧵👇👇

The simplest way to explain the Blockchain is this:

A database that is not managed by a single entity thereby making it decentralized.

Unlike the traditional database structure which uses a client-server model, the blockchain uses a peer-to-peer network where each participant
...is seen as a node.

As you might have asked, "How is the Blockchain managed?".

In a decentralized network, they have to be a way of ensuring the smooth running of the blockchain.

This is where the "Consensus Mechanism" comes in.

As the name implies, a consensus mechanism
is simply a means of making an agreement on the blockchain. Or, a way the blockchain is run.

They are different consensus mechanisms but the most popular as follows:

> Proof of Work
> Proof of Stake
> Proof of Authority
> Delegated Proof of Stake
You are probably trying to know the benefit of the Blockchain over the traditional storage system.

Here are a few:

> Decentralization
> Security
> Immutability
> Trustless

> Decentralization

This is definitely the most obvious advantage of the blockchain. Since it doesn't use
... a client-server network rather it uses a peer-to-peer model which gives the power the nodes thought the level of privilege of each node depends on the type of node and the kind of consensus mechanism being used.

> Security

One of the shortfalls of a centralized system is
... a single point of failure which simply means that you only need to get access to a single control center(or an administrator)...and BOOM!!!...You are in...

But, in the blockchain, you need an unrealistic amount to access to be able to compromise the security of a blockchain
Take, for instance in the Proof of Work consensus, you need to have 51% of nodes in your control which is practically impossible for blockchains like the Bitcoin or the Ethereum Blockchain.

>Immutablity

The blockchain is built in a way whereby any block added can't be changed
...or edited.

You can already imagine what this could mean for data. A system where you can ensure the authenticity of any data you get.

> Trustless

With the previous advantages stated, you could say the blockchain provides a database you can trust without having to trust a
...particular entity.

It's worthy to note that seeing the blockchain as a database is for simplicity and the most basic of things the blockchain has to offer.

Types of Blockchain

> Public
> Private
> Consortium

> Public

A public blockchain is a type of blockchain where
...the activities carried out are publicly visible for everyone to see in a place called an explorer. Also, in as much as the data is public, the participants of these transactions are represented by code public addresses thereby keeping their identity secret.
Most of the popular blockchains are public. Like:

> Bitcoin Blockchain(https://t.co/RI2bmUivej)
> Ethereum Blockchain(https://t.co/1ThJbUI7WF)
> Binance Smart Chain(https://t.co/a238W2tOIs)
> Private

This could also be called a permissioned blockchain whereby all activities are performed by know participants.

This is best suited for organizations. They can be seen as somewhat centralized in their manner of operation.
> Consortium

The consortium blockchain sits on the fence between private and public because it's used between multiple organizations.

With these, I think you can get the basic concept.

If you found this helpful do well like, retweet, and follow at @The_python_dev_
For a more in-depth look at Blockchain Technology check out this article on my blog.

https://t.co/qjhdVp8oqO

You May Also Like

1. Project 1742 (EcoHealth/DTRA)
Risks of bat-borne zoonotic diseases in Western Asia

Duration: 24/10/2018-23 /10/2019

Funding: $71,500
@dgaytandzhieva
https://t.co/680CdD8uug


2. Bat Virus Database
Access to the database is limited only to those scientists participating in our ‘Bats and Coronaviruses’ project
Our intention is to eventually open up this database to the larger scientific community
https://t.co/mPn7b9HM48


3. EcoHealth Alliance & DTRA Asking for Trouble
One Health research project focused on characterizing bat diversity, bat coronavirus diversity and the risk of bat-borne zoonotic disease emergence in the region.
https://t.co/u6aUeWBGEN


4. Phelps, Olival, Epstein, Karesh - EcoHealth/DTRA


5, Methods and Expected Outcomes
(Unexpected Outcome = New Coronavirus Pandemic)
A brief analysis and comparison of the CSS for Twitter's PWA vs Twitter's legacy desktop website. The difference is dramatic and I'll touch on some reasons why.

Legacy site *downloads* ~630 KB CSS per theme and writing direction.

6,769 rules
9,252 selectors
16.7k declarations
3,370 unique declarations
44 media queries
36 unique colors
50 unique background colors
46 unique font sizes
39 unique z-indices

https://t.co/qyl4Bt1i5x


PWA *incrementally generates* ~30 KB CSS that handles all themes and writing directions.

735 rules
740 selectors
757 declarations
730 unique declarations
0 media queries
11 unique colors
32 unique background colors
15 unique font sizes
7 unique z-indices

https://t.co/w7oNG5KUkJ


The legacy site's CSS is what happens when hundreds of people directly write CSS over many years. Specificity wars, redundancy, a house of cards that can't be fixed. The result is extremely inefficient and error-prone styling that punishes users and developers.

The PWA's CSS is generated on-demand by a JS framework that manages styles and outputs "atomic CSS". The framework can enforce strict constraints and perform optimisations, which is why the CSS is so much smaller and safer. Style conflicts and unbounded CSS growth are avoided.