>One problem that I've yet to build a solution for is finding the metadata to use for the lookup phase.
I think BEP 51 followed by BEP 9 is all you need.
I think BEP 51 followed by BEP 9 is all you need.
I think a better solution would be some way for clients to query the DHT for a specific "pieces root", but I don't know if all clients publishing "pieces root" for the torrents they know about would also be a good idea. Some kind of distributed metadata database where clients can query would be ideal.