Browse Source
There is no reason why the hash function for identifying a block and the hash function used to instantiate Hashcash must be the same; it's only a coincidence that Bitcoin happens to use the same hash for both use cases. Reflecting this fact by adding this abstraction makes the code more flexible. Co-authored-by: Jeremy Rand <jeremyrand@danwin1210.de>master
1 changed files with 7 additions and 3 deletions
Loading…
Reference in new issue