Update erasue-coding.md

This commit is contained in:
Jimmy Debe 2024-09-24 22:36:47 -04:00 committed by GitHub
parent ea804e84d1
commit 12a4f8c434
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,8 +34,28 @@ The Codex client performerasure coding locally before provding dataset to the ma
Before data is provided to storage providers on the marketplace,
clients must do the following:
1.
1. Create data chunks from the data
2. Encode each chunk with Reed Solomon erasue coding, more explained below
3. Derive an CID from encoded chunks share on the marketplace
4. Error correction by validator nodes once storage contract begins
### Create Data chunks
After the user has choosen the prefered data for storage through the marketplace,
the Codex client will divide this data into chunks , e.g.
Including the [manifest](manifest), the data chucks will be encoded based on the following parameters:
```js
struct encodingParms {
ecK: int
ecM: int
rounded: int
steps: int
blocksCount: int
strategy:
}
```
## Security Considerations