EspressoSystems / espresso-sequencer

86 stars 56 forks source link

Changes to namespace table binary format #1604

Open ggutoski opened 3 weeks ago

ggutoski commented 3 weeks ago

See Proposal: changes to namespace table binary format.

Summary excerpted from the above doc:

  1. Namespace ID byte length should match NamespaceId serialized byte length--see #1574
  2. Remove table header. (Number of entries is an implicit function of table byte length.) Also remove code obsoleted by this change. All such code can be found by searching for a code comment containing the URL of this issue: https://github.com/EspressoSystems/espresso-sequencer/issues/1604.
  3. An offset denotes a start-index, not an end-index. (More intuitive, no significant impact.)
  4. Remove the first offset. (It's implicitly zero.)