--- Log opened Tue May 31 00:00:38 2022 00:26 -!- evanlinjin [~evanlinji@gateway/tor-sasl/evanlinjin] has joined #c-lightning 00:45 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 255 seconds] 00:48 -!- evanlinjin [~evanlinji@gateway/tor-sasl/evanlinjin] has quit [Ping timeout: 240 seconds] 02:04 -!- kexkey [~kexkey@178.249.214.10] has quit [Ping timeout: 240 seconds] 02:06 -!- kexkey [~kexkey@static-198-54-132-140.cust.tzulo.com] has joined #c-lightning 04:20 -!- evanlinjin [~evanlinji@gateway/tor-sasl/evanlinjin] has joined #c-lightning 04:23 -!- rusty [~rusty@192.210.19.202] has quit [Ping timeout: 258 seconds] 05:05 -!- evanlinjin [~evanlinji@gateway/tor-sasl/evanlinjin] has quit [Ping timeout: 240 seconds] 05:06 -!- evanlinjin [~evanlinji@gateway/tor-sasl/evanlinjin] has joined #c-lightning 05:08 -!- litch [~litch@2605:a601:aa3d:3a00:b971:a336:744f:9f97] has joined #c-lightning 05:09 < litch> GM - I'm working on a plugin in Rust and struggling a little bit. I've got the configuration loading stuff figured out, but I'm not exactly clear how my executable should communicate with the node. 05:10 < litch> I've tried effectively this path: https://github.com/ElementsProject/lightning/blob/master/cln-rpc/examples/getinfo.rs#L15 05:14 < litch> But I get a runtime error around "Killing plugin: JSON-RPC message does not contain "jsonrpc" field" - which makes me a bit confused. I guess I'm looking for a bit of high level direction here. I'm thinking that my current options are trying to have my plugin effectively consume the cln-grpc plugin. Or maybe I am intended to reimplement the relevant RPC calls that cln-grpc makes into the node. Or maybe that `plug 05:14 < litch> in` object I get from the Builder can actually already talk to the node? I'm just a bit stumped and looking for direction at the moment. Someone just extending the example plugin (https://github.com/ElementsProject/lightning/blob/master/plugins/examples/cln-plugin-startup.rs) with a `getinfo` call would be very very appreciated 05:14 < vincenzopalazzo> litch: mh really the rust rpc wrapper not include the jsonrpc? 05:14 < vincenzopalazzo> Mh give me a set 05:17 < vincenzopalazzo> ok! now the error is confusing me too, there is any way to reproduce the error in my local machine? 05:17 < litch> Let me get back to that spot and push the repo 05:20 < litch> https://github.com/litch/ceebalancer 05:21 < litch> And this is where I'm trying to make the call: https://github.com/litch/ceebalancer/blob/main/src/main.rs#L111 05:26 < vincenzopalazzo> the path of the rpc file is not correct, but I need to be at the desk to see how we can get the path of the rpc from the init conf. Maybe with this PR https://github.com/ElementsProject/lightning/pull/5279 05:28 < litch> Oh! Justin Moon is playing with this too. Excellent - another crazy Justin in Austin 05:32 < litch> I think that's somewhat related. I think the higher level (more general question) is "How is it intended for my plugin to communicate with the node"? Through (json?) RPC/(gRPC) calls on something like that? 05:55 -!- kexkey [~kexkey@static-198-54-132-140.cust.tzulo.com] has quit [Ping timeout: 258 seconds] 06:03 -!- jonatack [~jonatack@user/jonatack] has joined #c-lightning 06:08 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 246 seconds] 06:29 < vincenzopalazzo> "I think that's somewhat related...." <- with Unix socket RPC 06:29 < vincenzopalazzo> I don't see any reason to use grpc, but you could(?) 07:03 < litch> ok perfect @vincenzopalazzo - and that would be "speaking" jsonrpc over the unix socket? 07:03 < vincenzopalazzo> litch: yes 07:03 < litch> ok super helpful thank you 07:43 -!- kexkey [~kexkey@178.249.214.25] has joined #c-lightning 08:08 -!- evanlinjin [~evanlinji@gateway/tor-sasl/evanlinjin] has quit [Ping timeout: 240 seconds] 09:20 < litch> I've confirmed that the `example` in `cln-rpc/example` compiles and executes correctly when I give it the RPC path. So it's downstream from that. 09:24 < vincenzopalazzo> litch: yeah, I see, there is no error json rpc implementation, I checked before 09:41 -!- endothermicdev [~endotherm@12.13.16.109] has joined #c-lightning 09:44 -!- rusty [~rusty@12.13.16.110] has joined #c-lightning 10:13 -!- rusty [~rusty@12.13.16.110] has quit [Ping timeout: 276 seconds] 10:22 -!- rusty [~rusty@12.13.16.110] has joined #c-lightning 10:24 -!- jonatack [~jonatack@user/jonatack] has joined #c-lightning 11:19 -!- rusty [~rusty@12.13.16.110] has quit [Ping timeout: 255 seconds] 11:41 -!- rusty [~rusty@12.13.16.110] has joined #c-lightning 12:29 -!- endothermicdev [~endotherm@12.13.16.109] has quit [Ping timeout: 246 seconds] 12:47 -!- rusty [~rusty@12.13.16.110] has quit [Quit: Leaving.] 13:03 -!- endothermicdev [~endotherm@12.13.16.109] has joined #c-lightning 13:48 -!- kexkey [~kexkey@178.249.214.25] has quit [Ping timeout: 276 seconds] 13:52 -!- rusty [~rusty@12.13.16.110] has joined #c-lightning 14:42 -!- Guest614 [~Guest6@95-165-160-25.static.spd-mgts.ru] has joined #c-lightning 14:45 -!- Guest614 [~Guest6@95-165-160-25.static.spd-mgts.ru] has quit [Client Quit] 15:31 -!- rusty [~rusty@12.13.16.110] has quit [Ping timeout: 258 seconds] 17:10 -!- rusty [~rusty@12.13.16.110] has joined #c-lightning 17:19 -!- endothermicdev [~endotherm@12.13.16.109] has quit [Ping timeout: 246 seconds] 17:28 -!- rusty [~rusty@12.13.16.110] has quit [Ping timeout: 255 seconds] 17:40 -!- endothermicdev [~endotherm@12.13.16.109] has joined #c-lightning 17:47 -!- Victorsueca [~Victorsue@user/victorsueca] has quit [Ping timeout: 258 seconds] 18:02 -!- endothermicdev [~endotherm@12.13.16.109] has quit [Remote host closed the connection] 18:17 -!- evanlinjin [~evanlinji@gateway/tor-sasl/evanlinjin] has joined #c-lightning 18:32 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 18:35 -!- bitdex_ [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 18:38 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Ping timeout: 240 seconds] 19:05 -!- kexkey [~kexkey@178.249.214.25] has joined #c-lightning 21:00 -!- achow101 [~achow101@user/achow101] has quit [Quit: Bye] 21:00 -!- achow101 [~achow101@user/achow101] has joined #c-lightning 23:43 -!- stonefox48 [~stonefox@user/stonefox] has joined #c-lightning 23:45 -!- stonefox4 [~stonefox@user/stonefox] has quit [Ping timeout: 246 seconds] 23:45 -!- stonefox48 is now known as stonefox4 --- Log closed Wed Jun 01 00:00:39 2022