--- Log opened Thu Jul 01 00:00:53 2021 00:04 < gijswijs> I keep getting this error with my nodes running on regtest: Peer transient failure in CHANNELD_NORMAL: channeld WARNING: update_fee 0 outside range 253-4294967295 00:05 < gijswijs> Where does the update_fee = 0 come from? 00:06 < gijswijs> (I know I posted this here earlier, but I accidentally signed out of IRC, so I don't know if someone has answered) 00:09 < gijswijs> I thought the update_fee comes from bitcoind estimatesmartfee, but if I bootstrap estimatesmartfee, or run bitcoind with the -fallbackfee option, I still get this error. 00:18 < gijswijs> Just checked the logs, and I didn't receive an answer yet... :`(. I could really use some help here, plz. 00:19 -!- k3tan [~pi@user/k3tan] has quit [Ping timeout: 272 seconds] 00:21 -!- belcher_ is now known as belcher 00:22 -!- k3tan [~pi@user/k3tan] has joined #c-lightning 00:30 -!- lxer [~lx@ip5f5bf666.dynamic.kabel-deutschland.de] has joined #c-lightning 00:37 < gijswijs> fiatjaf: The python plugin framework seems to write to stdout 00:38 < gijswijs> It doesn't seem to use the rpc method. 00:44 -!- Guest75 [~Guest75@180-14-107-185.static.kviknet.dk] has joined #c-lightning 00:46 < Guest75> Is there a way to know which lightning node payed my invoice? 02:53 -!- Guest75 [~Guest75@180-14-107-185.static.kviknet.dk] has quit [Quit: Client closed] 02:55 -!- Guest75 [~Guest75@180-14-107-185.static.kviknet.dk] has joined #c-lightning 03:01 < mschmoock> cdecker: niftynei: I updated and retested #4617 . Seems we have reproducible issue here on master caused by e81e640e7 03:05 < cdecker[m]> Yeah, my intuition is that it's just the system calls to print logs that are slowing us down here (a log message causes string formatting with at least one allocation, then another allocation to serialize as JSON-RPC notification, then queuing to send to the main daemon, sending, receiving on the main daemon side, parsing, string formatting and then a system call to actually write to stdout) 03:05 < cdecker[m]> We likely just need to remove those noisy log statements, since they're not that useful anyway as they print pointer addresses. 03:06 -!- rusty [~rusty@103.93.169.121] has joined #c-lightning 03:07 < mschmoock> cdecker: the command is also slow with loglevel info. 03:07 < mschmoock> (and no messages printed, not sure if it does the printf internally anyway) 03:08 < mschmoock> let me check... 03:10 < mschmoock> cdecker: seems your right 03:10 < mschmoock> The issue is gone wthout these debug statements 03:14 < mschmoock> I wonder if we can optimize the logger 03:16 < mschmoock> https://github.com/ElementsProject/lightning/pull/4627 04:03 -!- Guest75 [~Guest75@180-14-107-185.static.kviknet.dk] has quit [Quit: Client closed] 04:08 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 04:15 -!- Guest94 [~textual@194.62.169.65.ipv4.parknet.dk] has joined #c-lightning 04:27 < fiatjaf> rusty: so there is indeed an rpc call called "log"? 04:28 < fiatjaf> I can't call it from the CLI 04:28 < rusty> fiatjaf: technically not an RPC, it's a plugin command? 04:28 < rusty> ie. plugins can feed it over stdout to c-lightning. 04:28 < rusty> I misspoke before 04:30 < fiatjaf> but it works the same as an rpc call? 04:31 < fiatjaf> no, I must send it over stdout instead of through the rpc socket 04:31 < fiatjaf> is that it? 04:31 < fiatjaf> that thing is not in the docs, is it? 04:32 < fiatjaf> gijswijs: now I get what you mean 04:34 -!- rusty [~rusty@103.93.169.121] has quit [Ping timeout: 268 seconds] 04:51 -!- rusty [~rusty@103.93.169.121] has joined #c-lightning 05:03 -!- rusty [~rusty@103.93.169.121] has quit [Ping timeout: 240 seconds] 05:48 < cdecker[m]> Probably not worth the effort, the logs take quite the long route to get to stdout but I don't know what to cut 07:29 -!- lxer [~lx@ip5f5bf666.dynamic.kabel-deutschland.de] has quit [Ping timeout: 240 seconds] 07:39 < fiatjaf> cdecker[m]: what do you mean? I don't get it 07:40 < fiatjaf> couldn't lightningd grab whatever is printed to stderr from plugins and use those as logs? 07:40 < fiatjaf> that was what I thought it was doing 07:51 -!- lxer [~lx@ip5f5bf666.dynamic.kabel-deutschland.de] has joined #c-lightning 08:10 < cdecker[m]> Well, stderr is passthrough, so lightningd doesn't really do anything with it. The downside is that it also means that plugins share that resouce and may end up messing up each other's log lines 08:11 < cdecker[m]> Also, it'd save us the wrapping in JSON-RPC notification, but nothing else really. Plus accessing stdout on a console can be even slower than the pipes we already use 13:51 -!- Guest94 [~textual@194.62.169.65.ipv4.parknet.dk] has quit [Quit: Textual IRC Client: www.textualapp.com] 15:18 -!- lxer [~lx@ip5f5bf666.dynamic.kabel-deutschland.de] has quit [Ping timeout: 268 seconds] 16:47 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 17:04 -!- rusty [~rusty@tro1759202.lnk.telstra.net] has joined #c-lightning 17:21 -!- belcher_ [~belcher@user/belcher] has joined #c-lightning 17:25 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 272 seconds] 17:34 -!- rusty [~rusty@tro1759202.lnk.telstra.net] has quit [Ping timeout: 272 seconds] 17:54 -!- rusty [~rusty@103.93.169.121] has joined #c-lightning 20:10 -!- openoms[m] [~openomsma@2001:470:69fc:105::c2f] has quit [Read error: Connection reset by peer] 20:10 -!- devrandom [~devrandom@2001:470:69fc:105::d4d] has quit [Read error: Connection reset by peer] 20:10 -!- ksedgwic [~ksedgwicm@2001:470:69fc:105::ce1] has quit [Remote host closed the connection] 20:10 -!- vincenzopalazzo [~vincenzop@2001:470:69fc:105::a67] has quit [Remote host closed the connection] 20:10 -!- Dan[m] [~drobertsm@2001:470:69fc:105::c80] has quit [Remote host closed the connection] 20:11 -!- cdecker[m] [~cdeckerma@2001:470:69fc:105::2e8e] has quit [Remote host closed the connection] 20:12 -!- vincenzopalazzo [~vincenzop@2001:470:69fc:105::a67] has joined #c-lightning 20:18 -!- openoms[m] [~openomsma@2001:470:69fc:105::c2f] has joined #c-lightning 20:18 -!- devrandom [~devrandom@2001:470:69fc:105::d4d] has joined #c-lightning 20:18 -!- Dan[m] [~drobertsm@2001:470:69fc:105::c80] has joined #c-lightning 20:18 -!- cdecker[m] [~cdeckerma@2001:470:69fc:105::2e8e] has joined #c-lightning 20:18 -!- ksedgwic [~ksedgwicm@2001:470:69fc:105::ce1] has joined #c-lightning 20:34 -!- vincenzopalazzo [~vincenzop@2001:470:69fc:105::a67] has quit [Quit: node-irc says goodbye] 20:34 -!- openoms[m] [~openomsma@2001:470:69fc:105::c2f] has quit [Quit: node-irc says goodbye] 20:34 -!- devrandom [~devrandom@2001:470:69fc:105::d4d] has quit [Quit: node-irc says goodbye] 20:35 -!- ksedgwic [~ksedgwicm@2001:470:69fc:105::ce1] has quit [Quit: node-irc says goodbye] 20:36 -!- cdecker[m] [~cdeckerma@2001:470:69fc:105::2e8e] has quit [Quit: node-irc says goodbye] 20:43 -!- Dan[m] [~drobertsm@2001:470:69fc:105::c80] has quit [Quit: node-irc says goodbye] 20:58 -!- arowser [~quassel@103.82.227.50] has joined #c-lightning 21:11 -!- arowser [~quassel@103.82.227.50] has quit [Quit: No Ping reply in 180 seconds.] 21:13 -!- arowser [~quassel@103.82.227.50] has joined #c-lightning 21:31 -!- arowser [~quassel@103.82.227.50] has quit [Quit: No Ping reply in 180 seconds.] 21:33 -!- arowser [~quassel@103.82.227.50] has joined #c-lightning 21:40 -!- arowser [~quassel@103.82.227.50] has quit [Read error: Connection reset by peer] 21:41 -!- arowser [~quassel@103.82.227.50] has joined #c-lightning 21:56 -!- arowser [~quassel@103.82.227.50] has quit [Quit: No Ping reply in 180 seconds.] 21:58 -!- arowser [~quassel@103.82.227.50] has joined #c-lightning 22:25 -!- lxer [~lx@ip5f5bf666.dynamic.kabel-deutschland.de] has joined #c-lightning 22:33 -!- arowser [~quassel@103.82.227.50] has quit [Ping timeout: 268 seconds] 22:34 -!- arowser [~quassel@103.82.227.50] has joined #c-lightning 22:53 -!- arowser [~quassel@103.82.227.50] has quit [Quit: No Ping reply in 180 seconds.] 22:55 -!- arowser [~quassel@103.82.227.50] has joined #c-lightning 23:17 -!- arowser [~quassel@103.82.227.50] has quit [Ping timeout: 265 seconds] 23:17 -!- arowser [~quassel@103.82.227.50] has joined #c-lightning 23:35 -!- arowser [~quassel@103.82.227.50] has quit [Ping timeout: 265 seconds] 23:37 -!- arowser [~quassel@103.82.227.50] has joined #c-lightning 23:53 -!- arowser_ [~quassel@103.82.227.50] has joined #c-lightning 23:54 -!- arowser [~quassel@103.82.227.50] has quit [Ping timeout: 272 seconds] --- Log closed Fri Jul 02 00:00:54 2021