You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, the caller could pass in a hash function to use (for everything), or at least there would be a central place s.t. the hash can easily be changed (like with tendermint's tmhash).
The text was updated successfully, but these errors were encountered:
It would be cool if iavl would allow the user to choose the underlying hash function used.
While several hash functions are benchmarked internally,
iavl/benchmarks/hash_test.go
Lines 25 to 30 in 4f7cdd7
only sha256 is really used and hardcoded in some places, e.g. see:
iavl/proof.go
Lines 56 to 57 in 5c3826b
or
iavl/node.go
Lines 200 to 205 in 7cab359
iavl/mutable_tree.go
Line 470 in a7d2e7b
Ideally, the caller could pass in a hash function to use (for everything), or at least there would be a central place s.t. the hash can easily be changed (like with tendermint's tmhash).
The text was updated successfully, but these errors were encountered: