Skip to content

Ykaros/blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blockchain

Instruction:

To test the program, simply replace txs file that contains all the transactions and run node.py. Or run generate tx.py to create a new txs file.

Task checklist:

  • Authentic transactions that are resistant to theft
  • Open competition amongst nodes to validate transactions
  • Detection of double spending
  • Use of proof-of-work to raise the cost of running attacks against the network
  • Detection of and reaction to forks in the chain
  • Three check: Verify the proof-of-work/Verify the prev hash/Validate the transaction in the block

Notes:

  • The first transaction in the transaction pool is the one in genesis block and genesis block is always valid and automatically added to the blockchain. Thus, it has to be valid in its own way when testing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages