Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
34743c1
feat(space): default new spaces to v1 header
cheggaaa Jul 1, 2026
2c1a8b8
feat(space): add fileprotoVersion to space header
cheggaaa Jul 1, 2026
0a7a691
feat(nodeconf): add NodeTypeFileV2 + RF=2 chash container (SYN-16)
cheggaaa Jul 1, 2026
748dc29
feat(nodeconf): plumb NodeTypeFileV2 through the coordinator config p…
cheggaaa Jul 1, 2026
2debdd4
feat(fileproto): add v2 broker protocol (SYN-17)
cheggaaa Jul 1, 2026
d1368fa
docs(rpcerr): reserve error-code offsets across repos
cheggaaa Jul 1, 2026
93a0042
feat(sync): selective-sync hooks — tree probe requests + optional Pul…
cheggaaa Jul 1, 2026
29a86c8
Merge pull request #717 from anyproto/cheggaaa/syn-18-selective-sync
cheggaaa Jul 2, 2026
b3d23a5
feat(fileprotov2): add NotResponsible error codes for chash routing (…
cheggaaa Jul 2, 2026
70c6397
feat(fileprotov2): add node-level Info RPC (SYN-31)
cheggaaa Jul 2, 2026
fd5ee1f
Merge pull request #718 from anyproto/cheggaaa/filev2-not-responsible
cheggaaa Jul 2, 2026
b9bece9
test(inboxclient): implement FileV2 methods on mockConf
cheggaaa Jul 3, 2026
1693009
feat(secureservice): bump ProtoVersion to 13 for files v2
cheggaaa Jul 3, 2026
7979c13
feat(secureservice): set compatibleVersions to [12,13,14] for v0.13
cheggaaa Jul 3, 2026
2cdccb3
feat(nodeconf): fileNetworkId — the fileV2 fleet's receipt-signing id…
cheggaaa Jul 3, 2026
76e0129
Merge main into files-v2
cheggaaa Jul 3, 2026
71a5fdb
feat(filep2p): peer-to-peer file transfer protocol (SYN-48)
cheggaaa Jul 4, 2026
49876c9
docs(filep2p): claim rpc error offset 900 in the registry
cheggaaa Jul 4, 2026
69077c0
Merge pull request #719 from anyproto/cheggaaa/syn-48-p2p-files
cheggaaa Jul 4, 2026
e8413cc
feat(coordinatorproto): FileLimitsGet + FileUsageReport for files-v2 …
cheggaaa Jul 4, 2026
07c2322
feat(fileprotov2): account-pool fields in SpaceQuota (SYN-19)
cheggaaa Jul 4, 2026
ea3c4c1
Merge pull request #720 from anyproto/cheggaaa/syn-19-file-limits
cheggaaa Jul 6, 2026
b98dfbe
feat(clientspaceproto): SpaceExchangeV2 token-based LAN space discovery
cheggaaa Jul 6, 2026
61532ca
Merge pull request #722 from anyproto/cheggaaa/space-exchange-v2
cheggaaa Jul 6, 2026
73c855e
Merge branch 'main' of github.com:anyproto/any-sync into files-v2
cheggaaa Jul 10, 2026
954fe54
refactor(headsync): remove old diffsync (DiffType_V2) support
cheggaaa Jul 10, 2026
db67c16
fix(headsync): address diffsync-V2 removal review findings
cheggaaa Jul 10, 2026
4c9c298
Merge branch 'files-v2' into remove-diffsync-v2
cheggaaa Jul 10, 2026
d566219
Merge pull request #728 from anyproto/remove-diffsync-v2
cheggaaa Jul 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ proto:
$(call generate_drpc,$(PKGMAP),commonspace/spacesyncproto/protos)
$(call generate_drpc,$(PKGMAP),commonspace/clientspaceproto/protos)
$(call generate_drpc,$(PKGMAP),commonfile/fileproto/protos)
$(call generate_drpc,,commonfile/fileproto/fileprotov2/protos)
$(call generate_drpc,,commonfile/fileproto/filep2p/protos)
$(call generate_drpc,$(PKGMAP),net/streampool/testservice/protos)
$(call generate_drpc,$(PKGMAP),net/endtoendtest/testpeer/testproto/protos)

Expand Down
2 changes: 1 addition & 1 deletion app/ldiff/diff.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Package ldiff provides a container of elements with fixed id and changeable content.
// Diff can calculate the difference with another diff container (you can make it remote) with minimum hops and traffic.
//
//go:generate mockgen -destination mock_ldiff/mock_ldiff.go github.com/anyproto/any-sync/app/ldiff Diff,Remote,DiffContainer
//go:generate mockgen -destination mock_ldiff/mock_ldiff.go github.com/anyproto/any-sync/app/ldiff Diff,Remote
package ldiff

import (
Expand Down
72 changes: 0 additions & 72 deletions app/ldiff/diffcontainer.go

This file was deleted.

25 changes: 25 additions & 0 deletions app/ldiff/hasher.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package ldiff

import (
"encoding/hex"

"github.com/zeebo/blake3"
)

type Hasher struct {
hasher *blake3.Hasher
}

func (h *Hasher) HashId(id string) string {
h.hasher.Reset()
h.hasher.WriteString(id)
return hex.EncodeToString(h.hasher.Sum(nil))
}

func NewHasher() *Hasher {
return &Hasher{hashersPool.Get().(*blake3.Hasher)}
}

func ReleaseHasher(hasher *Hasher) {
hashersPool.Put(hasher.hasher)
}
86 changes: 2 additions & 84 deletions app/ldiff/mock_ldiff/mock_ldiff.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading