Skip to content
This repository was archived by the owner on Aug 2, 2023. It is now read-only.

Split out VerifiableMap from SparseMerkleTree.#1061

Merged
AlCutter merged 1 commit intogoogle:masterfrom
AlCutter:split_smt_and_verifiable_map
Nov 23, 2015
Merged

Split out VerifiableMap from SparseMerkleTree.#1061
AlCutter merged 1 commit intogoogle:masterfrom
AlCutter:split_smt_and_verifiable_map

Conversation

@AlCutter
Copy link
Member

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hehe, ok - made explicit.

@pphaneuf
Copy link
Contributor

Done with the review, just make the hash explicit (instead of specializing std::hash), and we'll be on our way!

@AlCutter AlCutter force-pushed the split_smt_and_verifiable_map branch 2 times, most recently from a656dbf to c905a6f Compare November 20, 2015 16:24
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could ding the const.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is because you get back a const T* from the std::array::data(), so I'd need to actively const_cast it away.

@pphaneuf
Copy link
Contributor

One nit, but LGTM otherwise.

@pphaneuf pphaneuf added the LGTM label Nov 20, 2015
@AlCutter AlCutter force-pushed the split_smt_and_verifiable_map branch from c905a6f to 93d82b4 Compare November 20, 2015 16:41
@AlCutter AlCutter force-pushed the split_smt_and_verifiable_map branch from 93d82b4 to 89ac279 Compare November 20, 2015 16:41
AlCutter added a commit that referenced this pull request Nov 23, 2015
Split out VerifiableMap from SparseMerkleTree.
@AlCutter AlCutter merged commit 41c785d into google:master Nov 23, 2015
@AlCutter AlCutter deleted the split_smt_and_verifiable_map branch November 23, 2015 10:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants