Live-sync authorized file roots
This commit is contained in:
parent
1caaedda90
commit
bab13cc0a1
5 changed files with 128 additions and 7 deletions
|
|
@ -177,6 +177,9 @@ Before probing individual modules, the daemon asks the peer for an authorized
|
|||
sync-status summary over Iroh. The peer only returns stream watermarks for
|
||||
resources where the caller already has the matching capability, letting the
|
||||
local daemon skip unchanged or unauthorized streams.
|
||||
File roots advertise `cas-tree:<name>` watermarks when the caller has
|
||||
`cas.fetch`; background live-sync imports updated tree metadata and CAS tree
|
||||
bytes into peer-qualified remote roots without writing files.
|
||||
Named KV stores participate in the same live-sync loop once they exist locally:
|
||||
manual `geth kv sync <node-id> <name>` and background ticks require `kv.read`
|
||||
on the remote `resource:kv:<name>` and import only remote entries that are not
|
||||
|
|
|
|||
Loading…
Reference in a new issue