Skip to content

Blockchain command line program. Processes perform work and compete to solve unverified blocks of data.

Notifications You must be signed in to change notification settings

AR-X4/Blockchain

Repository files navigation

Blockchain

Windows command line program. Built with Java version 13.0.2.

Three processes perform work and compete to solve unverified blocks of data. Once an unverified block is solved, the newly verified block is converted to a signed SHA256 JSON string, added to the blockchain, and multicast to all other processes.

Need to download gson-2.8.2.jar into your classpath / compiling directory.

To compile:

javac -cp "gson-2.8.2.jar" Blockchain.java Or run compileBlockchain.bat

To Run:

Run runBlockchainMaster.bat

The processes verify 12 unverified blocks of sample data. Enter 'C' to print the number of blocks verified by each process. Enter 'L' to print the entire blockchain.

About

Blockchain command line program. Processes perform work and compete to solve unverified blocks of data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published