Closed Frando closed 4 years ago
@Frando ooph; I don't remember how to use put correctly. I do remember it was really tricky to get it to work, so wouldn't be surprised if there was a bug present.
Great finds @khodzha. Closing this in favor of #110 and #111.
I was looking into coupling hypercore-protocol-rs to hypercore today a bit.
However, I was unable to put any data into a cloned hypercore. It seems the put method either has a bug or I did not understand how to use it correctly.
This PR has a failing test. I added some comments on where I arrived at. @yoshuawuyts is my usage of the
put
method correct? Do you have some ideas why the results are wrong, or is this just unchartered territory and I'd have to investigate myself?