Pipe 2 streams together on different machines
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
@DougAnderson444 This example could be helpful: https://github.com/mafintosh/hypertrie/blob/master/test/update.js#L70
@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
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