earthstar-project / willow-utils

TypeScript typings and utilities for the Willow protocol.
GNU Lesser General Public License v3.0
9 stars 0 forks source link

Area in Area encoding seems to be implemented completely differently from what is specified #2

Open sgwilym opened 1 month ago

sgwilym commented 1 month ago

https://willowprotocol.org/specs/encodings/index.html#enc_area_in_area

Area in area encoding ends with a concatenation of subspace ID, path, start diff and end diff, but this implementation has them ordered as start diff, end diff, path and subspace?

@AljoschaMeyer do you remember this encoding changing like this at any point? Am I losing my marbles?!

AljoschaMeyer commented 1 month ago

@AljoschaMeyer do you remember this encoding changing like this at any point?

Nope, I don't remember.

Am I losing my marbles?!

Up for debate.