p2p: incremental sync with digests, inventory and fetch
Peers compare a short digest of revocations, listings and messages on connect and transfer only what differs. Peers without digests are synced the old way. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
@@ -117,6 +117,7 @@ type Node struct {
|
||||
boot *bootstrapper
|
||||
dht *dht.IpfsDHT
|
||||
syncing map[peer.ID]bool
|
||||
oldSync bool // tests: answer like a node from before digests existed
|
||||
revTopic *pubsub.Topic
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user