3 ms·
What I would like, I think, is the ability to specify both the multihash and a place to request the data from. Like, if I’m talking to someone over some chat s
by drdeca 5y ago
What I would like, I think, is the ability to specify both the multihash and a place to request the data from.
Like, if I’m talking to someone over some chat setup which doesn’t have a built in “send this file directly to this person” feature, it would be nice to be able to say, give them a multihash of the file and my external ipv6 address (+ port? I’m not quite sure how routing works), and have them request the file from my computer.
Now, you might say “but how does that help with the situation where a bunch of people in a room want the same file from a distant location?”.
And, maybe it doesn’t as much? But I think if e.g. people on a local network had theirs try first if the local network already had it, and then check the given external address, that that could work?
- zozbot234 5y agoIf you have a hash of the underlying resource (note that this is different from how IPFS works) then http[s]://<authority>/.well-known/ni/sha-256/<base64-url hash> is supposed to enable this. The ni: URI scheme also allows for an authority field, which is used as a hint on how to locate the resource.
- drdeca 5y agoThat does sound very much like what I want! I’m somewhat surprised that I hadn’t heard of the ni scheme before tonight. Is there some nice software (can be cmd only, but ideally multi-platform) to do that where both parties are on separate residential connections, and where the receiving party side software automatically checks that the received data matches the hash? Because if so, that seems to serve exactly the purpose I’m thinking of! Thank you for the direction
- andrecarini 5y agoYou have just invented torrents! > give them a multihash magnet URIs > place to request data from trackers > try local network first Already baked in!
- drdeca 5y agoJust learned that apparently BitTorrent 2 supports multihash in magnet URI , including the merkle tree thing, so yeah that does sound like, exactly what I’m looking for? So, sounds like I ought to learn to use bit torrent.