A better Rust ATProto crate

Provide a mechanism to attach metadata to blocks in jacquard-repo? #14

open
opened by thoth.ptnote.dev

The motivating usecase here is that PDSes need to be be able to store the tid of the rev when a given block was created in order to be able to provide diffs on request (com.atproto.sync.getRepo with the since parameter).

This clearly needs to be optional, since CAR files have no way of storing this sort of metadata. The best solution I could think of is some kind of AdditionalData associated type on BlockStore that could be passed into get/put functions (and then some kind of interface to attach metatadata to blocks on the MST side?), but if there's better/more ergonomic solution I'd certainly take it..

oh hmmm. interesting. yeah i'm not sure if that quite works, but worth exploring

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:yjgg5pqittc74ld5b2f5gms4/sh.tangled.repo.issue/3m3ztktwins22