--- Log opened Sat Apr 10 00:00:21 2021 01:14 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 01:47 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-appjcgjzwowenres] has left #c-lightning [] 01:47 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-appjcgjzwowenres] has joined #c-lightning 02:23 -!- cryptoso- [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Remote host closed the connection] 02:24 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 02:47 -!- carboncarlo [900263cd@bbcs-99-205.pub.wingo.ch] has joined #c-lightning 02:48 -!- carboncarlo [900263cd@bbcs-99-205.pub.wingo.ch] has quit [Client Quit] 02:55 -!- HelloShitty [~psysc0rpi@bl20-171-222.dsl.telepac.pt] has quit [Read error: Connection reset by peer] 03:00 -!- carboncarlo [900263cd@bbcs-99-205.pub.wingo.ch] has joined #c-lightning 03:00 < carboncarlo> I'm looking for help with the multifundchannel command. I just can't get it to work. This is my latest attempt: 03:01 < carboncarlo> lightning-cli check multifundchannel -k destinations={"id":xx "amount":xxbtc "id":xy "amount":xxbtc} feerate=14000 03:01 < carboncarlo> *without the check ofc 03:04 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 03:11 -!- HelloShitty [~psysc0rpi@bl20-171-222.dsl.telepac.pt] has joined #c-lightning 03:34 -!- kabaum [~kabaum@host-217-213-87-160.mobileonline.telia.com] has joined #c-lightning 03:34 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Remote host closed the connection] 03:34 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 03:50 -!- kabaum [~kabaum@host-217-213-87-160.mobileonline.telia.com] has quit [Ping timeout: 265 seconds] 03:52 -!- carboncarlo [900263cd@bbcs-99-205.pub.wingo.ch] has quit [Quit: Connection closed] 04:03 -!- carboncarlo [900263cd@bbcs-99-205.pub.wingo.ch] has joined #c-lightning 04:22 <@cdecker> carboncarlo: you're pretty close, you just need to wrap the JSON dict in single quotes: lightning-cli check multifundchannel -k destinations='{"id":xx "amount":xxbtc "id":xy "amount":xxbtc}' feerate=14000 04:23 <@cdecker> That marks the entire thing as a single string to the shell, and is then passed (without the single quote) to the lightning-cli tool, that then decodes it into a JS object and sends it over the wire 04:23 < carboncarlo> cdecker ooooh okay, thanks a lot! 04:24 < carboncarlo> may I suggest that an example is included in the docsĀ '=D 04:25 < carboncarlo> I wouldn't have figured out the singe quotes ;) 04:43 -!- vincenzopalazzo [~vincenzop@host-80-181-199-140.retail.telecomitalia.it] has joined #c-lightning 04:49 -!- carboncarlo [900263cd@bbcs-99-205.pub.wingo.ch] has quit [Quit: Connection closed] 06:37 -!- rny [~rny@gateway/tor-sasl/renlord] has quit [Remote host closed the connection] 06:39 -!- rny [~rny@gateway/tor-sasl/renlord] has joined #c-lightning 07:29 <@cdecker> Yeah, we've been considering adding it, but that'd be cli specific, while the docs are currently aiming to be for developers using the API through a library. Might as well drop that library/cli independence since most users interface directly with the cli apparently 08:24 -!- belcher_ is now known as belcher 08:57 -!- openoms [~quassel@gateway/tor-sasl/openoms] has quit [Ping timeout: 240 seconds] 08:58 -!- openoms [~quassel@gateway/tor-sasl/openoms] has joined #c-lightning 09:00 -!- carboncarlo [900263cd@bbcs-99-205.pub.wingo.ch] has joined #c-lightning 09:05 < carboncarlo> cdecker yes, I mean it could also be just an example for the CLI, I think it would be very helpful. 09:06 < carboncarlo> It didn't work for me. I got an error that some parameters are malformed. 09:11 -!- Teoti [~teoti@104.247.234.65] has quit [Ping timeout: 268 seconds] 09:32 <@cdecker> Looking at the docs it seems you need to have an array of objects: '[{"destination": "030000...", "amount": "1234sat"}, {...}, ...]' 09:46 < carboncarlo> cdecker aha, ok, perfect. yes, I saw that an array was needed, but I didn't found how to formulate an array. thanks for your help. 09:55 -!- ksedgwic [ksedgwicma@gateway/shell/matrix.org/x-rxdmxvkxrhflhjna] has joined #c-lightning 10:00 -!- ksedgwic [ksedgwicma@gateway/shell/matrix.org/x-rxdmxvkxrhflhjna] has quit [Quit: authenticating] 10:00 -!- ksedgwic [ksedgwicma@gateway/shell/matrix.org/x-gcnkxatcyhrdfohv] has joined #c-lightning 10:07 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-appjcgjzwowenres] has left #c-lightning [] 10:07 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-appjcgjzwowenres] has joined #c-lightning 10:25 -!- carboncarlo [900263cd@bbcs-99-205.pub.wingo.ch] has quit [Quit: Connection closed] 10:55 -!- Netsplit *.net <-> *.split quits: @cdecker, @niftynei 10:56 -!- Netsplit over, joins: @cdecker, @niftynei 11:33 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has quit [Ping timeout: 240 seconds] 11:39 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 11:40 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has joined #c-lightning 11:45 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has quit [Ping timeout: 240 seconds] 11:46 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has joined #c-lightning 11:53 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has quit [Ping timeout: 240 seconds] 12:02 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Remote host closed the connection] 12:03 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 12:04 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has joined #c-lightning 12:10 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has quit [Ping timeout: 240 seconds] 12:11 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has joined #c-lightning 12:12 -!- carboncarlo [900263cd@bbcs-99-205.pub.wingo.ch] has joined #c-lightning 12:14 < carboncarlo> cdecker ok, it worked =) I just had needed to replace "destination" with "id" in the example you provided. all et and waiting for conf. 12:16 < carboncarlo> great tool not only to save on fees but also batch tx! 12:17 -!- carboncarlo [900263cd@bbcs-99-205.pub.wingo.ch] has quit [Client Quit] 12:23 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has quit [Ping timeout: 260 seconds] 12:34 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has joined #c-lightning 12:38 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has quit [Ping timeout: 246 seconds] 12:39 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has joined #c-lightning 12:44 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has quit [Ping timeout: 240 seconds] 12:44 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has joined #c-lightning 13:30 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Ping timeout: 240 seconds] 13:39 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Ping timeout: 240 seconds] 13:40 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 15:19 -!- az0re [~az0re@gateway/tor-sasl/az0re] has joined #c-lightning 15:34 < az0re> Hey niftynei, you previously told me to check out https://github.com/ElementsProject/lightning/blob/master/doc/PLUGINS.md#htlc_accepted regarding making an HTLC firewall. Is there a similar way to restrict channel opening only to whitelisted peers? 15:35 < az0re> Is that `openchannel2`? 15:36 < az0re> In order to make an effective channel opening firewall, would I need to implement both `openchannel` and `openchannel2`? 15:39 -!- grubles [~user@gateway/tor-sasl/grubles] has joined #c-lightning 16:48 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Ping timeout: 240 seconds] 16:49 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 17:00 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has quit [Ping timeout: 265 seconds] 17:00 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has joined #c-lightning 17:11 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has quit [Ping timeout: 240 seconds] 17:17 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has joined #c-lightning 17:21 <@niftynei> yes, that's correct 17:21 <@niftynei> openchannel will be from peer's attempting to open channels via the v1 open protocol; openchannel2 is v2 lol 17:24 < az0re> OK just wanted to make sure 17:24 < az0re> Thanks 17:27 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has quit [Ping timeout: 265 seconds] 17:28 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has joined #c-lightning 17:35 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has quit [Ping timeout: 240 seconds] 17:35 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has joined #c-lightning 18:03 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has quit [Ping timeout: 268 seconds] 18:13 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-appjcgjzwowenres] has left #c-lightning [] 18:13 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-appjcgjzwowenres] has joined #c-lightning 18:14 -!- EndFiat [EndFiat@gateway/vpn/mullvad/endfiat] has joined #c-lightning 18:46 < az0re> FYI I updated to git head and `getinfo` says that I'm still on v0.9.3 18:46 < az0re> I guess someone forgot to bump the version number? 19:42 <@niftynei> did you make install? 19:42 <@niftynei> sounds like you're still using v0.9.3 19:59 < az0re> I did not `make install`, just `make` 19:59 < az0re> I run it directly out of the build dir 20:00 < az0re> I mean, I just updated to git head, with a couple of my tweaks rebased on top of bbfcae652cb71d937b7f6dfa5122b16984b028df 20:00 < az0re> That's definitely past v0.10.0 20:22 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #c-lightning 20:25 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 240 seconds] 23:41 -!- az0re [~az0re@gateway/tor-sasl/az0re] has quit [Quit: Leaving] 23:54 -!- rh0nj [~rh0nj@88.99.167.175] has quit [Remote host closed the connection] 23:55 -!- rh0nj [~rh0nj@88.99.167.175] has joined #c-lightning --- Log closed Sun Apr 11 00:00:22 2021