The first couple commits of this PR split the Field trait into two -- a general Field trait which has the algebraic functionality of a field, and a sealed Bech32Field trait which has the functionality that is specific to this crate.
The rest add new functionality to the traits which describe extra properties of our checksums needed for error correction.
The next PRs will:
Introduce a FieldVec type to back Polynomial to make it work in a no-alloc setting (at least for small checksums, for a configurable notion of "small")
The first couple commits of this PR split the
Field
trait into two -- a generalField
trait which has the algebraic functionality of a field, and a sealedBech32Field
trait which has the functionality that is specific to this crate.The rest add new functionality to the traits which describe extra properties of our checksums needed for error correction.
The next PRs will:
FieldVec
type to backPolynomial
to make it work in a no-alloc setting (at least for small checksums, for a configurable notion of "small")