Elichai Turkel 1743dc694a
Stop using big.Int to compare hashes (#912)
* Add a benchmark for Hash.Cmp()

* Compare hashes directly without going through big.Int

* Add a more thorough test for Hash.Cmp()
2020-09-10 17:32:45 +03:00
..
2020-01-02 16:57:43 +02:00

daghash

ISC License GoDoc

daghash provides a generic hash type and associated functions that allows the specific hash algorithm to be abstracted.