Expose proof generation and verifying api.#4646
Expose proof generation and verifying api.#4646bkchr merged 9 commits intoparitytech:masterfrom montekki:fs-triedb-proofs
Conversation
NikVolf
left a comment
There was a problem hiding this comment.
There should be PR in polkadot ready so that always identical version of trie* dependencies are used
|
Not sure if it should be part of this PR, but there is also : https://github.com/paritytech/trie/blob/d60e70bdd8c1e62af00459f9301c5002e69aaa21/trie-db/src/lib.rs#L105 that propose a way to have smaller proofs. |
This reverts commit 4c3f72f.
|
Benchmarks need fixing. |
|
@bkchr yes, that is in process |
|
|
||
| /// Create a proof for a subset of keys in a trie. | ||
| /// | ||
| /// The `keys` may contain any set of keys regardless of each one of them is included |
There was a problem hiding this comment.
nit: "included into" should be "included in" - here and in other docs.
rphmeier
left a comment
There was a problem hiding this comment.
LGTM other than docs nit!
Exposes proof generation and verification from
trie-db.Bumps
trie-dbandmemory-dbdependencies.