git ssb

1+

punkmonk.termux / mvd



forked from ev / mvd

Tree: 5285e716749369d47e938077f6d87389eb282ba9

Files: 5285e716749369d47e938077f6d87389eb282ba9 / 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