-
Notifications
You must be signed in to change notification settings - Fork 0
In ScroogeCoin, the central authority Scrooge receives transactions from users. In this project we implemented the logic used by Scrooge to process transactions and produce the ledger. Scrooge organizes transactions into time periods or blocks. In each block, Scrooge will receive a list of transactions, validate the transactions he receives, and…
ankitakulkarnigit/ScroogeCoin
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Description: In ScroogeCoin, the central authority Scrooge receives transactions from users. In this project we implemented the logic used by Scrooge to process transactions and produce the ledger. Scrooge organizes transactions into time periods or blocks. In each block, Scrooge will receive a list of transactions, validate the transactions he receives, and publish a list of validated transactions. Instructions: Paste your code i.e. TxHandler.java and MaxFeeTxHandler.java in this directory and run using the following set of commands 1) Testing TxHandler.java: Enter the following commands in your terminal from the current working directory. $javac -cp scroogeCoinGrader.jar;rsa.jar;algs4.jar;. TestTxHandler.java $java -cp scroogeCoinGrader.jar;rsa.jar;algs4.jar;. TestTxHandler 2) Testing MaxFeeTxHandler.java: Enter the following commands in your terminal from the current working directory. $javac -cp scroogeCoinGrader.jar;rsa.jar;algs4.jar;. TestMaxFeeTxHandler.java $java -cp scroogeCoinGrader.jar;rsa.jar;algs4.jar;. TestMaxFeeTxHandler Note: If you are using IDE like eclipse, just add jar files to your build path and create a folder for all text files within the working directory of your code. Replace ; with : when working on MacOS Jar Files: 1) rsa.jar: Contains classes for using RSAKeys 2) algs4.jar: Contains some useful classes like defining priority queues, stacks, etc. 3) scroogeCoinGrader.java: Contains classes used for grading the submitted files.
About
In ScroogeCoin, the central authority Scrooge receives transactions from users. In this project we implemented the logic used by Scrooge to process transactions and produce the ledger. Scrooge organizes transactions into time periods or blocks. In each block, Scrooge will receive a list of transactions, validate the transactions he receives, and…
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published