You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Remove endpoint from protocol constructor. (#181)
## Description
Remove endpoint from protocol constructor.
It was only needed for creating tickets, which is used almost nowhere.
To serve a protocol you just need the store, nothing else.
If you want to create a BlobTicket, just do it manually.
## Breaking Changes
BlobsProtocol::new now takes just store and events
BlobsProtocol::endpoint is removed
BlobsProtocol::ticket is removed
api::TempTag::inner is removed
api::TempTag::hash returns a value instead of a reference
api::TempTag::format returns a value instead of a reference
api::TempTag::hash_and_format returns a value instead of a reference
## Notes & open questions
None
## Change checklist
- [ ] Self-review.
- [ ] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [ ] Tests if relevant.
- [ ] All breaking changes documented.
0 commit comments