Skip to content

Commit

Permalink
docs(cip-19): fix the reed solomon algorithm used for rows (#198)
Browse files Browse the repository at this point in the history
* docs(cip-19): fix the reed solomon algorithm used for rows

* apply Wondertan's suggestions

Co-authored-by: Hlib Kanunnikov <[email protected]>

---------

Co-authored-by: Hlib Kanunnikov <[email protected]>
  • Loading branch information
zvolin and Wondertan authored Aug 23, 2024
1 parent 26f6974 commit f64dd53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cips/cip-19.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,9 @@ The fields with validity rules that form Row containers are:

**SharesHalf**: A variable size [Share](#share) array representing either left or right half of a row. Which half side
is defined by **HalfSide** field. Its length MUST be equal to the number of Column roots in [DAH][dah] divided by two.
The opposite half is computed using Leopard GF16 Reed-Solomon erasure-coding. Afterward, the [NMT][nmt] is built over
both halves and the computed NMT root MUST be equal to the respective Row root in [DAH][dah].
The opposite half is computed using Leopard Reed-Solomon erasure-coding. The Leopard algorithm must operate over 8-bit
Galois Fields for rows of total size less than or equal to 256 shares or 16-bit GF otherwise. Afterward, the [NMT][nmt] is
built over both halves, and the computed NMT root MUST be equal to the respective Row root in [DAH][dah].

**HalfSide**: An enum defining which side of the row **SharesHalf** field contains. It MUST be either **LEFT** or
**RIGHT**.
Expand Down

0 comments on commit f64dd53

Please sign in to comment.