pull down to refresh

Perhaps. I'm waiting to see more projects that do this and incentivize good behavior in decentralized systems with Lightning.
Easy lightning project idea: Paid bittorrent seeding. Lightning node + rtorrent. Serves an API that takes an infohash, and amount of time to seed, and returns an invoice. If the user pays it, the node joins the swarm, downloads the data, and seeds it for some amount of time.
The biggest problem I see with this model is you're trusting the seeder to not take your money. I don't think this is a huge issue, because maybe the seeder can build reputation and earn trust, but I think we can do better. Perhaps you pay the seeder to seed, but they also get paid by leachers.
I've been thinking about this shallowly over the last few weeks. How do you incentivize relays (in a decentralized system like nostr) who might only participate spontaneously and not be able to build reputation. How do you introduce Bitcoin miner like incentives into such a system? That is, doing critical "work" without having to trust them?
Yea, I was looking at a hackathon project for torrenting over lightning and it has a similar trust problem as you described.
Maybe the security issue of reusing a preimage can be made into a feature? 🤔 You can settle an invoice if you know the preimage, right? What if the preimage were a chunk of the data you were interested in?
reply
Can you elaborate on how you think that might work? There might indeed be some hackery with preimages, which is really the only way a layer 3 can hook into Lightning.
reply
There's trade-secret, but I'm not sure how it works.
By paying an invoice, you are essentially buying the preimage, right?
Request hash of the data you want from nodes who signaling they are seeders. They make an invoice using the hash of the file or a chunk of the file. The preimage is revealed when you pay the invoice. Nodes routing the payment would be incentivized to store these preimages, too, if they were revealed to them. (This relates to what I was saying about preimage reuse.)
Searching for seeders with they data you want could work similar to lightning escrow.
reply
deleted by author
This is one reason I'm so concerned about lack of proof of payment in AMP/LL's implementation of static invoices. How do you build a decentralized layer 3 without being able to prove that things happened on layer 2, without "hooks" into layer 2?
Anyway, the best hackery of preimages I've seen has been done by @03bcf114f6 on squeaknode and he ran into some pretty big hurdles.
reply
deleted by author
deleted by author
deleted by author
deleted by author