Skip to content

alojine/blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blockchain

simple blockchain

At the start the program creates:

  • UserPool of 1.000 Users
  • TransactionPool of 10.000
  • Mines all the blocks one by one by making merkel tree and finding difficulty

Terminal commands:

  • --ed To kill terminal
  • --up To print out UserPool
  • --tp To print out TransactionPool
  • --bc To print out Blockchain
  • --sb + BlockHash To print out single block
  • --sb + TransactionID To print out specific transaction