Blockchain Basics & Consensus

Byzantine Generals Problem

The Problem: Two generals are on the opposite side of a city. They have to launch their attack at the same time. Otherwise they lose. There is no other way of communication but to send a messenger. However, the messenger could be caught by the enemy and replaced by a fake messenger. So how can the generals be sure the information they received from the messenger is correct?

Solutions to the Byzantine Generals Problem

Proof of Work (PoW)

PoW has the following characteristics to make it Byzantine fault tolerant

In bitcoin, the work is to find the nounce that results in a hash with a targeted number of leading zeros. The current target is 19 zeroes. The genesis block mined on January 3, 2009 has 10 leading zeroes, even though Satoshi required only 8 leading zeroes.

Economic Incentive System

Network