Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 337 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 337 Bytes

Basic Blockchain Implementation

Implementation of the basic operation of a blockchain

  • initialize a new blockchian
  • mine the genesis block
  • mine following blocks

Running

compile command:

gcc -lstdc++ -o main -std=c++11 -stdlib=libc++ -x c++ main.cpp Block.cpp Blockchain.cpp sha256.cpp

run command:

./main