--- Log opened Tue Nov 03 00:00:05 2020 00:12 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Ping timeout: 240 seconds] 00:20 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 00:24 -!- sr_gi [~sr_gi@static-77-88-225-77.ipcom.comunitel.net] has quit [Read error: Connection reset by peer] 00:25 -!- sr_gi [~sr_gi@static-77-88-225-77.ipcom.comunitel.net] has joined #c-lightning 00:32 -!- kristapsk_ [~KK@gateway/tor-sasl/kristapsk] has joined #c-lightning 00:32 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has quit [Remote host closed the connection] 00:53 -!- mrostecki [~mrostecki@gateway/tor-sasl/mrostecki] has quit [Quit: Leaving] 00:57 -!- mrostecki [~mrostecki@gateway/tor-sasl/mrostecki] has joined #c-lightning 02:00 -!- mrostecki [~mrostecki@gateway/tor-sasl/mrostecki] has quit [Quit: Leaving] 02:06 -!- mrostecki [~mrostecki@gateway/tor-sasl/mrostecki] has joined #c-lightning 02:08 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 02:10 -!- shesek [~shesek@unaffiliated/shesek] has joined #c-lightning 02:11 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 02:11 -!- vasild_ is now known as vasild 02:17 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-zzgbwiizjmpgirfq] has left #c-lightning [] 02:17 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-zzgbwiizjmpgirfq] has joined #c-lightning 02:35 -!- mrostecki [~mrostecki@gateway/tor-sasl/mrostecki] has quit [Quit: Leaving] 02:37 -!- jasan [~jasan@adsl-dyn222.91-127-240.t-com.sk] has joined #c-lightning 02:39 -!- mrostecki [~mrostecki@gateway/tor-sasl/mrostecki] has joined #c-lightning 03:04 -!- mrostecki [~mrostecki@gateway/tor-sasl/mrostecki] has quit [Quit: Leaving] 03:10 -!- mrostecki [~mrostecki@gateway/tor-sasl/mrostecki] has joined #c-lightning 03:52 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #c-lightning 03:55 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 256 seconds] 05:09 -!- jasan [~jasan@adsl-dyn222.91-127-240.t-com.sk] has quit [Ping timeout: 256 seconds] 05:19 -!- PaulTroon [rich@2600:3c00::f03c:92ff:fe8e:dce6] has joined #c-lightning 05:21 -!- belcher_ is now known as belcher 05:31 -!- ctrlbreak [~ctrlbreak@159.2.182.106] has quit [Remote host closed the connection] 05:31 -!- ctrlbreak [~ctrlbreak@159.2.182.106] has joined #c-lightning 06:04 < PaulTroon> Any tips for diagnosing "Ran out of routes to try after 2 attempts: see `paystatus`" error? I'm trying to help a friend with 2 channels, one 100K sats the other 50K sats. Invoice is for 2.8 sats 06:05 < PaulTroon> Could this be caused by the high onchain fee environment? 06:11 -!- kexkey [~kexkey@static-198-54-132-118.cust.tzulo.com] has joined #c-lightning 06:29 < m-schmoock> cdecker: https://github.com/ElementsProject/lightning/issues/4175 06:29 < m-schmoock> Also I discovered more plugin handling issues using start/stop/rescan 06:30 < m-schmoock> we should fix these for the next release since we know them already 06:36 < m-schmoock> This: https://github.com/ElementsProject/lightning/issues/4176 06:42 < m-schmoock> also this is fun: https://github.com/ElementsProject/lightning/issues/4177 ^^ 06:43 < m-schmoock> so enough on the issues for today... lets do fix things. 07:56 -!- jonasschnelli [~jonasschn@unaffiliated/jonasschnelli] has joined #c-lightning 08:03 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 08:05 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 08:12 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 08:13 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 08:36 -!- az0re [~az0re@gateway/tor-sasl/az0re] has quit [Remote host closed the connection] 08:49 -!- az0re [~az0re@gateway/tor-sasl/az0re] has joined #c-lightning 10:19 -!- kristapsk_ is now known as kristapsk 10:32 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-zzgbwiizjmpgirfq] has left #c-lightning [] 10:32 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-zzgbwiizjmpgirfq] has joined #c-lightning 11:02 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Remote host closed the connection] 11:03 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 11:25 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Ping timeout: 256 seconds] 11:32 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 11:33 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 11:48 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 12:03 -!- az0re [~az0re@gateway/tor-sasl/az0re] has quit [Remote host closed the connection] 12:13 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 12:27 -!- az0re [~az0re@gateway/tor-sasl/az0re] has joined #c-lightning 13:18 < fiatjaf> how can I make an onionreply from the next hop in a route? 13:18 < fiatjaf> (if I have its keys) 13:19 < fiatjaf> the create_onionreply and the wrap_onionreply functions take a "secret" parameter but don't use it for anything, is that it or are my eyes tricking me? 13:21 < HelloShitty> rusty 13:21 < HelloShitty> IS your node offline? 13:29 < fiatjaf> HelloShitty: yes 13:29 < HelloShitty> fiatjaf: you also se him offline? 13:30 < HelloShitty> I know you from somewhere 13:30 < fiatjaf> HelloShitty: there's an issue: https://github.com/ElementsProject/lightning/issues/4177 13:30 < fiatjaf> from your dreams 13:30 < fiatjaf> maybe 13:31 < HelloShitty> you're related to some telegram Lightning bot, no? 13:58 -!- mrostecki [~mrostecki@gateway/tor-sasl/mrostecki] has quit [Quit: Leaving] 14:08 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 14:12 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 14:12 -!- vasild_ is now known as vasild 14:13 < fiatjaf> yes 14:13 < fiatjaf> nevermind the parameter is not called 'secret', but 'shared key', I'm stupid 14:14 < fiatjaf> shared_secret* 14:14 < fiatjaf> ok 14:14 < fiatjaf> now one question: 14:15 < fiatjaf> what is this shared_secret? 14:15 < fiatjaf> it's an ECDH secret between the payment initiator and each node in the route? 14:15 < fiatjaf> I mean one shared_secret for each 14:16 -!- mrostecki [~mrostecki@gateway/tor-sasl/mrostecki] has joined #c-lightning 14:16 < fiatjaf> but if the node in the route doesn't know who is the initiator how can it calculate the shared_secret? 14:17 < fiatjaf> or is it just some random value that comes inside the onion, assymetrically encrypted with the pubkey of each node in the route, that each node in the route then use to decrypt the rest of the onion? 14:48 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 15:03 -!- mrostecki [~mrostecki@gateway/tor-sasl/mrostecki] has quit [Remote host closed the connection] 15:29 -!- kexkey [~kexkey@static-198-54-132-118.cust.tzulo.com] has quit [Ping timeout: 256 seconds] 15:47 < fiatjaf> I guess I must read the entire BOLT4 15:47 < rusty> fiatjaf: it's the hardest to parse BOLT, TBH... 16:12 -!- jonatack [~jon@109.202.107.5] has quit [Ping timeout: 272 seconds] 16:14 -!- jonatack [~jon@213.152.161.101] has joined #c-lightning 16:46 -!- ctrlbreak [~ctrlbreak@159.2.182.106] has quit [Remote host closed the connection] 16:46 -!- ctrlbreak [~ctrlbreak@159.2.182.106] has joined #c-lightning 16:54 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has quit [Remote host closed the connection] 16:55 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has joined #c-lightning 16:57 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has quit [Remote host closed the connection] 16:57 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has joined #c-lightning 17:13 -!- willcl_ark [~quassel@cpc123762-trow7-2-0-cust7.18-1.cable.virginm.net] has quit [Ping timeout: 240 seconds] 17:21 -!- willcl_ark [~quassel@cpc123780-trow7-2-0-cust177.18-1.cable.virginm.net] has joined #c-lightning 17:47 -!- alko89 [~alko89@unaffiliated/alko89] has quit [Quit: ZNC 1.7.5 - https://znc.in] 17:49 -!- alko89 [~alko89@unaffiliated/alko89] has joined #c-lightning 17:55 -!- cryptoso- [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 17:56 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Remote host closed the connection] 18:44 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 256 seconds] 18:49 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-zzgbwiizjmpgirfq] has left #c-lightning [] 18:50 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-zzgbwiizjmpgirfq] has joined #c-lightning 19:01 < fiatjaf> why is 'next_onion' and 'shared_secret' on htlc_accepted? 19:01 < fiatjaf> empty* 19:01 < fiatjaf> why are they empty? 19:02 < fiatjaf> I'm intercepting the payment and I'm the penultimate hop (the last hop is fake) 19:03 < fiatjaf> also, if I get the value from 'onion.payload' and parse it with pyln.proto I get TlvPayload[TlvField[amt_to_forward,2=10c8e0], TlvField[outgoing_cltv_value,4=09ffcd], TlvField[short_channel_id,6=1be6bdd330cb656c]] 19:04 < fiatjaf> shouldn't that also include an ephemeral key, hmac etc.? 19:04 < fiatjaf> (disclaimer: I have not finished reading the bolt4 yet) 19:09 < rusty> fiatjaf: those fields are for hop blinding, which is not in spec yet. 19:09 < rusty> fiatjaf: you're seeing the contents here, already unwrapped. 19:10 < fiatjaf> but I want the ephemeral key. is it there? 19:11 < fiatjaf> "00e06006621fc6a401000000000001e0780009ffe2000000000000000000000000" 19:11 < rusty> No, that's already unpacked. 19:11 < fiatjaf> this is the a very short onion, is it correct? 19:11 < fiatjaf> oh 19:11 < fiatjaf> already unpacked 19:11 < rusty> Pretty normal these days, in fact. 19:13 < fiatjaf> what about the next_onion? shouldn't it be there? 19:13 < rusty> No, this is just the payload for this hop. 19:14 < rusty> But yes, you get those fields too: 19:14 < rusty> json_add_hex_talarr(s, "next_onion", p->next_onion); 19:14 < rusty> json_add_secret(s, "shared_secret", hin->shared_secret); 19:23 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 19:38 < fiatjaf> oh 19:38 < fiatjaf> it's just the docs that are wrong 19:39 < rusty> fiatjaf: doc/PLUGINS.md:952 ? 19:40 < fiatjaf> yes 19:41 < fiatjaf> I'm opening a PR 19:41 < rusty> fiatjaf: :+1: 19:49 -!- jonatack [~jon@213.152.161.101] has quit [Ping timeout: 256 seconds] 19:51 -!- jonatack [~jon@88.124.242.136] has joined #c-lightning 20:02 -!- az0re [~az0re@gateway/tor-sasl/az0re] has quit [Remote host closed the connection] 20:03 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 260 seconds] 20:04 -!- queip_ [~queip@unaffiliated/rezurus] has joined #c-lightning 20:06 -!- queip_ is now known as queip 20:12 -!- az0re [~az0re@gateway/tor-sasl/az0re] has joined #c-lightning 20:18 -!- jonatack [~jon@88.124.242.136] has quit [Ping timeout: 258 seconds] 20:40 -!- mdunnio [~mdunnio@208.59.170.5] has joined #c-lightning 20:45 -!- mdunnio [~mdunnio@208.59.170.5] has quit [Ping timeout: 272 seconds] 21:31 -!- jonatack [~jon@88.124.242.136] has joined #c-lightning 22:32 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 23:17 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 23:24 -!- m-schmoock [~will@schmoock.net] has quit [Ping timeout: 272 seconds] 23:28 -!- shesek [~shesek@unaffiliated/shesek] has quit [Remote host closed the connection] 23:48 -!- jasan [~jasan@2001:470:6f:200:8825:7190:1ec9:90da] has joined #c-lightning --- Log closed Wed Nov 04 00:00:06 2020