kappa-db / multifeed

Multi-writer hypercore.
135 stars 27 forks source link

allow replicate() to accept an existing hypercore-protocol instance #47

Closed ghost closed 4 years ago

ghost commented 4 years ago

This patch aligns multifeed's replicate method with hypercore's replicate(), where it's possible to take over replication from an existing hypercore-protocol instance. This way we can support schemes where there is some verification process over extension messages before replication begins.

hackergrrl commented 4 years ago

Delightfully succinct. Published to 5.2.3.

(Of course now realizing this should have been a minor semver, not a patch. Next time..)