--- Day changed Thu Jul 05 2018 00:07 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Ping timeout: 248 seconds] 01:10 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 01:53 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 264 seconds] 02:39 -!- tiagotrs [~user@unaffiliated/tiagotrs] has joined #c-lightning 02:51 -!- user__ [~user@x2f7f82f.dyn.telefonica.de] has joined #c-lightning 02:51 -!- tiagotrs [~user@unaffiliated/tiagotrs] has quit [Read error: Connection reset by peer] 03:22 -!- user__ [~user@x2f7f82f.dyn.telefonica.de] has quit [Ping timeout: 268 seconds] 03:36 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has joined #c-lightning 03:40 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has quit [Ping timeout: 276 seconds] 04:59 -!- ebx [~ebx@unaffiliated/ebex] has joined #c-lightning 05:05 -!- user__ [~user@x2f7f915.dyn.telefonica.de] has joined #c-lightning 05:13 -!- user__ [~user@x2f7f915.dyn.telefonica.de] has quit [Remote host closed the connection] 05:30 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #c-lightning 05:44 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Read error: Connection reset by peer] 05:45 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 05:46 -!- Amperture [~amp@24.136.5.183] has joined #c-lightning 06:03 -!- Lightblock_ [uid302821@gateway/web/irccloud.com/x-abgfkvqxdvazmkas] has joined #c-lightning 06:04 < Lightblock_> which programming language is c-lightning written in? 06:26 < blockstream_bot> [Hugo Doyon, Blockstream] in written in c 06:31 < blockstream_bot> [Hugo Doyon, Blockstream] Having this issues with my node (running c-lighning 0.16 in spruned mode) : I did open 2 channels, the funding transaction is confirm for more than 100 blocks ago and I keep getting this error message from listpeers command : "CHANNELD_AWAITING_LOCKIN:Reconnected, and reestablished.", "CHANNELD_AWAITING_LOCKIN:They've confirmed funding, we haven't yet." 06:43 -!- hey_connor [~connor@183.128.110.112] has joined #c-lightning 06:46 -!- hey_connor [~connor@183.128.110.112] has quit [Client Quit] 07:01 < Lightblock_> I wish c-lightning offered the same level of data that LND does 07:01 < Lightblock_> but these suggestions are ignored I guess ) 07:01 < Lightblock_> I like the performance of c-lightning 07:01 < Lightblock_> but some data is lacking or requires additional scripting 07:13 < molz> Hugo Doyon this is why i prefer to run bitcoind fullnode, no pruning, and no spruning 07:15 < shesek> Lightblock_, what data specifically? 07:16 < Lightblock_> for example 07:17 < Lightblock_> 1) minimum htlc value 07:18 < Lightblock_> 2) the funding transaction id, you only have the blockheight and tx index, which requires you to further query the blockchain for the actual tx id 07:24 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has joined #c-lightning 07:27 < blockstream_bot> [Hugo Doyon, Blockstream] @realname is there any command I could do to confirm funding on my side? 07:29 < blockstream_bot> [Hugo Doyon, Blockstream] (my node bitcoind spruned is sync on the last btc block 530588) 07:29 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has quit [Ping timeout: 264 seconds] 07:44 < windsok> Hugo, I think that means c-lightning has not seen the funding transaction as confirmed 07:44 < windsok> so maybe something has gone wrong with c-lightning syncing blocks 07:45 < windsok> when I tried spruned I also had a similar problem, but found it was due to blocks taking too long to import into c-lightning, as spruned was pegged at 100% cpu 07:45 < windsok> this was on a tiny VPC node, probably underspeced 07:46 < windsok> anyway, check how much cpu spruned is using, could be similar problem 07:48 < blockstream_bot> [Hugo Doyon, Blockstream] My current node is currently running under 5% CPU and 468M of 2Gib available 07:49 < windsok> ok, must be a different issue then 07:49 < blockstream_bot> [Hugo Doyon, Blockstream] @windsok the load of the machine doesnot seem to be the issue, is there any other command I could run? 07:52 < blockstream_bot> [Hugo Doyon, Blockstream] I did open 3 channels, 2 of then have the status above and the last one is not funded yet (the transactions does not seem to went out or does not seem to be process by mempool) 07:55 < windsok> yeah I also had that problem with spruned not broadcasting tx, but was not sure if it was just my setup 07:55 < windsok> I was able to manually broadcast it 07:57 < windsok> spruned + c-lightning does seem to be very buggy atm 07:57 < windsok> if you are having these issues too 07:57 < blockstream_bot> [Hugo Doyon, Blockstream] How did you broadcast them manually? 07:58 < blockstream_bot> [Hugo Doyon, Blockstream] Spruned is a very powerfull tool we need to have this working =D 07:58 < blockstream_bot> [Hugo Doyon, Blockstream] =D 07:59 < windsok> hmmm I still had the raw transaction, so I used the rawbroadcast cli command 07:59 < windsok> I thought there was a c-lightning command to get the raw transaction, but I can't see it now 08:01 < blockstream_bot> [Hugo Doyon, Blockstream] hmmm did 3 bitcoin-cli getrawtransaction with the 3 fundings transaction id from the channel openning and only the first 2 return something 08:02 < blockstream_bot> [Hugo Doyon, Blockstream] the last one give error code: -32000 error message: Server error 08:03 < blockstream_bot> [Hugo Doyon, Blockstream] there definively a transaction that have not been broadcast from c-lightning. 08:04 < blockstream_bot> [Hugo Doyon, Blockstream] but the 2 first channel should be open anyway ? what can explain they are not? 08:06 < blockstream_bot> [Hugo Doyon, Blockstream] (I can get the transaction info from spruned but c-lightning does not seem to see it) Do I have to sign something after opening a channel? 08:07 < windsok> I guess that c-lightning must be out of sync with spruned somehow, and has not seen the blocks the trasactions were confirmed in. My guess 08:08 < windsok> I'm not sure what the best fix is, others might know. 08:08 < blockstream_bot> [Hugo Doyon, Blockstream] They are both on block 530591 full sync now. Is there a way to refresh c-lighning cache? 08:08 < windsok> You could try restarting c-lightning, though it's not a good fix if it happens again for new channels 08:09 < blockstream_bot> [Hugo Doyon, Blockstream] restarting ;) 08:20 < blockstream_bot> [Hugo Doyon, Blockstream] 2018-07-05 15:19:23,577 - electrum - DEBUG - Peer error │ 08:20 < blockstream_bot> │ 2018-07-05 15:19:23,578 - electrum - DEBUG - Handling connection error for http://shogoth.no-ip.info 08:20 < blockstream_bot> [Hugo Doyon, Blockstream] keep getting those error from spruned 08:22 < blockstream_bot> [Hugo Doyon, Blockstream] and now c-lightning seem stuck at block 530579 :S (11 blocks behind) 08:50 < blockstream_bot> [Hugo Doyon, Blockstream] ok c-lightning have now catch up to latest block 530598.... but channel still stuck 08:52 < blockstream_bot> [Hugo Doyon, Blockstream] last channel opening transaction still not broadcast 08:52 < blockstream_bot> [Hugo Doyon, Blockstream] "funding_txid": "9bc2141366b2d05bdd38b7ab57253ad084eeeb0b4ee4d45fffcb46f6637335a8", 08:53 < blockstream_bot> [Hugo Doyon, Blockstream] No transaction found with the hash 9bc2141366b2d05bdd38b7ab57253ad084eeeb0b4ee4d45fffcb46f6637335a8 08:53 < blockstream_bot> [Hugo Doyon, Blockstream] not on blockchain :S 08:53 < blockstream_bot> [Hugo Doyon, Blockstream] Is there a way to rebroadcast that? and refresh channel state? 08:54 -!- spaced0ut [~spaced0ut@unaffiliated/spaced0ut] has joined #c-lightning 08:56 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Read error: Connection reset by peer] 08:57 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 09:12 -!- spaced0ut [~spaced0ut@unaffiliated/spaced0ut] has quit [Remote host closed the connection] 09:14 -!- spaced0ut [~spaced0ut@unaffiliated/spaced0ut] has joined #c-lightning 10:45 -!- tiagotrs [~user@x59cc8920.dyn.telefonica.de] has joined #c-lightning 10:45 -!- tiagotrs [~user@x59cc8920.dyn.telefonica.de] has quit [Changing host] 10:45 -!- tiagotrs [~user@unaffiliated/tiagotrs] has joined #c-lightning 10:55 -!- deusexbeer [~deusexbee@095-129-175-145-dynamic-pool-adsl.wbt.ru] has quit [Ping timeout: 264 seconds] 10:56 -!- deusexbeer [~deusexbee@095-129-170-014-dynamic-pool-adsl.wbt.ru] has joined #c-lightning 11:06 < molz> where can i find the logs? they're not in .lightning 11:10 -!- belcher_ [~belcher@unaffiliated/belcher] has quit [Ping timeout: 256 seconds] 11:16 -!- tiagotrs [~user@unaffiliated/tiagotrs] has quit [Ping timeout: 240 seconds] 11:19 -!- tiagotrs [~user@unaffiliated/tiagotrs] has joined #c-lightning 11:49 < windsok> I'm not sure if logfile is automatically created, i'm manually creating them by redirecting lightningd output. eg: > ~/.lightning/stdout.txt 2> ~/.lightning/stderr.txt 11:49 < windsok> that setup was from back in Feb though, and I've not changed it since then 12:12 -!- Lightblock_ [uid302821@gateway/web/irccloud.com/x-abgfkvqxdvazmkas] has quit [Quit: Connection closed for inactivity] 12:14 < grubles> there should be a debug.log file 12:14 < grubles> in the lightning data directory 12:18 -!- grafcaps [~haroldbr@104.137.194.255] has joined #c-lightning 12:20 -!- deusexbeer [~deusexbee@095-129-170-014-dynamic-pool-adsl.wbt.ru] has quit [Ping timeout: 240 seconds] 12:21 -!- deusexbeer [~deusexbee@080-250-076-058-dynamic-pool-adsl.wbt.ru] has joined #c-lightning 12:21 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #c-lightning 12:32 -!- deusexbeer [~deusexbee@080-250-076-058-dynamic-pool-adsl.wbt.ru] has quit [Quit: Konversation terminated!] 12:45 < blockstream_bot> [Christian Decker, Blockstream] @hugo you can also retrieve the funding transaction from the database 12:46 < blockstream_bot> [Christian Decker, Blockstream] `sqlite3 $HOME/.lightning/lightningd.sqlite3 "select hex(id), hex(rawtx) from transactions;"` 13:11 -!- grafcaps [~haroldbr@104.137.194.255] has quit [Ping timeout: 248 seconds] 13:11 -!- grafcaps_ [~haroldbr@104.137.194.255] has joined #c-lightning 13:33 -!- j9m [~j9m@47.157.125.55] has quit [Ping timeout: 260 seconds] 13:35 -!- deusexbeer [~deusexbee@080-250-076-058-dynamic-pool-adsl.wbt.ru] has joined #c-lightning 13:35 -!- j9m [~j9m@23.226.131.230] has joined #c-lightning 14:01 < blockstream_bot> [Hugo Doyon, Blockstream] Thanks Christian got the data! But how can I re-broadcast a transaction in Hex format? 14:12 -!- reallll [~belcher@unaffiliated/belcher] has joined #c-lightning 14:14 -!- belcher_ [~belcher@unaffiliated/belcher] has quit [Ping timeout: 256 seconds] 14:17 -!- reallll [~belcher@unaffiliated/belcher] has quit [Ping timeout: 256 seconds] 14:32 -!- tiagotrs [~user@unaffiliated/tiagotrs] has quit [Ping timeout: 245 seconds] 14:42 < molz> Hugo can't you get from bitcoind? 14:43 < molz> oh you have the raw tx? 14:43 < molz> sendrawtransaction 14:45 < molz> grubles, i don't see a debug.log file in .lightning 14:46 < blockstream_bot> [Hugo Doyon, Blockstream] Ok thank realname, my problem was more to find Which transaction was not broadcasted from the list 14:46 < blockstream_bot> [Hugo Doyon, Blockstream] Used https://live.blockcypher.com/btc/decodetx/ 14:46 < blockstream_bot> [Hugo Doyon, Blockstream] and it work =D 14:46 < grubles> molz, do you have --log-level debug set? 14:47 < molz> yes 14:47 < blockstream_bot> [Hugo Doyon, Blockstream] will now try to rebroadcast manually ! 14:47 < molz> grubles, i have it in config: log-level=debug 14:51 -!- j9m_ [~j9m@47.157.125.55] has joined #c-lightning 14:51 -!- j9m [~j9m@23.226.131.230] has quit [Ping timeout: 240 seconds] 15:11 -!- hs___ [ad9961cc@gateway/web/freenode/ip.173.153.97.204] has joined #c-lightning 15:27 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Read error: Connection reset by peer] 15:28 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 15:32 < hs___> I'm working on building the committment tx. Getting "bad signature" response. The tx returned has one pay-to-witness-pubkey-hash output. Shouldn't there also be a local output? THX 15:38 -!- grafcaps_ [~haroldbr@104.137.194.255] has quit [Ping timeout: 260 seconds] 15:39 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 15:44 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Read error: Connection reset by peer] 16:01 < molz> grubles, does CL have something like what LND has, aka "listpayments" which lists all lightning payments ? 16:03 < molz> oh nvm, i found it 16:12 -!- hs___ [ad9961cc@gateway/web/freenode/ip.173.153.97.204] has quit [Ping timeout: 252 seconds] 16:17 -!- shesek [~shesek@unaffiliated/shesek] has quit [Ping timeout: 268 seconds] 16:52 -!- shesek [~shesek@bzq-84-110-235-213.red.bezeqint.net] has joined #c-lightning 16:52 -!- shesek [~shesek@bzq-84-110-235-213.red.bezeqint.net] has quit [Changing host] 16:52 -!- shesek [~shesek@unaffiliated/shesek] has joined #c-lightning 16:56 -!- shesek [~shesek@unaffiliated/shesek] has quit [Ping timeout: 240 seconds] 17:01 -!- shesek [~shesek@bzq-84-110-235-213.red.bezeqint.net] has joined #c-lightning 17:01 -!- shesek [~shesek@bzq-84-110-235-213.red.bezeqint.net] has quit [Changing host] 17:01 -!- shesek [~shesek@unaffiliated/shesek] has joined #c-lightning 17:11 -!- ctrlbreak_MAD [~ctrlbreak@142.162.42.47] has joined #c-lightning 17:14 -!- ctrlbreak [~ctrlbreak@142.162.42.47] has quit [Ping timeout: 240 seconds] 17:28 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has joined #c-lightning 17:29 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 17:40 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has quit [Ping timeout: 268 seconds] 17:52 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has joined #c-lightning 18:15 -!- j9m_ [~j9m@47.157.125.55] has quit [Ping timeout: 264 seconds] 18:16 -!- j9m [~j9m@23.226.131.230] has joined #c-lightning 18:24 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has quit [Ping timeout: 264 seconds] 18:31 -!- arowser [~arowser1@68.168.130.45.16clouds.com] has quit [Ping timeout: 256 seconds] 18:31 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has joined #c-lightning 18:31 -!- arowser [~arowser1@68.168.130.45.16clouds.com] has joined #c-lightning 18:39 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 268 seconds] 19:31 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has quit [Ping timeout: 240 seconds] 19:43 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has joined #c-lightning 19:53 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has quit [Ping timeout: 276 seconds] 20:01 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has joined #c-lightning 20:33 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has quit [Ping timeout: 264 seconds] 20:47 -!- mn3monic [~xxwa@unaffiliated/mn3monic] has quit [Ping timeout: 240 seconds] 20:50 -!- mn3monic [~xxwa@host204-211-dynamic.171-212-r.retail.telecomitalia.it] has joined #c-lightning 20:50 -!- mn3monic [~xxwa@host204-211-dynamic.171-212-r.retail.telecomitalia.it] has quit [Changing host] 20:50 -!- mn3monic [~xxwa@unaffiliated/mn3monic] has joined #c-lightning 20:55 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 21:00 -!- RubenSomsen [uid301948@gateway/web/irccloud.com/x-udpqtblmvzdfcpad] has joined #c-lightning 21:36 -!- ebx [~ebx@unaffiliated/ebex] has quit [Remote host closed the connection] 22:20 -!- shesek [~shesek@unaffiliated/shesek] has quit [Ping timeout: 248 seconds] 23:29 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has joined #c-lightning 23:34 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has quit [Ping timeout: 245 seconds] 23:39 -!- tiagotrs [~user@x59cc8907.dyn.telefonica.de] has joined #c-lightning 23:39 -!- tiagotrs [~user@x59cc8907.dyn.telefonica.de] has quit [Changing host] 23:39 -!- tiagotrs [~user@unaffiliated/tiagotrs] has joined #c-lightning 23:47 -!- tiagotrs [~user@unaffiliated/tiagotrs] has quit [Ping timeout: 256 seconds]