Implement Merkle Search Tree (MST) data structure #19
Labels
No labels
breaking-change
bug
documentation
duplicate
enhancement
good first issue
help wanted
performance
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Grandiras/ATProto.NET#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The AT Protocol spec defines a Merkle Search Tree (MST) data structure as the core of repository storage. ATProto.NET can read CAR files and fetch repos, but lacks a proper MST implementation for creating, mutating, and verifying repository trees locally.
Spec Reference
From the Repository specification:
Required functionality
<collection>/<rkey>path formatMST Node Schema (CBOR)
l(CID, nullable): left subtree linke(array): ordered TreeEntry objectsp(int): prefix length shared with previous entryk(bytes): key suffix after prefix removalv(CID): link to record datat(CID, nullable): right subtree linkWhy this matters