Skip to content

Support multiple tree hashes.#113

Open
GunnarFarneback wants to merge 1 commit intoJuliaRegistries:masterfrom
GunnarFarneback:multiple_hashes
Open

Support multiple tree hashes.#113
GunnarFarneback wants to merge 1 commit intoJuliaRegistries:masterfrom
GunnarFarneback:multiple_hashes

Conversation

@GunnarFarneback
Copy link
Copy Markdown
Collaborator

Non-breaking alternative to #112.

Represent tree_hash as a named tuple, e.g. (sha1 = "...", sha256 = "...") and interpret a single string x as (; sha1 = x). This generalizes to future new hash functions or removal of SHA1.

find_registered_version is complemented with find_registered_version_hashes to obtain all registered tree hashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant