This project implements a basic blockchain in C++ with a Proof of Work system.
- Blocks containing index, data, previous hash, timestamp, and nonce.
- SHA256 hash calculation based on block contents.
- Mining blocks with adjustable difficulty (number of leading zeros).
- Chain validation to ensure integrity.
- Compile the project:
c++ main.cpp -o blockchain -lssl -lcrypto -Wno-deprecated-declarations