git ssb

1+

punkmonk.termux / mvd



forked from ev / mvd

Tree: 90dfad001a91b412a745a9cad0dccf4a3ef49dc2

Files: 90dfad001a91b412a745a9cad0dccf4a3ef49dc2 / plugins / replicate.md

460 bytesRaw

ssb-server replicate plugin

Sync feeds between peers.

changes: source

Listen to replicate events.

changes
changes()

Emits events of the following form:

{ type: 'progress', peerid:, total:, progress:, feeds:, sync: }

upto: source

returns {} of feeds to replicate, with sequences

request: sync

request a given feed, either as request(id) to replicate that feed, or request(id, false) to disable replication.

Built with git-ssb-web