The code to compute a versioned hash was duplicated a couple times, and also had a small issue: if we ever change params.BlobTxHashVersion, it will most likely also cause changes to the actual hash computation. So it's a bit useless to have this constant in params. |
||
|---|---|---|
| .. | ||
| blake2b | ||
| bls12381 | ||
| bn256 | ||
| ecies | ||
| kzg4844 | ||
| secp256k1 | ||
| signify | ||
| crypto_test.go | ||
| crypto.go | ||
| signature_cgo.go | ||
| signature_nocgo.go | ||
| signature_test.go | ||