Author: Rahul Singh
This is basics of how to build a blockchain from scratch. Focusing on the details of a concrete example will provide a deeper understanding of the strengths and limitations of blockchains.
Transactions, Validation, and updating system state At its core, a blockchain is a distributed database with a set of rules for verifying new additions to the database. We’ll start off by tracking the accounts of two imaginary people: Alice and Bob, who will trade virtual money with each other.
We’ll need to create a transaction pool of incoming transactions, validate those transactions, and make them into a block.
