--- Log opened Thu Jan 07 00:00:08 2021 00:17 -!- shesek [~shesek@unaffiliated/shesek] has quit [Remote host closed the connection] 00:59 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 02:04 -!- kexkey [~kexkey@static-198-54-132-107.cust.tzulo.com] has quit [Ping timeout: 240 seconds] 03:05 < HelloShitty> Hi 03:05 < HelloShitty> After a few days with my lightning node off due to a database problem in my bitcoin node, I see that one of my channels was closed 03:06 < HelloShitty> How can I see if I lost any funds from that channel? 03:27 -!- k3tan [~pi@gateway/tor-sasl/k3tan] has quit [Ping timeout: 240 seconds] 03:30 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has quit [Ping timeout: 240 seconds] 03:37 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Ping timeout: 240 seconds] 03:39 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 03:50 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 03:52 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 03:53 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has joined #c-lightning 03:54 < darosior> HelloShitty: if it was less than 100 blocks ago you can `listpeers ` you'll see why the channel was closed 03:55 < darosior> Probably an unilateral close on their end, you would not have lost funds (apart the tx fees if you were the funder) 04:10 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-grtgkzfemgwjcvcq] has left #c-lightning [] 04:10 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-grtgkzfemgwjcvcq] has joined #c-lightning 04:20 < HelloShitty> ok, will check 04:21 < HelloShitty> In list peers I can only see the 2 open channels 04:21 < HelloShitty> My Lightning Node was off for like 4 days while my bitcoin database was synching 04:22 < HelloShitty> so, at an average of 1 block per 10 mins 04:23 < HelloShitty> that's roughly 3600 * 24 / 10 blocks 04:23 < HelloShitty> no 04:23 < darosior> Then listfunds ? 04:24 < HelloShitty> darosior: so all the addresses that shows up in that command, are all in my control? 04:25 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Ping timeout: 240 seconds] 04:25 < HelloShitty> Can I just take each address funds and send them somewhere else? 04:27 < darosior> yeah 04:28 < HelloShitty> So, in this command, the funds that are locked in open channels don't show up, right? 04:28 < darosior> Also consider increasing your --watchtime-blocks config if you are likely to have 4-days-long outages 04:29 < darosior> Ok -- sorry i meant listfunds "outputs" entry.. 04:31 < HelloShitty> I hope this was a one time ocasion 04:31 < HelloShitty> this was a bitcoin database corruption 04:32 < HelloShitty> and I ended up restarting the bitcoin node with --reindex 04:32 < HelloShitty> which started reindexing the entire blockchain 04:32 < HelloShitty> and it took around 4 days 04:32 < HelloShitty> I need to check for that setting watchtime-blocks 04:32 < HelloShitty> never heard of it 04:34 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has quit [Ping timeout: 240 seconds] 04:34 < HelloShitty> darosior: does that option shows up in lightning-cli help ? 04:34 < darosior> Next time, try with --reindex-chainstate first it's significantly faster ;) (and it's likely your corruption was only the chainstate not the blk index) 04:34 < darosior> Yeah, or `man lightningd-config` 04:35 < darosior> As usual you also have everything up there https://lightning.readthedocs.io/ :) 04:35 < darosior> https://lightning.readthedocs.io/lightningd-config.5.html search for watchtime here 04:35 < HelloShitty> yes, but by the time I issued the command I forgot about that the faster command was the one you mentioned 04:35 < HelloShitty> so I was at a no turning back point 04:36 < darosior> Anyways it's basically the CSV you are imposing to your peer 04:36 < HelloShitty> the chainstate command? 04:37 < HelloShitty> s/command/option 04:37 < darosior> So it's a tradeoff. Increasing it is conservative (funds may be locked for longer, but you have more time in case of an outage before starting to sweat :p) 04:37 < darosior> No the watchtime one 04:37 < darosior> The option you asked about 04:37 < HelloShitty> ahh ok 04:37 < HelloShitty> I'll read about it after lunch 04:37 < HelloShitty> thanks 04:37 < darosior> (It's 144 -- 1day by default) 04:46 -!- frank1e [~frank1e@unaffiliated/frank1e] has quit [] 04:53 < nibbier> I guess one could use another bitcoin node temporarily, if your main node goes down. Just need someone to offer RPC access? I guess some trust is needed, but there would be no direct access to funds on either side (as long as bitcond does not hold a wallet?) 05:05 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has quit [Remote host closed the connection] 05:07 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 05:23 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has joined #c-lightning 05:23 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 05:23 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 06:09 -!- kexkey [~kexkey@static-198-54-132-171.cust.tzulo.com] has joined #c-lightning 06:24 < HelloShitty> I never set any RPC user nor PASSWD 06:24 < HelloShitty> never understood when would that be needed 06:25 < HelloShitty> unless tat's used to access my lightning node features from some other compupter in another network 06:28 -!- k3tan [~pi@gateway/tor-sasl/k3tan] has joined #c-lightning 06:28 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 06:29 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #c-lightning 06:35 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has joined #c-lightning 06:44 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #c-lightning 06:47 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 260 seconds] 06:48 -!- belcher_ is now known as belcher 06:52 < HelloShitty> darosior: this cannot be good, can it? 06:52 < HelloShitty> "options": { 06:52 < HelloShitty> "backup-destination": "null" 06:52 < HelloShitty> } 06:52 < HelloShitty> this is from lightning-cli listconfigs 06:53 < HelloShitty> nibbier: my backup is now 1.7Gb 06:54 < darosior> that's probably from the backup plugin ? I don't know i never used it (yet). 07:07 < HelloShitty> darosior: yes 07:08 < HelloShitty> I need to be at least 70% sure I'm running my node with backup capabilities because I want to open a larger channel and I want to make the best I can to avoid losing funds if anything oes wrong 07:21 < nibbier> HelloShitty: I'm waiting the update for constant sub-GB backups... cdecker seemed confident on this. I guess it's all a matter of ressources. I'll recheck my size and restart... 07:22 < nibbier> and I'm not even on RAID, completeley reckless without backup :/ 07:22 < nibbier> raid upgrade planned soon (tm) 07:29 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Ping timeout: 272 seconds] 07:36 -!- liberliver [~Thunderbi@x4dbf108f.dyn.telefonica.de] has joined #c-lightning 07:39 -!- liberliver1 [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 07:41 -!- liberliver [~Thunderbi@x4dbf108f.dyn.telefonica.de] has quit [Ping timeout: 246 seconds] 07:41 -!- liberliver1 is now known as liberliver 08:10 < HelloShitty> nibbier: going to get a RAID setup with 2 physical drives? 08:55 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 08:55 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Disconnected by services] 08:55 -!- vasild_ is now known as vasild 09:04 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Quit: liberliver] 09:18 -!- liberliver [~Thunderbi@x4dbf108f.dyn.telefonica.de] has joined #c-lightning 09:22 -!- liberliver [~Thunderbi@x4dbf108f.dyn.telefonica.de] has quit [Ping timeout: 240 seconds] 09:30 -!- liberliver [~Thunderbi@x4dbf108f.dyn.telefonica.de] has joined #c-lightning 09:30 -!- liberliver [~Thunderbi@x4dbf108f.dyn.telefonica.de] has quit [Client Quit] 09:31 -!- Jackielove4u [uid43977@gateway/web/irccloud.com/x-fqmqdesvfbargkli] has quit [Quit: Connection closed for inactivity] 10:10 -!- az0re [~az0re@gateway/tor-sasl/az0re] has joined #c-lightning 10:14 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 10:29 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 12:19 < t0mix> @rusty or @cdecker.. one of you shared nice link about a year ago. there was collection of "fallout (the game)" like posters. with comments "she is running a node" 12:20 < t0mix> can you remember? can you share it again? *+* 12:21 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-grtgkzfemgwjcvcq] has left #c-lightning [] 12:21 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-grtgkzfemgwjcvcq] has joined #c-lightning 13:04 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 13:15 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Remote host closed the connection] 13:15 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 13:15 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #c-lightning 13:15 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 14:36 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 14:49 -!- sr_gi [~sr_gi@80.174.218.168.dyn.user.ono.com] has quit [Quit: The Lounge - https://thelounge.chat] 15:02 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Ping timeout: 264 seconds] 15:31 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 15:48 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Ping timeout: 240 seconds] 16:10 < nibbier> HelloShitty: yes... either this or some clustered filesystem, but I assume just a raid is simpler and sufficient 16:56 -!- qubenix_ [~qubenix@66.172.11.228] has joined #c-lightning 16:56 -!- qubenix [~qubenix@66.172.11.228] has quit [Read error: Connection reset by peer] 16:56 -!- qubenix_ is now known as qubenix 16:59 < HelloShitty> yeah, probably yes 17:00 < HelloShitty> I'm not sure if RAID takes any type of filesystem, but if it can take any filesystem, are you considering to use btrfs? 17:01 < HelloShitty> btw nibbier , my backup is now with 1.8Gb 17:15 -!- rh0nj [~rh0nj@88.99.167.175] has quit [Read error: Connection reset by peer] 17:16 -!- rh0nj [~rh0nj@88.99.167.175] has joined #c-lightning 17:42 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 17:58 -!- shesek [~shesek@unaffiliated/shesek] has joined #c-lightning 18:03 < fiatjaf2> is dev-sendcustommsg available for everybody or just when c-lightning is compiled with dev options? 18:11 < HelloShitty> fiatjaf2: I don't remember to see that option 18:11 < HelloShitty> and I didn't compile it with dev support iirc 20:21 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Remote host closed the connection] 20:22 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 20:34 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-grtgkzfemgwjcvcq] has left #c-lightning [] 20:34 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-grtgkzfemgwjcvcq] has joined #c-lightning 20:55 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 20:55 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Disconnected by services] 20:55 -!- vasild_ is now known as vasild 20:55 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Remote host closed the connection] 21:00 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 21:30 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Remote host closed the connection] 21:31 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 21:46 -!- jonatack [~jon@213.152.162.99] has quit [Ping timeout: 240 seconds] 21:48 -!- jonatack [~jon@88.124.242.136] has joined #c-lightning 22:52 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has quit [Remote host closed the connection] 22:53 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has joined #c-lightning 22:55 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has quit [Remote host closed the connection] 22:56 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has joined #c-lightning 23:39 -!- az0re [~az0re@gateway/tor-sasl/az0re] has quit [Quit: Leaving] --- Log closed Fri Jan 08 00:00:09 2021