--- Log opened Wed Apr 20 00:00:00 2022 00:35 -!- rusty [~rusty@210.185.125.71] has quit [Quit: Leaving.] 00:35 -!- rusty [~rusty@210.185.125.71] has joined #c-lightning 00:39 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Ping timeout: 240 seconds] 00:40 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 00:46 -!- rusty [~rusty@210.185.125.71] has quit [Ping timeout: 246 seconds] 00:53 -!- rusty [~rusty@210.185.125.71] has joined #c-lightning 00:56 -!- rusty [~rusty@210.185.125.71] has quit [Client Quit] 00:56 -!- rusty1 [~rusty@210.185.125.71] has joined #c-lightning 01:21 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Ping timeout: 240 seconds] 01:22 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 01:28 -!- rusty1 [~rusty@210.185.125.71] has quit [Ping timeout: 276 seconds] 01:34 -!- instagibbs [~instagibb@pool-100-15-139-5.washdc.fios.verizon.net] has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in] 01:35 -!- instagibbs [~instagibb@pool-100-15-139-5.washdc.fios.verizon.net] has joined #c-lightning 02:37 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Ping timeout: 240 seconds] 02:39 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 03:50 -!- rusty [~rusty@210.185.125.71] has joined #c-lightning 04:01 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Ping timeout: 240 seconds] 04:03 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 04:18 -!- jonatack83 [jonatack@user/jonatack] has joined #c-lightning 04:18 -!- jonatack83 [jonatack@user/jonatack] has quit [Client Quit] 04:20 -!- jonatack [jonatack@user/jonatack] has quit [Ping timeout: 240 seconds] 04:42 -!- wybpip[m] [~wybpipmat@2001:470:69fc:105::1:f452] has joined #c-lightning 04:42 -!- wybpip[m] [~wybpipmat@2001:470:69fc:105::1:f452] has left #c-lightning [] 04:53 -!- rusty [~rusty@210.185.125.71] has quit [Ping timeout: 240 seconds] 04:54 -!- Guest25 [~Guest25@218.17.40.68] has joined #c-lightning 04:54 -!- Guest25 [~Guest25@218.17.40.68] has quit [Write error: Broken pipe] 05:12 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Ping timeout: 240 seconds] 05:13 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 05:14 -!- rusty [~rusty@210.185.125.71] has joined #c-lightning 05:18 -!- jonatack [jonatack@user/jonatack] has joined #c-lightning 05:18 -!- rusty [~rusty@210.185.125.71] has quit [Ping timeout: 256 seconds] 05:45 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Ping timeout: 240 seconds] 05:49 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 06:10 -!- jonasschnelli [~jonasschn@2a01:4f9:2a:2510::2] has quit [Quit: ZNC - http://znc.in] 06:11 -!- jonasschnelli [~jonasschn@2a01:4f9:2a:2510::2] has joined #c-lightning 06:25 -!- jespada [~jespada@cpc121022-nmal24-2-0-cust171.19-2.cable.virginm.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 06:35 -!- jespada [~jespada@cpc121022-nmal24-2-0-cust171.19-2.cable.virginm.net] has joined #c-lightning 07:31 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 07:49 -!- achow101 [~achow101@user/achow101] has quit [Quit: Bye] 07:50 -!- achow101 [~achow101@user/achow101] has joined #c-lightning 09:38 -!- stonefox12885888 [~stonefox@user/stonefox] has joined #c-lightning 09:40 -!- stonefox1288588 [~stonefox@user/stonefox] has quit [Ping timeout: 240 seconds] 09:40 -!- stonefox12885888 is now known as stonefox1288588 11:09 -!- opsec_x122 [~opsec_x12@44-25-143-42.ip.hamwan.net] has quit [Ping timeout: 246 seconds] 11:35 -!- opsec_x12 [~opsec_x12@44.25.143.42] has joined #c-lightning 11:49 -!- opsec_x12 [~opsec_x12@44.25.143.42] has quit [Ping timeout: 276 seconds] 11:50 -!- opsec_x12 [~opsec_x12@44.25.143.42] has joined #c-lightning 13:11 < busch> Is it possible to pay an invoice via lightning-cli but make sure that the sats leave through a specific channel? 13:30 < joelklabo> I think `sendpay` can do that, instead of just `lightning-cli pay` https://lightning.readthedocs.io/lightning-sendpay.7.html 13:30 < joelklabo> Guess you need to get the route yourself with getroute 13:34 < busch> joelklabo, I am not sure I understand getroute, but I will try it anyway :) 13:35 < joelklabo> Yeah, I've never used it directly myself. But, it looks like you can use it to find a route to another node. And it can take channels you want to exclude so you could exclude everything but the one you want to use I guess? 13:43 -!- rusty [~rusty@210.185.125.71] has joined #c-lightning 13:48 < busch> joelklabo, I am stuck with the getroute command. It expects an array for nodes to exclude. Not sure how I can escape that correctly in the console. I tried ["nodeid"], "["nodeid"]" and '["nodeid"]' and ['nodeid'] and [nodeid] but always get error "cltv: should be an integer: invalid token" :) 13:49 -!- rusty [~rusty@210.185.125.71] has quit [Ping timeout: 250 seconds] 13:51 < joelklabo> I think it's actually an array of channel IDs, there is a bit of an example in the docs here: 13:51 < joelklabo> exclude is a JSON array of short-channel-id/direction (e.g. [ “564334x877x1/0”, “564195x1292x0/1” ]) or node-id which should be excluded from consideration for routing. The default is not to exclude any channels or nodes. Note if the source or destination is excluded, the command result is undefined. 13:52 < joelklabo> https://lightning.readthedocs.io/lightning-getroute.7.html 13:52 < busch> joelklabo, "short-channel-id or node-id". But same error using the channel short id 13:53 < busch> lightning-cli getroute 035e4ff418fc8b5554c5d9eea66396c227bd429a3251c8cbc711002ba215bfc226 1500000000 0 [ "732747x2338x1" ] 13:53 < busch> "message": "cltv: should be an integer: invalid token '\"[\"'" 13:53 < joelklabo> Hmm, yeah I see that now 13:55 < joelklabo> I think it thinks your excludes are the cltv, maybe set that to something or can you do --exclude=[] ? Sorry just guessing here 13:57 < busch> joelklabo, Yet, I am getting closer :D 13:57 < busch> lightning-cli getroute 035e4ff418fc8b5554c5d9eea66396c227bd429a3251c8cbc711002ba215bfc226 1500000000 0 9 0217d404d85bec37a1e03a7226855750c7b9efcd13c33dab9cfa8f9a0c9b22d092 5 ["732747x2338x1"] 13:57 < busch> "message": "exclude: should be short_channel_id_dir or node_id: invalid token '732747x2338x1'" 13:58 -!- rusty [~rusty@210.185.125.71] has joined #c-lightning 13:58 < busch> Ahhh, works using: lightning-cli getroute 035e4ff418fc8b5554c5d9eea66396c227bd429a3251c8cbc711002ba215bfc226 1500000000 0 9 0217d404d85bec37a1e03a7226855750c7b9efcd13c33dab9cfa8f9a0c9b22d092 5 ["732747x2338x1/0"] 13:59 < busch> (had to add "/0" at the end of the channel short-id 14:00 < joelklabo> Ah, nice! 14:02 < busch> Next step is to figure out how to use the "route" in sendpay 14:16 < joelklabo> Just curious, what does the output look like? from the getroute command? 14:17 < busch> joelklabo, https://pastebin.com/raw/28mtZJwf 14:53 -!- rusty [~rusty@210.185.125.71] has quit [Ping timeout: 250 seconds] 16:08 -!- rusty [~rusty@210.185.125.71] has joined #c-lightning 16:18 -!- mode/#c-lightning [+o rusty] by ChanServ 16:18 -!- rusty changed the topic of #c-lightning to: Code: https://github.com/ElementsProject/lightning Mailing List: https://lists.ozlabs.org/listinfo/c-lightning Current Version: https://github.com/ElementsProject/lightning/releases/tag/v0.11.0rc4 Logging: https://gnusha.org/c-lightning/ 16:19 -!- mode/#c-lightning [-o rusty] by rusty 16:25 -!- ademan[m] [~ademan@2001:470:69fc:105::1:16db] has quit [Ping timeout: 240 seconds] 16:26 -!- AdityaSharma[m] [~M1adityam@2001:470:69fc:105::c473] has quit [Ping timeout: 240 seconds] 16:26 -!- ademan[m] [~ademan@2001:470:69fc:105::1:16db] has joined #c-lightning 16:28 -!- AdityaSharma[m] [~M1adityam@2001:470:69fc:105::c473] has joined #c-lightning 16:43 -!- rusty [~rusty@210.185.125.71] has quit [Ping timeout: 240 seconds] 18:40 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 250 seconds] 19:09 -!- belcher [~belcher@user/belcher] has joined #c-lightning 19:22 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 22:29 -!- livestradamus [~quassel@user/livestradamus] has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.] 22:30 -!- livestradamus [~quassel@user/livestradamus] has joined #c-lightning 22:46 -!- rusty [~rusty@210.185.125.71] has joined #c-lightning 23:01 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 250 seconds] 23:03 -!- belcher [~belcher@user/belcher] has joined #c-lightning --- Log closed Thu Apr 21 00:00:01 2022