airgap-it / tezos-rust-sdk

MIT License
20 stars 10 forks source link

feat: Added Hash derive to encoded structs #30

Closed Wicpar closed 1 year ago

Wicpar commented 1 year ago

Hash is necessary to map Blocks by their hash in a hashmap, yet their hashes are not Hash despite being able to implement it

maybe also add ord derices as they have their uses too

Wicpar commented 1 year ago

You can refuse the request if you wish, i am using my fork so there's no issue. However i will not use the string type as hashmap key as it will hurt code readability and cleanliness.