kappa-db / kappa-core

Minimal peer-to-peer database, based on kappa architecture.
254 stars 22 forks source link

Enabled external multifeed to be provided through opts #2

Closed telamon closed 5 years ago

telamon commented 5 years ago

A small patch that enables kappa-core to use an external multifeed if provided.

I patched it because in my case I'm using a custom hypercore factory, and some experimental middleware, so it made more sense to expose kappa-core's multifeed as an option compared to monkey-patching during initialization. https://github.com/telamon/hypervault/blob/master/index.js#L73

hackergrrl commented 5 years ago

Nice, this is great! Like @ralphtheninja said, mentioning opts.multifeed in the README would be really helpful. :tada:

telamon commented 5 years ago

Sorry for the delay, here's an update.

hackergrrl commented 5 years ago

Awesome, thank you for this! :tada:

hackergrrl commented 5 years ago

2.5.0