--- Log opened Mon Sep 30 00:00:25 2019 00:22 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 00:43 -!- jonatack [~jon@2a01:e35:8aba:8220:6627:dad:d967:649d] has quit [Ping timeout: 246 seconds] 00:52 -!- achow101 [~achow101@unaffiliated/achow101] has quit [Ping timeout: 240 seconds] 01:27 -!- jonatack [~jon@54.76.13.109.rev.sfr.net] has joined #c-lightning 01:57 -!- jonatack [~jon@54.76.13.109.rev.sfr.net] has quit [Ping timeout: 240 seconds] 02:53 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 02:54 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 268 seconds] 02:54 -!- darosior7 [~5ba5be47@23.94.232.101] has quit [Quit: The Lounge - https://thelounge.chat] 03:09 -!- darosior7 [~5a58fc8e@23.94.232.101] has joined #c-lightning 03:37 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-dkyzthxwqfvzkdrd] has left #c-lightning [] 03:37 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-dkyzthxwqfvzkdrd] has joined #c-lightning 03:51 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 04:15 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 265 seconds] 04:16 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 04:16 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 246 seconds] 04:21 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has quit [Ping timeout: 260 seconds] 04:22 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 04:22 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has joined #c-lightning 04:23 < m-schmoock> cdecker: https://github.com/lightningd/plugins/pull/63 nothing spectacular... 04:23 < m-schmoock> Btw, I will pickup my work on LN from next month, as I am looking forward to reduce my regular job to 3 days a week... :D 04:30 <@cdecker> Awesome, glad to have you back with us ^^ 04:30 <@cdecker> How's the arm? 04:31 < m-schmoock> it healed really fine 04:31 < m-schmoock> no impediemtns :D 04:32 < m-schmoock> unfortunately I cant make it to the conference, I had already booked my holidays a few weeks before the date was set 04:46 <@cdecker> Lucky you :-) I had my holidays booked and had to move them (but only 1-2 days out of 7, so still fine) 04:57 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 240 seconds] 04:58 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 04:58 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 245 seconds] 04:59 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 06:07 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 250 seconds] 06:07 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 06:22 -!- jonatack [~jon@2a01:e35:8aba:8220:6627:dad:d967:649d] has joined #c-lightning 06:44 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 240 seconds] 06:44 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 06:45 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 265 seconds] 06:47 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 07:13 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 265 seconds] 07:14 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 07:14 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 240 seconds] 07:17 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 07:17 -!- rh0nj [~rh0nj@88.99.167.175] has joined #c-lightning 07:31 -!- mdunnio [~mdunnio@38.126.31.226] has joined #c-lightning 07:31 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 07:32 -!- vincenzopalazzo [~vincenzop@2.226.158.237] has joined #c-lightning 07:34 -!- mdunnio [~mdunnio@38.126.31.226] has joined #c-lightning 07:42 -!- cryptoso- [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 07:44 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Ping timeout: 260 seconds] 08:26 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 08:41 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 08:45 -!- mdunnio [~mdunnio@38.126.31.226] has joined #c-lightning 08:47 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 08:48 -!- mdunnio [~mdunnio@38.126.31.226] has joined #c-lightning 09:08 -!- userelph2 [~userelphi@gateway/tor-sasl/userelphi] has joined #c-lightning 09:09 -!- saibato [~userelphi@gateway/tor-sasl/userelphi] has quit [Remote host closed the connection] 09:10 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 240 seconds] 09:11 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 09:13 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 265 seconds] 09:14 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 09:35 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 09:39 -!- achow101 [~achow101@unaffiliated/achow101] has joined #c-lightning 09:50 -!- mdunnio [~mdunnio@38.126.31.226] has joined #c-lightning 09:56 -!- userelph2 [~userelphi@gateway/tor-sasl/userelphi] has quit [Remote host closed the connection] 09:56 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Ping timeout: 276 seconds] 09:56 -!- userelph2 [~userelphi@gateway/tor-sasl/userelphi] has joined #c-lightning 10:08 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Ping timeout: 240 seconds] 10:09 -!- mdunnio [~mdunnio@38.126.31.226] has joined #c-lightning 10:10 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 10:11 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 240 seconds] 10:14 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 10:23 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 10:34 -!- mdunnio [~mdunnio@38.126.31.226] has joined #c-lightning 10:39 -!- cryptoso- [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Remote host closed the connection] 10:39 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 11:05 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 240 seconds] 11:07 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 11:07 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 265 seconds] 11:10 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 11:16 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 11:38 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 11:38 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 240 seconds] 11:39 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 268 seconds] 11:40 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 11:53 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-dkyzthxwqfvzkdrd] has left #c-lightning [] 11:54 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-dkyzthxwqfvzkdrd] has joined #c-lightning 11:58 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 245 seconds] 12:00 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 240 seconds] 12:00 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 12:01 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 12:01 -!- mdunnio [~mdunnio@38.126.31.226] has joined #c-lightning 12:28 -!- userelph2 [~userelphi@gateway/tor-sasl/userelphi] has quit [Quit: WeeChat 1.6] 12:28 -!- userelphi [~userelphi@gateway/tor-sasl/userelphi] has joined #c-lightning 12:31 < sword_smith> darosior7: Thanks for the explanation. I think I should watch a video about it. I might be too dense to understand your condensed explanation. 12:32 < sword_smith> Does walletnotify exist for c-lightning? How do I get push messages/script execution whenever I receive a payment? 12:44 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 240 seconds] 12:45 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 240 seconds] 12:45 -!- userelphi [~userelphi@gateway/tor-sasl/userelphi] has quit [Remote host closed the connection] 12:45 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 12:49 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 12:51 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 12:56 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 12:59 <@cdecker> sword_smith: that would be very easy to implement as a plugin. There are notifications you can subscribe in the plugin, and it can then ping whatever service, using whatever protocol you want 12:59 < darosior7> sword_smith: there is not, think of C-lightning as a core which comports only core functionalities that is aimed to be extended via plugins, tools or whatsoever. What is fun is that I was wondering about making a plugin just for push notifications (I added them to lightning-qt using notify2 if you are interested in making your first plugin feel 12:59 < darosior7> free to take this code) 13:00 < darosior7> https://github.com/darosior/lightning-qt/commit/fb0954a4411546b44f2d4ed2cad08cb20cce7d0f 13:00 <@niftynei> cdecker beat me to it. i was going to say you can use plugin notifications like https://github.com/ElementsProject/lightning/blob/master/doc/PLUGINS.md#invoice_payment 13:00 < darosior7> ^^ We all answered at the same time 13:02 -!- userelphi [~userelphi@gateway/tor-sasl/userelphi] has joined #c-lightning 13:03 <@niftynei> the first link is for receiving notification of payment, there's also a hook that allows you to modify how c-lightning responds to a payment attempt (you can also cancel them) https://github.com/ElementsProject/lightning/blob/master/doc/PLUGINS.md#invoice_payment-1 13:07 < darosior7> And sword_smith about your first message "Thanks for the explanation. I think I should watch a video about it." => if you want a video I recommend this one https://www.youtube.com/watch?v=8zVzw912wPo which gives a great overall vision. I think rusty made some blog posts *searching* here it is https://rusty.ozlabs.org/?p=450 . The paper is also 13:07 < darosior7> quite understandable https://lightning.network/lightning-network-paper.pdf (even if some terms have changed). 13:07 < darosior7> " I might be too dense to understand your condensed explanation." => feel free to ask, I can uncondense :-) 13:08 < sword_smith> I already read half the LN "whitepaper". I quite enjoyed it. 13:10 < sword_smith> Allow me to try: Assume three nodes and two channels: (A,B,C) and ((A,B),(B,C)). Also assume A wants to send to C. 13:10 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 13:10 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 265 seconds] 13:11 < sword_smith> C then generates a secret key, SK, and sends SHA256(SK) to A. 13:12 < darosior7> Yes, except it does not need to be a "key" 13:12 < darosior7> Just some random data (bytes) 13:12 < sword_smith> OK 13:13 < sword_smith> But who then makes the first payment, does B or does A? 13:13 < sword_smith> Receiving the SK somehow proves to A that B has paid C, I guess? 13:14 < sword_smith> (We can also call SK X if you prefer) 13:14 < darosior7> Yes, the name does not matter 13:15 < sword_smith> If the receiving of X by A proves that B has paid C, then B must pay C before A pays B, correct? 13:15 < darosior7> Actually A asks B to add an HTLC with H(X) (basically I pay you if you give me X) and B adds one with C 13:15 < darosior7> Then 13:16 < darosior7> C gets its funds from B, since it can resolves the contract (he generated X in the first place) 13:16 < darosior7> Then B resolves the HTLC with A 13:16 < darosior7> In order to let the time for B to resolve, timelocks are used 13:17 < darosior7> "f the receiving of X by A proves that B has paid C, then B must pay C before A pays B, correct?" => correct 13:17 < sword_smith> Is some kind of opcode for calculating hashes used for this? 13:19 < sword_smith> Do the HTLCs contain the opcode 0xa8 and is that how the X/H(X) logic is enforced? 13:20 -!- cubancorona [~cubancoro@pool-72-77-31-161.pitbpa.ftas.verizon.net] has quit [Quit: Leaving] 13:20 < sword_smith> 0xa8 is OP_SHA256 13:22 < darosior7> We use HASH160 13:22 < darosior7> ripemd160(sha256()) 13:23 < darosior7> As often in BItcoin :-) 13:23 < sword_smith> Got it. Just like addresses. 13:23 < sword_smith> So its 0xa9 :) 13:24 < sword_smith> But is that how the opcode is used, that you can somehow unlock some output if you have X? 13:25 < darosior7> I dont understand the question ? 13:27 < sword_smith> "Actually A asks B to add an HTLC with H(X)" => Does this mean that one of the outputs is only redeemable if you have X (and not H(X))? 13:30 < darosior7> Yes, or by A after some time 13:30 < darosior7> Tried to simplify 13:32 < sword_smith> Ah. I have a vague feeling that I am closer to understanding it now. 13:33 < darosior7> Great ! 13:34 < sword_smith> I wrote a compiler for EVM a couple of years ago. I would probably gain a better understanding of Bitcoin if I started programming in Bitcoin script. 13:34 < darosior7> The video I linked you should give some confidence too, maybe enough to understand the complexity of the actual implementation of that idea ;-) 13:35 < darosior7> sword_smit: Yes ! I did that in PYthon a year ago and it actually made me understand a lot of things 13:39 -!- userelphi [~userelphi@gateway/tor-sasl/userelphi] has quit [Ping timeout: 260 seconds] 13:55 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 245 seconds] 13:55 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 13:55 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 13:56 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 265 seconds] 14:03 -!- cubancorona [~cubancoro@pool-72-77-31-161.pitbpa.ftas.verizon.net] has joined #c-lightning 14:27 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 14:40 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 15:34 -!- jonatack [~jon@2a01:e35:8aba:8220:6627:dad:d967:649d] has quit [Ping timeout: 264 seconds] 15:34 -!- queip_ [~queip@unaffiliated/rezurus] has joined #c-lightning 15:35 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 15:35 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 245 seconds] 15:36 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 268 seconds] 15:36 -!- queip_ is now known as queip 15:52 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 15:52 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 240 seconds] 15:52 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 240 seconds] 15:55 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 16:02 -!- provoostenator [~quassel@provoostenator.sprovoost.nl] has quit [Remote host closed the connection] 16:22 -!- vincenzopalazzo [~vincenzop@2.226.158.237] has quit [Remote host closed the connection] 16:24 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 240 seconds] 16:24 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 240 seconds] 16:25 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 16:29 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 16:32 -!- jonatack [~jon@2a01:e35:8aba:8220:6627:dad:d967:649d] has joined #c-lightning 16:41 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 16:41 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 276 seconds] 16:43 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 265 seconds] 16:44 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 16:46 -!- userelphi [~userelphi@gateway/tor-sasl/userelphi] has joined #c-lightning 16:53 -!- userelphi [~userelphi@gateway/tor-sasl/userelphi] has quit [Quit: WeeChat 1.6] 16:58 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 268 seconds] 16:58 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 16:59 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 268 seconds] 17:01 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 17:39 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 240 seconds] 17:40 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 17:40 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 240 seconds] 17:44 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 17:52 -!- cubancorona [~cubancoro@pool-72-77-31-161.pitbpa.ftas.verizon.net] has quit [Quit: Leaving] 18:18 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 18:29 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 240 seconds] 18:29 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 18:30 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 268 seconds] 18:33 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 19:19 -!- cubancorona [~cubancoro@pool-72-77-31-161.pitbpa.ftas.verizon.net] has joined #c-lightning 20:04 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-dkyzthxwqfvzkdrd] has left #c-lightning [] 20:04 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-dkyzthxwqfvzkdrd] has joined #c-lightning 21:16 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 276 seconds] 21:31 -!- Victor_sueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 21:34 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Ping timeout: 245 seconds] 21:45 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 22:24 -!- StopAndDecrypt [~StopAndDe@unaffiliated/stopanddecrypt] has quit [Ping timeout: 265 seconds] 22:28 -!- StopAndDecrypt [~StopAndDe@unaffiliated/stopanddecrypt] has joined #c-lightning 23:17 -!- rafalcpp_ [~racalcppp@84-10-11-234.static.chello.pl] has joined #c-lightning 23:17 -!- rafalcpp [~racalcppp@84-10-11-234.static.chello.pl] has quit [Ping timeout: 240 seconds] 23:17 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 240 seconds] 23:17 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 23:32 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning --- Log closed Tue Oct 01 00:00:26 2019