Closed HarryL5004 closed 5 years ago
Package context: internal/block Branch: Block_Validation
internal/block
Block_Validation
For this issue, add code to the validate function stub in internal/block. Validate should return false if:
validate
Validate
A test for this function is provided in the test file of package block.
block
Make sure to leverage the existing functions in internal/hashing and/or internal/block.
internal/hashing
@HarryL5004 wouldn't it make more sense to put this in the validation/ package?
validation/
Package context:
internal/block
Branch:Block_Validation
For this issue, add code to the
validate
function stub ininternal/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/orinternal/block
.