Skip to content

add tests for replicating with hypercore and with multifeed #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ameba23
Copy link

@ameba23 ameba23 commented Feb 10, 2020

i dont actually want to merge this, at least for now, but here are some additional tests, one of which fails, to demonstrate a difficulty with using this.

to replicate after authenticating we can pass the hypercore-protocol stream into the replication method with opts.stream = protocolStream. This works great with an individual hypercore, but multifeed's replicate method doesnt take a stream as an option.

I am considering making a PR to multifeed to allow this, and maybe i would use these tests to help explain why it would be useful. But maybe there is actually an easier way to go about this. @Frando

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant