--- Log opened Thu Jun 11 00:00:46 2020 00:12 -!- tigermousr [~tigermous@unaffiliated/tigermousr] has quit [Ping timeout: 260 seconds] 00:35 -!- kabaum [~kabaum@2001:9b1:efd:9b00:55d3:b22b:b6e1:f9c2] has joined #c-lightning 01:10 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Quit: liberliver] 01:21 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 01:22 -!- justan0theruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 01:25 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 260 seconds] 01:55 -!- justan0theruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 272 seconds] 01:55 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 03:51 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has joined #c-lightning 04:02 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has left #c-lightning [] 04:02 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has joined #c-lightning 04:45 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 04:58 -!- belcher [~belcher@unaffiliated/belcher] has joined #c-lightning 05:09 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has quit [Ping timeout: 256 seconds] 05:11 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 256 seconds] 05:15 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 05:30 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has joined #c-lightning 05:34 -!- gojiHmPFPN [~textual@c-73-47-220-190.hsd1.ma.comcast.net] has joined #c-lightning 05:38 -!- pretyflaco [~k3m@2001:a61:4e3:7701:d4:6723:a834:efb3] has joined #c-lightning 06:12 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has quit [Ping timeout: 260 seconds] 06:17 -!- zmnscpxj_ [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has quit [Ping timeout: 240 seconds] 06:27 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has joined #c-lightning 06:41 -!- gojiHmPFPN [~textual@c-73-47-220-190.hsd1.ma.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 06:44 -!- gojiHmPFPN [~textual@c-73-47-220-190.hsd1.ma.comcast.net] has joined #c-lightning 07:57 -!- fiatjaf1 [~fiatjaf@2804:7f2:2a84:fb44:ea40:f2ff:fe85:d2dc] has quit [Ping timeout: 260 seconds] 07:57 -!- fiatjaf1 [~fiatjaf@179.187.182.70.dynamic.adsl.gvt.net.br] has joined #c-lightning 08:22 -!- midnight [~midnight@unaffiliated/midnightmagic] has quit [Ping timeout: 272 seconds] 08:46 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 260 seconds] 08:47 -!- midnight [~midnight@unaffiliated/midnightmagic] has joined #c-lightning 09:03 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 09:20 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 09:23 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 09:23 -!- vasild_ is now known as vasild 09:39 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 256 seconds] 09:44 -!- pretyflaco [~k3m@2001:a61:4e3:7701:d4:6723:a834:efb3] has quit [Ping timeout: 256 seconds] 10:25 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 10:25 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #c-lightning 10:36 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has quit [Ping timeout: 256 seconds] 10:36 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 10:38 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has joined #c-lightning 10:47 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has quit [Ping timeout: 256 seconds] 11:13 -!- dr-orlovsky [~dr-orlovs@xdsl-188-154-186-21.adslplus.ch] has joined #c-lightning 11:13 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has joined #c-lightning 11:22 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 11:24 -!- zmnscpxj_ [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has joined #c-lightning 11:29 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 11:40 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has quit [Ping timeout: 264 seconds] 12:07 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 12:09 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #c-lightning 12:14 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has left #c-lightning [] 12:14 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has joined #c-lightning 12:14 -!- tigermousr [~tigermous@unaffiliated/tigermousr] has joined #c-lightning 12:33 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 240 seconds] 12:56 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has joined #c-lightning 12:58 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 13:00 -!- th0th [~th0th@gateway/tor-sasl/th0th] has joined #c-lightning 13:00 < th0th> hello, is it possible to get a preimage using the cli? 13:01 <@cdecker> You can generate an invoice with a specific preimage, or you can see the preimage after the invoice has been paid. 13:01 <@cdecker> We hide it from the RPC interface to avid users being tricked into revealing it 13:02 <@cdecker> You could potentially reach around lightningd and query the DB directly ;-) 13:07 < th0th> so i attempted to use an exchange (which failed), and the refund paper wallet they gave me basically didn't exist. they're asking me for the preimage so they can recover the funds and return them to me 13:08 < th0th> they alternatively asked me to turn over my whole sql file, which seems like a bad idea 13:09 < th0th> what's the lightningd reacharound option - does it involve an eggplant emoji? 13:09 <@cdecker> Giving them the sqlite3 file is definitely a terrible idea, correct 13:11 <@cdecker> th0th: This will list all the payment_hashes and preimages your node knows about: sqlite3 ~/.lightning/bitcoin/lightningd.sqlite3 -header -column "SELECT HEX(payment_hash) as hash, HEX(payment_key) as preimage FROM invoices" 13:12 <@cdecker> Look in the first column for the hash in the invoice, and the second column will give you the preimage 13:12 <@cdecker> Forgot to ask: this is an invoice you created, correct? 13:12 <@cdecker> Otherwise there's little point in looking at the invoices you created xD 13:15 < th0th> yeah it is - thank you very much that should be exactly what i need 13:18 < th0th> wait, shouldn't you be making clightning instead of fielding my irc questions? 13:32 -!- zmnscpxj_ [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has quit [Remote host closed the connection] 14:05 <@cdecker> I am :-) Just between compiles and test runs I can answer a couple of things 14:12 < th0th> well that was exactly what i needed, so cheers 14:49 <@cdecker> Anytime ^^ 14:55 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has quit [Ping timeout: 246 seconds] 15:04 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 264 seconds] 15:24 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 15:48 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has joined #c-lightning 15:52 < fiatjaf1> this doesn't look right 15:53 < fiatjaf1> if the exchange tried to pay and failed they should only need the hash to find the payment attempt 15:53 < fiatjaf1> if they tried to pay and succeeded they have the preimage already, and they should need only the hash to find it in the history 15:54 < fiatjaf1> I would say they were trying to trick the user 15:55 < fiatjaf1> or maybe they want the preimage so they can prove the user complaining is the user who made a payment to them, in this case `listsendpays` is the answer 16:23 < Dean_Guss> ^th0th 16:51 -!- rafalcpp [~racalcppp@ip-178-214.ists.pl] has quit [Ping timeout: 260 seconds] 16:58 < th0th> i'll inquire, but they have at least refunded me 16:58 < th0th> and what could they even steal with that? 17:15 -!- gojiHmPFPN [~textual@c-73-47-220-190.hsd1.ma.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 17:28 -!- belcher [~belcher@unaffiliated/belcher] has quit [Quit: Leaving] 17:33 -!- gojiHmPFPN [~textual@c-73-47-220-190.hsd1.ma.comcast.net] has joined #c-lightning 17:34 -!- gojiHmPFPN [~textual@c-73-47-220-190.hsd1.ma.comcast.net] has quit [Client Quit] 17:58 -!- fiatjaf1 [~fiatjaf@179.187.182.70.dynamic.adsl.gvt.net.br] has quit [Ping timeout: 256 seconds] 18:06 -!- harrigan [~harrigan@ptr-93-89-242-235.ip.airwire.ie] has quit [Quit: ZNC 1.7.5 - https://znc.in] 18:06 -!- harrigan [~harrigan@ptr-93-89-242-235.ip.airwire.ie] has joined #c-lightning 18:13 -!- Letze [sid63391@gateway/web/irccloud.com/x-dlhzhulabinokasm] has quit [Ping timeout: 265 seconds] 18:21 -!- gojiHmPFPN [~textual@c-73-47-220-190.hsd1.ma.comcast.net] has joined #c-lightning 18:22 -!- Letze [sid63391@gateway/web/irccloud.com/x-ztuharucyblzwesl] has joined #c-lightning 18:27 -!- zmnscpxj_ [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has joined #c-lightning 18:28 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 18:31 -!- fiatjaf1 [~fiatjaf@2804:7f2:2a84:fb44:ea40:f2ff:fe85:d2dc] has joined #c-lightning 18:31 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 18:31 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 18:32 < fiatjaf1> nothing 18:40 -!- gojiHmPFPN [~textual@c-73-47-220-190.hsd1.ma.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 18:41 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 18:42 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 18:56 -!- gojiHmPFPN [~textual@c-73-47-220-190.hsd1.ma.comcast.net] has joined #c-lightning 19:00 -!- th0th [~th0th@gateway/tor-sasl/th0th] has quit [Remote host closed the connection] 19:00 -!- queip [~queip@unaffiliated/rezurus] has quit [Read error: Connection reset by peer] 19:06 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 19:26 -!- gojiHmPFPN [~textual@c-73-47-220-190.hsd1.ma.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 19:55 -!- dr-orlovsky [~dr-orlovs@xdsl-188-154-186-21.adslplus.ch] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 20:31 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has left #c-lightning [] 20:31 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has joined #c-lightning 21:00 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 21:01 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 21:23 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 21:30 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #c-lightning --- Log closed Fri Jun 12 00:00:47 2020