4 Commits

Author SHA1 Message Date
Hoyt Koepke
3096b3f9c3 Test suite for directory logging functionality (#536) 2025-10-24 10:06:26 -07:00
Assaf Vayner
0958579c40 spec draft (#422)
fix XET-681

XET protocol specification initial draft

- documentation of core procedures required for file uploads and
downloads
- format specifications for shards and xorbs
2025-09-29 10:25:25 -07:00
Hoyt Koepke
967e6edc06 Shard format update (#71)
This PR switches the order of the sections in the shard format so all the lookup tables are at the end. This allows us to only read the first part of the shard server-side to get all the information needed, without needing the footer to know where the sections are.

To make this more robust, I also introduced explicit functions to call to get the byte offset ranges of each of the sections instead of having numerous places that depend on the end of a section being the start of the next. This makes the code more readable and robust.

Because this is a big change, it also updates the magic tag for the format to be b'HFMetadataBeta' plus some magic numbers. This will cause failures to happen earlier rather than later.
2024-10-31 10:55:04 -07:00
Assaf Vayner
3ce2b975a0 clean utils deps (#60)
* keep vscode settings.json

* clean deps from utils
2024-10-24 10:41:40 -07:00