Re: [Lightning-dev] Pizza for (lightning) bitcoins?

2018-02-25 Thread ZmnSCPxj via Lightning-dev
Good morning Robert, Since you want a delivery time within 3 blocks or it is free, the last hop has to be to your node from the pizza provider, meaning a direct channel between you. And if you already have a channel between you, you probably will want to use that channel. However in principle

Re: [Lightning-dev] Pizza for (lightning) bitcoins?

2018-02-25 Thread Robert Olsson
Thank you ZmnSCPxj `all time is measured in terms of blocks; "minutes" is just a shared human delusion` goes into by book of quotes Before I explain this pizza ordering procedure to my grandmum, I must get this straight: do you mean this approach will *not* work on multihop and AMP routes, or we

Re: [Lightning-dev] Pizza for (lightning) bitcoins?

2018-02-25 Thread ZmnSCPxj via Lightning-dev
Good morning Robert, Assuming you have a direct channel with the pizza provider, build a route from you to pizza provider to you. You route the pizza price + 546 satoshi (the minimum for a nondust output) to the pizza provider, and the hop from the pizza provider to you is the 546 satoshi (so

Re: [Lightning-dev] Pizza for (lightning) bitcoins?

2018-02-25 Thread Cezary Dziemian
That is great! I even wrote an article about this (in polish) http://lightningnetwork.pl/2018/02/25/oplacenie-pizzy-przez-ln/ Assume that delivery driver is honest and reliable we could call it atomic swap I think. You exchanged bitcoins for preimage and preimage for pizza. Great! The only thing

Re: [Lightning-dev] Pizza for (lightning) bitcoins?

2018-02-25 Thread Brian Lockhart
“Hear one hear all! Good people, harken and know that on this day the one called Laszlo did buyeth the first Bitcoin Lightning Pizzas, bringing us into this new era of glory and cheesy goodness. And it was good.” > On Feb 24, 2018, at 5:29 PM, Laszlo Hanyecz wrote: > > I wanted to try out a re

Re: [Lightning-dev] Pizza for (lightning) bitcoins?

2018-02-25 Thread Robert Olsson
First of all, Laszlo, that was awesome! Instead of the part where you proved you had opened a channel, it would be awesome to add some escrow-functionality. Such as you get the invoice, and then you have a function to *almost* pay it, to verify it works thru the network with AMP and all. At that s

[Lightning-dev] Pizza for (lightning) bitcoins?

2018-02-24 Thread Laszlo Hanyecz
I wanted to try out a real trade using lightning network. I don't know of any pizza places near me that accept lightning bitcoin yet but a friend from London agreed to do it and he sub contracted out the pizza delivery to a local shop. In short, I paid bitcoin using the lightning network and he