From f64dd53b6ccade0bbd61aebf662d6b3f02224249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Zwoli=C5=84ski?= Date: Fri, 23 Aug 2024 18:43:42 +0200 Subject: [PATCH] docs(cip-19): fix the reed solomon algorithm used for rows (#198) * docs(cip-19): fix the reed solomon algorithm used for rows * apply Wondertan's suggestions Co-authored-by: Hlib Kanunnikov --------- Co-authored-by: Hlib Kanunnikov --- cips/cip-19.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cips/cip-19.md b/cips/cip-19.md index 0030c95..d6b84fa 100644 --- a/cips/cip-19.md +++ b/cips/cip-19.md @@ -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**.