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
We don't really need to ever fetch a header or block by its hash. We use it once (to fetch genesis hash). We could just GetByHeight(1) and compare the hashes to make sure they match.
We could do the same in case of TrustedHash passed (we can also ask for height from the user) and compare the hashes.
Wouldn't this also eliminate the need for an index hash-> height?
The text was updated successfully, but these errors were encountered:
We don't really need to ever fetch a header or block by its hash. We use it once (to fetch genesis hash). We could just
GetByHeight(1)
and compare the hashes to make sure they match.We could do the same in case of TrustedHash passed (we can also ask for height from the user) and compare the hashes.
Wouldn't this also eliminate the need for an index hash-> height?
The text was updated successfully, but these errors were encountered: