mirror of
https://github.com/logos-storage/logos-storage-spec.git
synced 2026-01-04 06:23:11 +00:00
Update erasue-coding.md
This commit is contained in:
parent
ea804e84d1
commit
12a4f8c434
@ -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,
|
Before data is provided to storage providers on the marketplace,
|
||||||
clients must do the following:
|
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
|
## Security Considerations
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user