SIGBlockchain / project_aurum

SIG Blockchain blockchain project in Go
https://acm.cs.uic.edu/sigblockchain
MIT License
7 stars 0 forks source link

Block Validation #344

Closed HarryL5004 closed 5 years ago

HarryL5004 commented 5 years ago

Package context: internal/block Branch: Block_Validation

For this issue, add code to the validate function stub in internal/block. Validate should return false if:

A test for this function is provided in the test file of package block.

Make sure to leverage the existing functions in internal/hashing and/or internal/block.

kastolars commented 5 years ago

@HarryL5004 wouldn't it make more sense to put this in the validation/ package?