git ssb

1+

punkmonk.termux / mvd



forked from ev / mvd

Tree: d2b5693b01842e3376dae3c3cf5c579e03e490c4

Files: d2b5693b01842e3376dae3c3cf5c579e03e490c4 / 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