Skip to content

Pipe 2 streams together on different machines #29

Open

Description

@DougAnderson444

Hello,

How does one pipe together 2 tries on 2 different machines? How does the remote machine get the stream reference for the originating machine?

https://github.com/mafintosh/hypertrie#stream--dbreplicateisinitiator-options

Activity

  1. micahscopes commented on Jan 31, 2020

    @micahscopes
    Contributor
  2. makamekm commented on May 23, 2020

    @makamekm

    @DougAnderson444 This example could be helpful: https://github.com/mafintosh/hypertrie/blob/master/test/update.js#L70

    The best real case example would be to use "pump" library

  3. aboynejames commented on Jun 27, 2020

    @aboynejames

    This might help, the basic test linked to above but in two separate files peer1.js and peer2.js https://github.com/aboynejames/learn-hypercore/tree/master/hypertrie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions