--- Log opened Tue May 12 00:00:18 2020 00:07 -!- ghost43_ [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 00:08 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #c-lightning 00:26 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 00:35 -!- t0mix [~t0mix@78-141-123-99.dynamic.orange.sk] has joined #c-lightning 01:35 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 272 seconds] 01:38 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Quit: liberliver] 01:39 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 01:43 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 01:45 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #c-lightning 02:28 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has left #c-lightning [] 02:28 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has joined #c-lightning 02:29 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Ping timeout: 240 seconds] 02:29 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 02:41 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 02:41 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #c-lightning 02:42 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 02:42 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Ping timeout: 256 seconds] 02:42 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 02:44 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 02:50 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Ping timeout: 256 seconds] 02:50 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 02:58 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Ping timeout: 240 seconds] 02:58 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 03:10 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Ping timeout: 260 seconds] 03:11 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 03:16 -!- k3tan [~pi@unaffiliated/k3tan] has quit [Ping timeout: 240 seconds] 03:18 -!- k3tan [~pi@unaffiliated/k3tan] has joined #c-lightning 03:31 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Ping timeout: 260 seconds] 03:31 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 03:35 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Ping timeout: 256 seconds] 03:36 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 03:39 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 03:55 -!- liberliver1 [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 03:55 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Read error: Connection reset by peer] 03:55 -!- liberliver1 is now known as liberliver 04:02 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 04:03 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Ping timeout: 240 seconds] 04:24 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 04:33 -!- nibbier [~quassel@mx01.geekbox.info] has quit [Read error: Connection reset by peer] 05:06 -!- fibericon [6ffa5428@111-250-84-40.dynamic-ip.hinet.net] has joined #c-lightning 05:07 < fibericon> Hi all. I've had bitcoind running for a while on an ubuntu box, and I'm setting up lightningd for the first time. Installation went well and it's running, but I'm having trouble wrapping my head around sending funds. 06:02 <@cdecker> fibericon: can you walk me through what you did, and what you are trying to do? 06:04 -!- sr_gi_ [~sr_gi@128.red-79-154-168.dynamicip.rima-tde.net] has joined #c-lightning 06:06 -!- sr_gi [~sr_gi@128.red-79-154-168.dynamicip.rima-tde.net] has quit [Ping timeout: 260 seconds] 06:07 -!- sr_gi_ [~sr_gi@128.red-79-154-168.dynamicip.rima-tde.net] has quit [Remote host closed the connection] 06:08 -!- sr_gi [~sr_gi@128.red-79-154-168.dynamicip.rima-tde.net] has joined #c-lightning 06:08 -!- sr_gi [~sr_gi@128.red-79-154-168.dynamicip.rima-tde.net] has quit [Remote host closed the connection] 06:09 -!- sr_gi [~sr_gi@128.red-79-154-168.dynamicip.rima-tde.net] has joined #c-lightning 06:09 -!- sr_gi [~sr_gi@128.red-79-154-168.dynamicip.rima-tde.net] has quit [Remote host closed the connection] 06:10 -!- sr_gi [~sr_gi@128.red-79-154-168.dynamicip.rima-tde.net] has joined #c-lightning 06:15 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 06:18 < fibericon> My thinking was that I could use the balance from my bitcoin wallet to fund lightning transactions, but any attempt to withdraw to another lightning address just tells me I don't have the funds for it. And I can't join a channel with the second wallet because it has a 0 balance, so I'm not sure how to proceed. 06:28 <@cdecker> So you have an external wallet (not the c-lightning internal wallet which you can fund by sending to an address created with `lightning-cli newaddr`), and now you want to open channels using those external funds? 06:30 <@cdecker> The usual approach would be: 1) start lightningd, 2) generate an address to fund the internal wallet with `lightning-cli newaddr`, 3) send funds to that address, 4) wait for the funds to confirm (see `lightning-cli listfunds` to see status), 5) open a channel with the internal funds with `lightning-cli fundchannel [nodeid] [amount]` 06:31 <@cdecker> It is possible to use external funds, but that's way more involved, and I'd strongly suggest relying on a plugin to do the dance (`fundchannel` is a plugin) 06:34 -!- treehug88 [~textual@pool-71-105-170-196.nycmny.fios.verizon.net] has joined #c-lightning 06:57 -!- k3tan [~pi@unaffiliated/k3tan] has quit [Ping timeout: 272 seconds] 06:59 -!- k3tan [~pi@unaffiliated/k3tan] has joined #c-lightning 07:12 < fibericon> The wallet I wanted to use to fund the transaction is the one on the bitcoind installation on the same machine if that helps. 07:30 <@cdecker> Hm, that's the difficult way around 07:30 < fiatjaf> fibericon: here's how you would do it from electrum: https://⚡.bigsun.xyz/channel-from-electrum.html 07:30 <@cdecker> I'd suggest moving the coins into the internal wallet first, since then it's all handled for you 07:31 <@cdecker> But as fiatjaf points out, you can indeed use the underlying primitives directly, though it gets a bit trickier 07:31 < fiatjaf> if you're able to get a transaction id WITHOUT publishing it then it's doable 07:31 < fiatjaf> must be very careful 08:11 < fibericon> If I can move funds from the bitcoind wallet to the lightningd wallet first, that also works for me. I don't have any special requirement to send directly from the bitcoind wallet. 09:09 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 09:23 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 09:24 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 09:33 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Ping timeout: 260 seconds] 10:30 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Remote host closed the connection] 10:35 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 10:38 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has left #c-lightning [] 10:38 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has joined #c-lightning 10:45 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 10:49 <@cdecker> fibericon: to move funds to the internal wallet 1) generate a new address using `lightning-cli newaddr`, 2) send bitcoins to the newly generated address, and finally 3) call `lightning-cli fundchannel [nodeid]` :-) 11:38 < fibericon> Ohhh, I understand now. I overcomplicated it mentally. 11:39 < fibericon> IE, at step 2, I was thinking, "but how?" 12:23 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has quit [Remote host closed the connection] 12:48 <@cdecker> No problem, it's quite a bit to learn at first ^^ 13:25 -!- fibericon [6ffa5428@111-250-84-40.dynamic-ip.hinet.net] has quit [Remote host closed the connection] 14:21 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 14:22 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 15:17 -!- sr_gi [~sr_gi@128.red-79-154-168.dynamicip.rima-tde.net] has quit [Quit: Leaving...] 15:47 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 256 seconds] 16:04 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 16:19 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 16:48 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 19:00 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has left #c-lightning [] 19:00 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has joined #c-lightning 19:03 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 21:19 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 21:20 -!- t0mix [~t0mix@78-141-123-99.dynamic.orange.sk] has quit [Ping timeout: 246 seconds] 21:23 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 21:23 -!- vasild_ is now known as vasild 21:23 -!- fiatjaf [~fiatjaf@2804:7f2:2a81:6c39:ea40:f2ff:fe85:d2dc] has quit [Ping timeout: 240 seconds] 21:23 -!- fiatjaf [~fiatjaf@2804:7f2:2a81:6c39:ea40:f2ff:fe85:d2dc] has joined #c-lightning 23:00 -!- k3tan [~pi@unaffiliated/k3tan] has quit [Ping timeout: 260 seconds] 23:01 -!- k3tan [~pi@unaffiliated/k3tan] has joined #c-lightning 23:28 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Remote host closed the connection] 23:28 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #c-lightning --- Log closed Wed May 13 00:00:19 2020