STATUSEducational prototype with a known non-terminating mining check.
FOCUSLearning and foundations
DIAGRAM SCOPEWorkflow overview
THE PROBLEM
What it sets out to solve.
A small inspectable implementation helps explain how block references, proof-of-work checks, and chain validation relate.
THE APPROACH
How it comes together.
One Python file defines a Blockchain class and Flask GET routes. A genesis block initializes an in-memory list; mining is intended to find a proof and append a hash-linked block, while a chain route returns the stored state.
UNDER THE HOOD
Follow the workflow.
Trace the components. Select a node for its role in the system.
Intended block workflow with a known mining defect5 COMPONENTS
INTERACTIVE 3DBlockchain Development
PythonFlaskhashlib
Blockchain Development / workflow
Move to tilt · Drag to rotate · Arrow keysDrag to rotate · Tap a component5 components · 5 connections
2D diagram
Trace connections 5 relationships
Flask GET request→In-memory Blockchaininspect chain
In-memory Blockchain→JSON response/get_chain
Flask GET request→Proof-of-work loop/mine_block
Proof-of-work loop→Hash-linked block creationintended; currently blocked
Hash-linked block creation→In-memory Blockchain
+
Select a component to see how it fits into the system.
CAPABILITIES
What’s inside.
01
Genesis block and in-memory chain model
02
SHA-256 block hashing and previous-hash references
03
Proof-of-work and chain-validation routines
04
GET /get_chain inspection and GET /mine_block route