--- Log opened Sun Jul 19 00:00:25 2020 00:47 -!- mdunnio [~mdunnio@208.59.170.5] has joined #c-lightning 00:54 -!- mdunnio [~mdunnio@208.59.170.5] has quit [Ping timeout: 240 seconds] 00:59 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 01:08 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 272 seconds] 01:20 -!- vincenzopalazzo [~vincent@host-87-1-112-121.retail.telecomitalia.it] has quit [Remote host closed the connection] 01:20 -!- dr-orlovsky [~dr-orlovs@2001:171b:c9ab:8170:5823:a94f:9aa2:c937] has joined #c-lightning 01:23 -!- vincenzopalazzo [~vincent@host-87-1-112-121.retail.telecomitalia.it] has joined #c-lightning 01:27 < vincenzopalazzo> Hi guys, today I want to make a question about pending payment, for example when payment is pending inside the network is possible to undo the operation? For example, I make a payment to the blockstream store and during the payment, I change my mind about the order, if the payment has the pending status I can undo the payment? From the code, I understand that this is not possible but I can lose somethings. 01:28 < zmnscpxj__> this is not possible at all. 01:28 < zmnscpxj__> at a spec level 01:28 < zmnscpxj__> if it were to be possible, then I can steal from forwarding nodes: 01:28 < zmnscpxj__> send a self-payment 01:28 < zmnscpxj__> I send a "cancel outgoing" and "claim incoming" message at the same time 01:29 < zmnscpxj__> I get to cancel the outgoing payment and claim the incoming funds, leaving somebody else on the network bereft of those funds 01:31 < vincenzopalazzo> Thanks for answer, I understand. Well, I want make a directly question. I'm working on a good first issue, like this https://github.com/ElementsProject/lightning/issues/1995 01:31 < vincenzopalazzo> I'm adding the method delpay and at the moment I implemented (or I try to implement) a delpay with only one parameter, For instance "delpay bolt11" 01:32 < zmnscpxj__> the intent is to remove historically-completed payments 01:32 < zmnscpxj__> not ongoing ones 01:33 < zmnscpxj__> basically, the intent is only to prune the output of `listpayments` 01:33 < zmnscpxj__> could also accept a hash 01:34 < zmnscpxj__> since we do not store outgoing bolt11 (or even invoices we issued) 01:36 < vincenzopalazzo> Wow, good information. Thanks. So, I can filter the payment by complete status, and what about the fail payment? I could want remove the fail payment? 01:36 < zmnscpxj__> imitate delinvoice: have the caller explicitly say it knows the payment is failed 01:37 < zmnscpxj__> payments can be "temporarily failed", with the `pay` plugin still running 01:38 < zmnscpxj__> we kind of filter this out with `listpayments` which is in the `pay` plugin, but `delpay` has to be in `lightningd`, so it is better to be careful 01:41 < vincenzopalazzo> Done, thanks for your feedback I will play a little bit with the code and the use case and after if I will have a draft solution I will open a PR. Thank you again 01:42 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Quit: %bye%] 01:43 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 02:31 -!- zmnscpxj__ [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has quit [Ping timeout: 240 seconds] 03:09 -!- afk11` [~afk11@gateway/tor-sasl/afk11] has quit [Remote host closed the connection] 03:10 -!- afk11` [~afk11@gateway/tor-sasl/afk11] has joined #c-lightning 03:28 -!- mdunnio [~mdunnio@208.59.170.5] has joined #c-lightning 03:47 -!- dr-orlovsky [~dr-orlovs@2001:171b:c9ab:8170:5823:a94f:9aa2:c937] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 03:53 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #c-lightning 03:57 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 265 seconds] 04:27 -!- mdunnio [~mdunnio@208.59.170.5] has quit [Remote host closed the connection] 05:02 -!- mdunnio [~mdunnio@208.59.170.5] has joined #c-lightning 05:07 -!- mdunnio [~mdunnio@208.59.170.5] has quit [Ping timeout: 246 seconds] 05:15 -!- mdunnio [~mdunnio@208.59.170.5] has joined #c-lightning 05:23 -!- mol_ [~mol@unaffiliated/molly] has joined #c-lightning 05:24 -!- Victor_sueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 05:26 -!- MasterdonX [~masterdon@194.150.167.55] has joined #c-lightning 05:32 -!- Netsplit *.net <-> *.split quits: mol, Victorsueca, rotarydialer, masterdonx2 05:35 -!- rotarydialer [~rotarydia@unaffiliated/rotarydialer] has joined #c-lightning 06:19 -!- mdunnio [~mdunnio@208.59.170.5] has quit [Ping timeout: 265 seconds] 07:29 -!- fiatjaf [~fiatjaf@2804:7f2:2a83:3b59:ea40:f2ff:fe85:d2dc] has quit [Ping timeout: 272 seconds] 07:33 -!- fiatjaf [~fiatjaf@177.205.197.19.dynamic.adsl.gvt.net.br] has joined #c-lightning 07:57 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-xadswhvwruqyrqgr] has left #c-lightning [] 07:57 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-xadswhvwruqyrqgr] has joined #c-lightning 08:10 -!- zmnscpxj__ [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has joined #c-lightning 08:31 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 08:34 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 08:34 -!- vasild_ is now known as vasild 08:44 -!- mol [~mol@unaffiliated/molly] has joined #c-lightning 08:48 -!- mol_ [~mol@unaffiliated/molly] has quit [Ping timeout: 256 seconds] 10:49 -!- mdunnio [~mdunnio@208.59.170.5] has joined #c-lightning 11:49 -!- mdunnio [~mdunnio@208.59.170.5] has quit [Remote host closed the connection] 12:22 -!- mdunnio [~mdunnio@208.59.170.5] has joined #c-lightning 12:28 -!- mdunnio [~mdunnio@208.59.170.5] has quit [Ping timeout: 258 seconds] 13:05 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 13:06 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 14:04 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has joined #c-lightning 15:33 -!- fiatjaf [~fiatjaf@177.205.197.19.dynamic.adsl.gvt.net.br] has quit [Ping timeout: 265 seconds] 16:03 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-xadswhvwruqyrqgr] has left #c-lightning [] 16:03 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-xadswhvwruqyrqgr] has joined #c-lightning 18:11 -!- harrigan [~harrigan@ptr-93-89-242-235.ip.airwire.ie] has quit [Read error: Connection reset by peer] 18:12 -!- harrigan [~harrigan@ptr-93-89-242-235.ip.airwire.ie] has joined #c-lightning 18:36 -!- fiatjaf [~fiatjaf@2804:7f2:2a83:3b59:ea40:f2ff:fe85:d2dc] has joined #c-lightning 19:51 -!- mol [~mol@unaffiliated/molly] has quit [Read error: Connection reset by peer] 19:53 -!- mol [~mol@unaffiliated/molly] has joined #c-lightning 20:16 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 20:31 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 20:34 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 20:34 -!- vasild_ is now known as vasild 22:41 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 260 seconds] --- Log closed Mon Jul 20 00:00:25 2020