This repository has been archived by the owner on Sep 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: Enable incremental sphere replication (#409)
- Most use of `Cid` where it refers to a sphere has been refactored as `Link<MemoIpld>` - Gateway Fetch API block `Bundle` is replaced with a CAR stream - Peer `LinkRecord` proofs are replicated along with the rest of a given sphere's blocks - `MemoIpld` now records a Lamport timestamp to establish a causal order between related versions of its body content - `MemoIpld` signatures previously referred to a proof by CID, but now inline an invoked UCAN JWT - Traversal logic is moved out of `SphereContext`, and the core of it is defined as part of `Sphere`; additional business logic pertaining to replication is implemented as a trait over `HasSphereContext` - Sync now has a configurable retry behavior to cover edge cases when the gateway sphere changes in the time between a fetch and a push (a condition that results in a recoverable "conflict" error on the client)
- Loading branch information
Showing
77 changed files
with
3,364 additions
and
1,960 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,8 @@ | |
"async-trait": [ | ||
"async_trait" | ||
] | ||
} | ||
}, | ||
"rust-analyzer.cargo.features": [ | ||
"test_kubo" | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.