-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert "want hints" into want bitfields #905
Comments
EvanHahn
added a commit
that referenced
this issue
Nov 20, 2024
*You may wish to [review this squashed commit as separate commits][0].* When you receive a blob filter from another peer, this updates their sync states. For example, if you receive a blob filter that says "I only want photo thumbnails", that peer's "wants" bitfield will be reduced. Closes [#682] and [#905]. [0]: https://github.com/digidem/comapeo-core/pull/956/commits [#682]: #682 [#905]: #905
Done in 3d1c94b. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A "want hint" is a list of filename filters for the blob hyperdrive(s), that is sent between peers.
A peer receiving a "want hint" should use the hyperdrive blobIndex to convert that want hint into a bitfield for the hyperdrive blob core.
This bitfield(s) can then be passed to the sync API.
The text was updated successfully, but these errors were encountered: