--- Log opened Sun Mar 08 00:00:16 2020 00:00 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 00:00 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 258 seconds] 00:10 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 00:11 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 265 seconds] 00:22 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 00:23 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 255 seconds] 00:32 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 00:33 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 258 seconds] 00:41 -!- snoozingbedbug [~snoozingb@cpe-172-74-29-86.nc.res.rr.com] has quit [Quit: Leaving] 00:48 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 00:48 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 258 seconds] 01:02 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 01:03 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 01:18 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 01:19 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 265 seconds] 01:30 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 01:30 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 258 seconds] 01:42 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 01:43 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 268 seconds] 01:52 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 01:53 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 255 seconds] 03:16 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 03:16 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 268 seconds] 03:26 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 03:26 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 255 seconds] 03:42 -!- marcoagner [~user@bl13-226-166.dsl.telepac.pt] has joined #lightning-dev 03:42 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 03:42 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 03:56 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 03:57 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 256 seconds] 04:08 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 04:08 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 240 seconds] 04:10 -!- marcoagner [~user@bl13-226-166.dsl.telepac.pt] has quit [Ping timeout: 258 seconds] 04:18 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 04:18 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 04:28 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 04:29 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 04:40 -!- diogorsergio [~diogorser@194.35.233.25] has joined #lightning-dev 04:48 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 04:49 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 268 seconds] 04:55 -!- diogorsergio [~diogorser@194.35.233.25] has quit [Quit: leaving] 04:55 -!- diogorsergio [~diogorser@194.35.233.25] has joined #lightning-dev 05:18 -!- diogorsergio [~diogorser@194.35.233.25] has quit [Ping timeout: 255 seconds] 05:18 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 05:19 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 256 seconds] 05:20 -!- diogorsergio [~diogorser@194.35.233.25] has joined #lightning-dev 05:32 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 05:33 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 265 seconds] 05:56 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 05:56 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 05:57 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 258 seconds] 06:10 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 06:10 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 240 seconds] 06:12 -!- kloinka [~quassel@223.177.233.220.static.exetel.com.au] has quit [Read error: Connection reset by peer] 06:13 -!- kloinka [~quassel@223.177.233.220.static.exetel.com.au] has joined #lightning-dev 06:25 -!- riclas [~riclas@77.7.37.188.rev.vodafone.pt] has joined #lightning-dev 06:26 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 06:26 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 255 seconds] 06:32 -!- rdymac [uid31665@gateway/web/irccloud.com/x-ihnzojrnavrkpchn] has joined #lightning-dev 06:40 -!- diogorsergio [~diogorser@194.35.233.25] has quit [Ping timeout: 240 seconds] 06:42 -!- diogorsergio [~diogorser@194.35.233.25] has joined #lightning-dev 06:48 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 06:49 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 06:58 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 06:58 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 256 seconds] 07:08 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 07:09 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 265 seconds] 07:20 -!- mol [~molly@unaffiliated/molly] has quit [Ping timeout: 256 seconds] 07:22 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 07:23 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 258 seconds] 07:34 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 07:34 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 240 seconds] 07:44 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 07:45 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 256 seconds] 07:46 -!- mauz555 [~mauz555@2a01:e0a:56d:9090:3092:7169:2a22:9e8d] has joined #lightning-dev 07:46 -!- diogorsergio [~diogorser@194.35.233.25] has quit [Ping timeout: 265 seconds] 07:54 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 07:55 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 268 seconds] 08:04 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 08:05 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 265 seconds] 08:18 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 08:18 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 240 seconds] 08:36 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 08:37 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 265 seconds] 08:42 -!- mauz555 [~mauz555@2a01:e0a:56d:9090:3092:7169:2a22:9e8d] has quit [] 08:46 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 08:47 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 255 seconds] 09:00 -!- tinova [~tinova@lemoncat.org] has quit [Quit: Ping timeout (120 seconds)] 09:00 -!- tinova [~tinova@lemoncat.org] has joined #lightning-dev 09:00 -!- kloinka [~quassel@223.177.233.220.static.exetel.com.au] has quit [Quit: No Ping reply in 180 seconds.] 09:02 -!- kloinka [~quassel@223.177.233.220.static.exetel.com.au] has joined #lightning-dev 09:05 -!- willcl_ark_ [~quassel@95.211.225.220] has quit [Ping timeout: 240 seconds] 09:06 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 09:07 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 09:11 -!- diogorsergio [~diogorser@194.35.233.25] has joined #lightning-dev 09:12 -!- willcl_ark_ [~quassel@95.211.225.220] has joined #lightning-dev 09:20 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 09:20 -!- mol [~molly@unaffiliated/molly] has joined #lightning-dev 09:24 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 09:25 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 256 seconds] 09:29 -!- diogorsergio [~diogorser@194.35.233.25] has quit [Ping timeout: 256 seconds] 09:29 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 09:31 -!- diogorsergio [~diogorser@194.35.233.25] has joined #lightning-dev 09:34 -!- masterP [~paul@173.213.88.45] has joined #lightning-dev 09:36 -!- diogorsergio [~diogorser@194.35.233.25] has quit [Ping timeout: 240 seconds] 09:36 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 09:37 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 265 seconds] 09:48 -!- tryphe_ [~tryphe@unaffiliated/tryphe] has joined #lightning-dev 09:51 -!- tryphe [~tryphe@unaffiliated/tryphe] has quit [Ping timeout: 258 seconds] 10:00 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 10:01 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 10:12 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 10:13 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 10:13 -!- wullon5 [~wullon@241.243.86.88.rdns.comcable.net] has joined #lightning-dev 10:16 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 10:24 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 10:25 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 256 seconds] 10:33 -!- captjakk [~captjakk@107-145-175-198.res.spectrum.com] has joined #lightning-dev 10:42 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 10:43 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 268 seconds] 10:52 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 10:53 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 258 seconds] 11:00 -!- wullon5 [~wullon@241.243.86.88.rdns.comcable.net] has quit [Quit: The Lounge - https://thelounge.chat] 11:01 -!- wullon5 [~wullon@241.243.86.88.rdns.comcable.net] has joined #lightning-dev 11:01 -!- wullon5 [~wullon@241.243.86.88.rdns.comcable.net] has quit [Client Quit] 11:02 -!- wullon5 [~wullon@241.243.86.88.rdns.comcable.net] has joined #lightning-dev 11:02 -!- wullon5 is now known as wullon 11:08 -!- marijnfs [~marijnfs@77.9.27.198] has joined #lightning-dev 11:09 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 256 seconds] 11:35 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #lightning-dev 11:49 -!- cryptoso- [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #lightning-dev 11:50 -!- marijnfs [~marijnfs@77.9.27.198] has quit [Ping timeout: 240 seconds] 11:50 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 11:51 -!- Amperture [~amp@65.79.129.113] has joined #lightning-dev 11:51 -!- molly [~molly@unaffiliated/molly] has joined #lightning-dev 11:52 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Ping timeout: 240 seconds] 11:55 -!- mol [~molly@unaffiliated/molly] has quit [Ping timeout: 256 seconds] 12:00 -!- Bugz [~pi@144.202.73.147] has quit [Quit: WeeChat 2.6] 12:04 -!- Bugz [~pi@2600-6c67-8880-0168-c71d-66c8-53c5-9584.res6.spectrum.com] has joined #lightning-dev 12:05 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 12:05 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 265 seconds] 12:16 -!- captjakk [~captjakk@107-145-175-198.res.spectrum.com] has quit [Remote host closed the connection] 12:16 -!- captjakk [~captjakk@107-145-175-198.res.spectrum.com] has joined #lightning-dev 12:16 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 240 seconds] 12:16 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 12:19 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Remote host closed the connection] 12:20 -!- captjakk [~captjakk@107-145-175-198.res.spectrum.com] has quit [Ping timeout: 265 seconds] 12:33 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 12:40 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #lightning-dev 12:43 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 12:43 -!- vasild_ is now known as vasild 12:44 -!- snoozingbedbug [~snoozingb@cpe-172-74-29-86.nc.res.rr.com] has joined #lightning-dev 12:52 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has joined #lightning-dev 12:53 -!- marijnfs [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Ping timeout: 258 seconds] 12:57 -!- marijnfs_ [~marijnfs@x4d091bc6.dyn.telefonica.de] has quit [Read error: Connection reset by peer] 13:02 -!- rdymac [uid31665@gateway/web/irccloud.com/x-ihnzojrnavrkpchn] has quit [Quit: Connection closed for inactivity] 13:18 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 13:26 -!- slivera [~slivera@116.206.228.243] has joined #lightning-dev 13:32 -!- kloinka [~quassel@223.177.233.220.static.exetel.com.au] has quit [Quit: No Ping reply in 180 seconds.] 13:34 -!- kloinka [~quassel@223.177.233.220.static.exetel.com.au] has joined #lightning-dev 13:39 -!- jwheelz [4cb0ab69@cpe-76-176-171-105.san.res.rr.com] has joined #lightning-dev 14:12 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Quit: ZNC - http://znc.sourceforge.net] 14:14 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 14:33 -!- kloinka [~quassel@223.177.233.220.static.exetel.com.au] has quit [Read error: Connection reset by peer] 14:34 -!- kloinka [~quassel@223.177.233.220.static.exetel.com.au] has joined #lightning-dev 14:51 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #lightning-dev 15:04 -!- slivera [~slivera@116.206.228.243] has quit [Remote host closed the connection] 15:22 -!- bauerj [~bauerj@unaffiliated/bauerj] has quit [Quit: "Die Bauers, die können's einfach!"] 15:26 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Ping timeout: 240 seconds] 15:26 -!- bauerj [~bauerj@unaffiliated/bauerj] has joined #lightning-dev 15:36 -!- jwheelz [4cb0ab69@cpe-76-176-171-105.san.res.rr.com] has quit [Remote host closed the connection] 15:50 -!- rdymac [uid31665@gateway/web/irccloud.com/x-zmgpazckalnweozr] has joined #lightning-dev 16:01 -!- captjakk [~captjakk@107-145-175-198.res.spectrum.com] has joined #lightning-dev 16:02 -!- captjakk [~captjakk@107-145-175-198.res.spectrum.com] has quit [Remote host closed the connection] 16:03 -!- captjakk [~captjakk@107-145-175-198.res.spectrum.com] has joined #lightning-dev 16:08 -!- captjakk [~captjakk@107-145-175-198.res.spectrum.com] has quit [Ping timeout: 265 seconds] 16:36 -!- captjakk [~captjakk@107-145-175-198.res.spectrum.com] has joined #lightning-dev 16:36 -!- nirved [~nirved@2a02:8071:b58a:3c00:3ca6:9fb9:2e23:4e12] has quit [Quit: Leaving] 17:12 -!- captjakk [~captjakk@107-145-175-198.res.spectrum.com] has quit [Remote host closed the connection] 17:12 -!- captjakk [~captjakk@107-145-175-198.res.spectrum.com] has joined #lightning-dev 17:17 -!- captjakk [~captjakk@107-145-175-198.res.spectrum.com] has quit [Ping timeout: 258 seconds] 17:36 -!- zmnscpxj [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has joined #lightning-dev 17:41 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #lightning-dev 17:45 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 17:47 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 18:00 < bsm117532> Is there any kind of "pay to anyone" functionality in Lightning? (e.g. if you find a hash preimage, and can route to this node, you can claim a bounty) 18:00 < zmnscpxj> You mean you want to *claim* from some other node? 18:01 < zmnscpxj> i.e. a node publishes a hash to everybody, then if some anonymous happens to stumble on the preimage, they can *anonymously* claim money from it? 18:01 < zmnscpxj> or... 18:01 < zmnscpxj> ? 18:02 < bsm117532> yes, correct. 18:03 < bsm117532> Half-baked idea is inspired by Sharon Goldberg's talk on better cross-chain atomic swaps: https://twitter.com/MITBitcoinClub/status/1236718052638699522 18:03 < zmnscpxj> no, there is no way to do that safely. 18:04 < zmnscpxj> what happens when the preimage gets published onchain? Then either the node putting up the bounty sees it onchain and refuses to release offcahin, or somebody else sees it onchain and manages to beat you to the bounty-giving node? 18:04 < bsm117532> She's publishing preimages on Ethereum to guarantee half of an atomic swap gets executed. 18:04 < bsm117532> i'm wondering if I can publish the preimage in a Lightning tx and pay someone to relay it to the main chain's mempool. 18:04 < zmnscpxj> Then just use the current push semantics instead of putting a pull semantic? 18:05 < zmnscpxj> i.e. somebody offers an offchain-to-onchain swap service, you tell them of a hash, you route a payment to them, then publish the preimage onchain yourself to claim the onchain funds 18:05 < zmnscpxj> then the offchain-to-onchain service can claim the payment offchain 18:06 < zmnscpxj> I mean.... if all you need is atomic swaps, a payment on Lightning is a chain of atomic swaps...... 18:06 < bsm117532> Not quite. I want to embed the signed swap tx in a Lightning message, and offer a bounty to get it relayed to main chain mempool. 18:06 < bsm117532> I want to pay a lightning node to relay a tx that is NOT part of a lightning channel. 18:07 < bsm117532> tx is a payload, not a channel. 18:07 < zmnscpxj> when does the target get paid? on mere *relay*? or confirmation onchain? 18:07 < bsm117532> preimage comes from seeing an on-chain tx with that preimage. 18:07 < bsm117532> target gets paid when the tx hits the bitcoin mempool. (How to guarantee that is another question...) 18:08 < bsm117532> Hence, focusing on "pay to any". Bounty for a hash... 18:08 < zmnscpxj> no, because bounty for a hash is unsafe, as I pointed out 18:08 < zmnscpxj> anyone who discovers the preimage can claim from you. 18:09 < bsm117532> Correct, and that's what I want. 18:09 < zmnscpxj> if you release it to the first one, that first one who *REACHES YOU* is not necessarily the first one *GLOBALLY* 18:09 < bsm117532> The first guy to see the preimage (on e.g. Litecoin) can claim the bounty 18:09 < zmnscpxj> so why would anyone do this kind of service for you? 18:09 < zmnscpxj> so that is it? they just see the preimage? no tx mempool relay? 18:09 < bsm117532> The idea is to be able to perform an atomic swap while offline. You do the setup and walk away. 18:10 < zmnscpxj> the reason why you cannot walk away is not because of the hashlock, the reason is because of the timelock 18:10 < bsm117532> Assume (magic) there is a way to prove that the entity receiving payment relayed something to the blockchain also. (Throw in an SPV proof or something) 18:10 < zmnscpxj> if the other side does not claim, you *have to* reclaim the timelock 18:10 < zmnscpxj> then what you want is transaction confirmation, not mempool relay 18:11 < zmnscpxj> and you should be asking miners, i.e. bumping tx fees 18:11 < bsm117532> The transaction I want relayed is a BTC tx dependent on a hash revealed in a LTC tx 18:12 < zmnscpxj> But if you key your payment on the same preimage, then I can just look at the LTC blockchain and not bother to relay the BTC tx 18:12 < bsm117532> Can't have tx confirmation without mempool relay, and I want to be offline when that happens. 18:12 < zmnscpxj> and once I have claimed the payment, nobody has any incentive to actually relay the BTC tx 18:13 < bsm117532> zmnscpxj: correct. The idea depends on being able to prove I relayed it. (assume *magic*) 18:13 < zmnscpxj> mempool relay is just a privacy technique. you could contact a miner directly without relaying 18:13 < bsm117532> Can't contact anyone offline. 18:13 < zmnscpxj> I mean, if we are presuming magic anyway 18:13 < bsm117532> I mean, Sharon's atomic swap is a symmetric Tier-Nolan swap, with 3 timelocks. 18:14 < zmnscpxj> your problem looks nearer to watchtowers (if a tx appears, relay this other tx) than lightning itself. 18:14 < bsm117532> In some way I'm looking to offer a Lightning bounty for a watchtower function, yes. 18:14 < zmnscpxj> there is no safe way to offer a bounty offchain, no 18:14 < zmnscpxj> I already said that 18:14 < bsm117532> Can you elaborate on why it's unsafe? I don't understand. 18:15 < zmnscpxj> ....... 18:15 < zmnscpxj> can just look at the LTC blockchain and not bother to relay the BTC tx 18:15 < zmnscpxj> and once I have claimed the payment, nobody has any incentive to actually relay the BTC tx 18:15 < bsm117532> Yeah ok so I have to invent a way to prove that the redeemer relayed it too, I know. 18:15 < zmnscpxj> just to mess with you 18:15 < zmnscpxj> which you cannot do: mempools are unprovable 18:15 < bsm117532> But, suspending disbelief on that point, is there any other reason it's unsafe? 18:15 < zmnscpxj> because they are never committed to by anyone 18:16 < bsm117532> Yes I think the redeemer will have to prove it was not just broadcast, but mined too. 18:16 < bsm117532> (and that he did it) 18:16 < zmnscpxj> Because payments can only be keyed on hashes, they cannot be keyed to release on "hash + magic zk-proof" 18:17 < bsm117532> Yes, but a lightning channel update CAN be keyed on something more complex. 18:17 < zmnscpxj> no, I mean the magic zk-proof thing has to be provable onchain 18:17 < bsm117532> ah, yeah, good point. 18:17 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #lightning-dev 18:17 < zmnscpxj> because you cannot key any LN channel update that cannot be dropped onchain 18:17 < zmnscpxj> else people can abuse this to steal funds from intermdiate nodes 18:17 < bsm117532> of course 18:18 < bsm117532> 18:18 < zmnscpxj> so you (1) need to have some magic zk-proof-of-mempool (which is impossible because nobody commits to mempool) and (2) you need to convince bitcoin core to add this zk-proof onchain 18:18 < bsm117532> I admit I'm still thinking about that part. I don't have a solution. I thought a bit about zk proofs but you're right, has to be provable on-chain. I don't have a better idea yet. 18:18 < zmnscpxj> your other alternative is to be online to check the zk-proof-of-mempool yourself, which defeats the entire point 18:19 < zmnscpxj> i.e. smart contracts unchained 18:20 < bsm117532> I googled: https://zmnscpxj.github.io/bitcoin/unchained.html 18:20 < zmnscpxj> you could have a smart contracts unchained federation that is always online (for some definition of "always"), but that is not much different from what a watchtower does 18:24 < bsm117532> So basically, scriptless scripts plus an ajudication service? Yeah that would work. 18:25 -!- zmnscpxj [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has quit [Ping timeout: 240 seconds] 18:27 < bsm117532> FWIW I usually lobby for the ZEXE approach there -- the parties should always be able to produce a correct ZKP. 18:27 < bsm117532> But anyway, we're now diverging wildly from Lightning... 18:28 < bsm117532> I got my answer, there is no "pay to anyone" functionality. ;-) 18:28 < bsm117532> thanks zmnscpxj 18:40 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 18:46 -!- zmnscpxj [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has joined #lightning-dev 18:47 < zmnscpxj> yes, not safe to implement. 18:52 -!- rdymac [uid31665@gateway/web/irccloud.com/x-zmgpazckalnweozr] has quit [Quit: Connection closed for inactivity] 18:53 -!- Maitor_ [~goban@gateway/tor-sasl/maitor] has joined #lightning-dev 18:56 -!- Maitor [~goban@gateway/tor-sasl/maitor] has quit [Ping timeout: 240 seconds] 19:06 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Quit: ZNC - http://znc.sourceforge.net] 19:08 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 19:09 -!- Maitor_ [~goban@gateway/tor-sasl/maitor] has quit [Quit: Maitor_] 19:10 -!- Maitor [~goban@gateway/tor-sasl/maitor] has joined #lightning-dev 19:58 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 20:21 -!- riclas [~riclas@77.7.37.188.rev.vodafone.pt] has quit [Ping timeout: 258 seconds] 20:36 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 20:40 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 240 seconds] 20:43 -!- Amperture [~amp@65.79.129.113] has quit [Remote host closed the connection] 21:09 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 21:34 < snoozingbedbug> Is this already how lightning works? https://www.reddit.com/r/Bitcoin/comments/ff1tqo/can_someone_explain_why_this_isnt_possible/ 21:36 < zmnscpxj> At a high-enough level that omits all the important details, yes. 21:37 < zmnscpxj> the important thing is ensuring that the existence of a transaction with sequence N invalidates every transaction with sequence M with M < N 21:37 < zmnscpxj> ***how*** to do that invalidation is the hard part that the treatment completely elides 21:41 < zmnscpxj> In Poon-Dryja the invalidation is done by revoking the outputs of the transaction. 21:41 < zmnscpxj> In Decker-Russell-Osuntokun the invalidation is done by re-spending the output of an update transaction before the settlement can be valid 21:42 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 265 seconds] 22:06 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #lightning-dev 22:13 -!- Maitor [~goban@gateway/tor-sasl/maitor] has quit [Ping timeout: 240 seconds] 22:13 -!- Maitor [~goban@gateway/tor-sasl/maitor] has joined #lightning-dev 22:19 -!- achow101 [~achow101@unaffiliated/achow101] has quit [Ping timeout: 256 seconds] 22:23 -!- achow101 [~achow101@unaffiliated/achow101] has joined #lightning-dev 22:37 -!- snoozingbedbug [~snoozingb@cpe-172-74-29-86.nc.res.rr.com] has quit [Read error: Connection reset by peer] 22:38 -!- snoozingbedbug [~snoozingb@cpe-172-74-29-86.nc.res.rr.com] has joined #lightning-dev 23:30 -!- zmnscpxj [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has quit [Quit: Leaving] 23:39 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev --- Log closed Mon Mar 09 00:00:17 2020