Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

availability erasure-coding: limit proof size #157

Closed
rphmeier opened this issue Feb 24, 2019 · 1 comment
Closed

availability erasure-coding: limit proof size #157

rphmeier opened this issue Feb 24, 2019 · 1 comment
Labels
I9-footprint An enhancement to provide a smaller (system load, memory, network or disk) footprint.

Comments

@rphmeier
Copy link
Contributor

rphmeier commented Feb 24, 2019

#56 (comment)

In the erasure-coding crate, we verify branch proofs based on nodes send over the network. But we are too lenient in that we will accept more data than is necessary (non-compact proof).

We can set an upper bound on the depth of the trie based on the number of validators and an upper bound on the size of nodes as well. More details in the linked comment.

@rphmeier rphmeier added the I9-footprint An enhancement to provide a smaller (system load, memory, network or disk) footprint. label Feb 24, 2019
@rphmeier rphmeier changed the title availability: limit proof size availability erasure-coding: limit proof size Feb 24, 2019
tomusdrw added a commit that referenced this issue Mar 26, 2021
* use deposit_creating in DepositInto

* Update modules/currency-exchange/src/lib.rs

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

* Update primitives/currency-exchange/src/lib.rs

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
@rphmeier
Copy link
Contributor Author

done

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
I9-footprint An enhancement to provide a smaller (system load, memory, network or disk) footprint.
Projects
None yet
Development

No branches or pull requests

1 participant