--- Log opened Thu Dec 16 00:00:02 2021 00:43 -!- jarthur [~jarthur@cpe-70-114-198-37.austin.res.rr.com] has quit [Quit: jarthur] 00:48 -!- jarthur [~jarthur@2603-8080-1540-002d-e0b9-1b23-8395-a665.res6.spectrum.com] has joined #c-lightning 00:51 -!- jarthur [~jarthur@2603-8080-1540-002d-e0b9-1b23-8395-a665.res6.spectrum.com] has quit [Client Quit] 01:52 -!- nathanael [~nathanael@user/nathanael] has quit [Quit: connection reset by purr] 01:53 -!- nathanael [~nathanael@user/nathanael] has joined #c-lightning 02:03 -!- kexkey [~kexkey@static-198-54-132-137.cust.tzulo.com] has quit [Ping timeout: 252 seconds] 02:05 -!- kexkey [~kexkey@static-198-54-132-121.cust.tzulo.com] has joined #c-lightning 02:44 -!- dr-orlovsky [~dr-orlovs@31.14.40.18] has joined #c-lightning 02:47 < dr-orlovsky> Hi! I am connecting to c-lightning with a new lightning node written by me. I am getting init message where `gossip_queries_ex` is set and `gossip_queries` is not. This is against BOLT-9. However I am unsure is it a error in my decoding of feature flags, or real c-lightning unstandardness. 02:47 < dr-orlovsky> So questions: (1) where I can check/set/edit c-lightning features transmitted in the init message? Can't find them in the docs. (2) Is it true that c-lightning may set features without setting all required dependencies? 02:49 < dr-orlovsky> BTW I am using LNP Node - a new node written in Rust from the scratch with no other ln libs used; so have to go through all standards and check each bit. Currently I am trying to achieve 100% c-lightning compatibility and with that process will do a lot of other checks. Will be happy to report results here 03:08 -!- Victorsueca [~Victorsue@user/victorsueca] has quit [Ping timeout: 250 seconds] 03:09 < darosior> dr-orlovsky: you might be interested in https://github.com/rustyrussell/lnprototest 03:18 -!- Victorsueca [~Victorsue@user/victorsueca] has joined #c-lightning 03:18 -!- sr_gi [~sr_gi@static-120-137-229-77.ipcom.comunitel.net] has quit [Read error: Connection reset by peer] 03:18 -!- sr_gi [~sr_gi@static-120-137-229-77.ipcom.comunitel.net] has joined #c-lightning 03:30 -!- jonatack [jonatack@user/jonatack] has quit [Remote host closed the connection] 03:30 -!- jonatack [jonatack@user/jonatack] has joined #c-lightning 03:53 < vincenzopalazzo> dr-orlovsky: There is also a code generator from the spec https://github.com/dart-lightning/lnspec-codegen.py where you can implement your language. I had no time to write some integration testing yet, but I think can be useful for your node implementation too. 04:00 < dr-orlovsky> thank you guys, these are very useful suggestions! Regarding the issue, question (1) is resolved: it was encoding problem on my side, c-lightning puts correct features into init 04:00 < dr-orlovsky> still question (2) is pending 04:38 -!- willcl_ark [~quassel@user/willcl-ark/x-8282106] has quit [Ping timeout: 256 seconds] 04:38 -!- bocho [~bacho@242-189-16-190.fibertel.com.ar] has joined #c-lightning 04:44 -!- willcl_ark [~quassel@user/willcl-ark/x-8282106] has joined #c-lightning 05:58 -!- dr-orlovsky [~dr-orlovs@31.14.40.18] has quit [Ping timeout: 240 seconds] 05:59 -!- dr-orlovsky [~dr-orlovs@31.14.40.18] has joined #c-lightning 06:42 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Remote host closed the connection] 06:43 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 06:53 -!- jespada [~jespada@87.74.33.157] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 06:53 -!- jespada [~jespada@87.74.33.157] has joined #c-lightning 07:41 < andrewtoth_> I made a plugin to track unconfirmed txs via `listfunds` https://github.com/andrewtoth/listmempoolfunds 07:42 < andrewtoth_> It has to use a new RPC `listmempoolfunds`, since I couldn't find a way to modify `listfunds` command itself via the plugin interface 07:45 < andrewtoth_> Specifically, I want to get the result of a normal call to `listfunds`, and append to it. I can't hijack it via `rpc_command` hook, because you can't make a new rpc command in the hook 07:46 < andrewtoth_> Maybe there can be a way to modify the output of an rpc command after it is completed? Like a `rpc_response` hook? 07:48 < andrewtoth_> The main issue is you can't make a new rpc call back to lightningd if your plugin also subscribes to the `rpc_command` hook. The plugin will hang on any rpc call, even in another method, if `rpc_command` is subscribed. 07:49 < andrewtoth_> So even a `replace` response from the hook to another method in that plugin will fail. You need 2 plugins, one to replace via `rpc_command` and the other to create the new method. 08:18 -!- andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 08:19 -!- andrewtoth [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #c-lightning 09:26 < cdecker[m]> Interesting use case, sounds a lot like you're trying to implement a modifying middleware, which indeed doesn't work in this case. The new rpc method is pretty much the intended way to do something like this. It's cleaner as a new rpc method is free to implement new semantics and new respinse formats (both things that might break existing tools and UIs if we allow them). 09:47 -!- andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #c-lightning 09:48 -!- andrewtoth [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Ping timeout: 276 seconds] 09:51 -!- bocho [~bacho@242-189-16-190.fibertel.com.ar] has quit [Quit: Leaving] 10:07 -!- jb55 [~jb55@S010660e327dca171.vc.shawcable.net] has joined #c-lightning 10:27 < andrewtoth_> cdecker: makes sense, thanks 10:32 < cdecker[m]> I should also mention that that is my opinion, but open to discussion 😉 12:28 -!- rojiro [~rojiro@gateway/tor-sasl/rojiro] has quit [Remote host closed the connection] 12:28 -!- rojiro [~rojiro@gateway/tor-sasl/rojiro] has joined #c-lightning 15:06 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #c-lightning 15:07 -!- andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 15:29 -!- andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #c-lightning 15:29 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 16:24 -!- rusty [~rusty@pa49-178-188-8.pa.nsw.optusnet.com.au] has joined #c-lightning 18:11 -!- rusty [~rusty@pa49-178-188-8.pa.nsw.optusnet.com.au] has quit [Ping timeout: 256 seconds] 18:26 -!- An0rak [An0rak@user/an0rak] has joined #c-lightning 19:18 -!- jb55 [~jb55@S010660e327dca171.vc.shawcable.net] has quit [Ping timeout: 256 seconds] 19:21 -!- jespada [~jespada@87.74.33.157] has quit [Ping timeout: 240 seconds] 19:22 -!- jespada [~jespada@87.74.33.157] has joined #c-lightning --- Log closed Fri Dec 17 00:00:03 2021