Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parametrise RaptorQ config #72

Closed
herr-seppia opened this issue Dec 16, 2021 · 0 comments · Fixed by #73
Closed

Parametrise RaptorQ config #72

herr-seppia opened this issue Dec 16, 2021 · 0 comments · Fixed by #73
Assignees
Labels
mark:testnet team:WebTech End to End UX / UI and blockchain

Comments

@herr-seppia
Copy link
Member

Describe what you want implemented
Initialisation config used by RaptorQ should be parametrised inside the peer builder

const DEFAULT_REPAIR_PACKETS_PER_BLOCK: u32 = 15;
const MAX_CHUNK_SIZE: u16 = 1024;
const CACHE_DEFAULT_TTL_SECS: u64 = 60;
const CACHE_PRUNED_EVERY_SECS: u64 = 60 * 5;

Describe "Why" this is needed
This will allow to tune the library without recompile it

Describe alternatives you've considered
N/A

Additional context
N/A

@herr-seppia herr-seppia added the team:WebTech End to End UX / UI and blockchain label Dec 16, 2021
herr-seppia added a commit that referenced this issue Dec 17, 2021
Start to implement the scaffold:
- Split `Encoder` in two different traits (`Encoder`/`Decoder`)
- Add `Configurable` trait

Resolves #72
@herr-seppia herr-seppia self-assigned this Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mark:testnet team:WebTech End to End UX / UI and blockchain
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants