--- Day changed Wed Jan 17 2018 00:00 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 00:04 -githubby:#c-lightning- [lightning] martindale opened pull request #629: Tidy README, add missing dependency (master...docs) https://git.io/vN4WP 01:34 -!- vicenteH [~user@195.235.96.150] has joined #c-lightning 02:06 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 240 seconds] 02:25 < tomichec> tried to start the lightningd, and got an error regarding `bitcoin-cli estimatesmartfee`. The log `tail -1000` is http://termbin.com/wbzr Any ideas what is wrong? 02:30 < tomichec> the `bitcoin-cli -testnet estimatesmartfee 2 CONSERVATIVE` that is claimed to be broken returns: 02:30 < tomichec> { "feerate": 0.00001064, "blocks": 2 02:30 < tomichec> } 02:55 -!- artlav [~artlav@91.206.14.91] has joined #c-lightning 02:56 -githubby:#c-lightning- [lightning] practicalswift opened pull request #631: Remove unused help text field from struct json_command (master...unused-help-test-in-struct-json_command) https://git.io/vN4o5 03:00 < artlav> Hello there. 03:01 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 03:01 < artlav> Is there any non-invasive way to get lightningd to dump it's wallet's private keys? 03:03 < artlav> I keep getting it stuck in all sorts of dead end or annoying states, and it won't accept it's own change transactions as addfunds after being reset. 03:04 < artlav> So i had to dump the master key with a printf in populate_secretstuff(void), derive the keys and rescue the coins. 03:04 -!- moctost [~moctost@cpe-107-9-138-59.neo.res.rr.com] has joined #c-lightning 03:05 < artlav> And i feel like there should be an easier way to do that. 03:09 -!- moctost [~moctost@cpe-107-9-138-59.neo.res.rr.com] has quit [Ping timeout: 256 seconds] 03:10 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 248 seconds] 03:25 -!- HectorJ [5c9a5272@gateway/web/freenode/ip.92.154.82.114] has joined #c-lightning 03:34 < HectorJ> Hi all! 03:35 < HectorJ> I'm trying to run c-lightning on mainnet (yes, I understand the risks), but my node is not finding any peers. Am I missing something to kickstart the discovery process? Or does anyone here have a id + ip + port I could try to manually connect to ? 03:35 < HectorJ> Here is what I get from getinfo: 03:35 < HectorJ> { "id" : "0207481a19a3f51a48f134e95afa67cfeffdb38a99b5ad3494a320c4918aaaf579", "port" : 9735, "address" : [ { "type" : "ipv4", "address" : "163.172.174.151", "port" : 9735 } ], "version" : "v0.5.2-2016-11-21-1566-g145e263", "blockheight" : 504661 } 03:43 < jb55> cdecker: mainnet coming in hot onto 02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432 wish me luck... 03:46 < jb55> oops think I made the channel too small 03:46 <@cdecker> Oh no, how much is on there? 03:47 < jb55> 380 bits 03:54 < jb55> cdecker: if I open a bigger channel to someone who is connected to you, would it route it through there instead? 03:56 < jb55> or maybe I will just wait for that amount to be enough to buy some stickers lol 03:57 < jb55> oh wait I can buy one sticker with that 03:57 < jb55> nice 03:57 < jb55> well I wouldn't be able to afford closing due to fees? 03:57 < jb55> not sure how that works 04:00 <@cdecker> Yeah, closing is a bitch, I also only managed to buy 1 sticker and forfeited the rest to closing fees 04:10 -!- shurdeek [~shurdeek@80-108-53-142.cable.dynamic.surfer.at] has joined #c-lightning 04:11 < shurdeek> hello, does the c-lightining have the equivalent of walletnotify in bitcoind? Like if it can execute a command if an invoice payment comes in. 04:13 < shurdeek> alternatively, am I supposed to call "waitanyinvoice" in a loop? What happens if an invoice payment comes in and there is no waitanyinvoice polling at that time? 04:46 < HectorJ> (for my previous question, found the blockstream node on twitter. So I'm good, gonna try and fund my first mainnet channel) 04:56 -!- moctost [~moctost@cpe-107-9-138-59.neo.res.rr.com] has joined #c-lightning 05:13 < artlav> What could be causing "failed: WIRE_TEMPORARY_CHANNEL_FAILURE (reply from remote)" on payment send? 05:14 < artlav> Every attempt to pay ends like that. 05:22 <@cdecker> shurdeek, you can either wait for the next invoice completing or wait on a specific invoice 05:23 <@cdecker> artlav, how are you connecting? Could be a multi-hop payment with a channel that has insufficient capacity 05:25 -!- wtabata [~wtabata@179.235.79.229] has quit [Ping timeout: 248 seconds] 05:26 -!- wtabata [~wtabata@179.235.79.229] has joined #c-lightning 05:27 < artlav> I've been going through the list of big nodes on the explolrer site. The last one was 03987a79dfd6089487cc8b3611a94fda8e21a927cd0a0cf381193491b62a7e7190 05:28 < artlav> So i make a channel to it, getroute, sendpay, error. 05:28 < artlav> Now i'm trying 02c39955c1579afe4824dc0ef4493fdf7f3660b158cf6d367d8570b9f19683afb5, so far the confirmations are pending. 05:29 < artlav> And yes, it was routing via a third node. 05:52 -!- mikec [6c18a63c@gateway/web/freenode/ip.108.24.166.60] has joined #c-lightning 07:17 -githubby:#c-lightning- [lightning] cdecker closed pull request #626: INSTALL.md: Add `automake` as dependency. (master...patch-1) https://git.io/vN4Z3 07:23 -githubby:#c-lightning- [lightning] cdecker pushed 1 new commit to master: https://git.io/vNBIw 07:23 -githubby:#c-lightning- lightning/master 575b733 Eric Martindale: Fix paren in README, add `autoconf` to dependencies 07:35 < artlav> ow, is testnet slow today... 07:35 < artlav> Anyway, the other node gives me "failed: WIRE_FINAL_INCORRECT_CLTV_EXPIRY (reply from remote)" 07:53 <@cdecker> The cltv expiry error usually means that there was a block inbetween. What's the other endpoint you're trying to send to? 08:05 < jb55> lightning_closingd(19665): STATUS_FAIL_PEER_BAD: Funder cannot afford fee 78669 (38000 and 0) 08:05 < jb55> darn 08:08 -!- wtabata [~wtabata@179.235.79.229] has quit [] 08:09 -!- wtabata [~wtabata@179.235.79.229] has joined #c-lightning 08:11 < artlav> cdecker: Any endpoint. Tried Yalls and lightninggem. 08:11 < artlav> What do you mean by "there was a block inbetween"? 08:16 < shurdeek> cdecker: so basically the rpc call waitanyinvoice is a "replacement" for walletnotify? Basically I need to process payments in the backend, now I use bitcoind with walletnotify. 08:28 -!- mikec [6c18a63c@gateway/web/freenode/ip.108.24.166.60] has quit [Ping timeout: 260 seconds] 08:33 -!- jb55 [~jb55@70-36-49-138.dyn.novuscom.net] has quit [Ping timeout: 256 seconds] 08:47 -!- jb55 [~jb55@216-71-192-56.dyn.novuscom.net] has joined #c-lightning 09:01 -!- heuristics [68e87794@gateway/web/freenode/ip.104.232.119.148] has joined #c-lightning 09:05 -!- sgtmuller [9d3208ac@gateway/web/freenode/ip.157.50.8.172] has joined #c-lightning 09:06 < sgtmuller> What happened here? Fee rates were default https://ghostbin.com/paste/7muuu 09:06 < sgtmuller> And this one (separate) : https://ghostbin.com/paste/6jhcc 09:09 < sgtmuller> Oh and is there a timeout for connect? It keeps blinking when I accidentallly connected to the same node twice 09:13 < sgtmuller> aww dammit i thought i was in lightning-dev. is this channel active? 09:21 < jb55> yeah 09:21 < jb55> ish 09:31 -!- AndyS2 [~noname@static.74.88.9.5.clients.your-server.de] has joined #c-lightning 09:59 -!- moctost [~moctost@cpe-107-9-138-59.neo.res.rr.com] has quit [Ping timeout: 256 seconds] 10:01 < wtabata> jb55: now the txid appeared in the listfund after 6 confirmations 10:01 < wtabata> :D 10:01 < jb55> wtabata: ah nice 10:07 -!- HectorJ_ [58bed82b@gateway/web/freenode/ip.88.190.216.43] has joined #c-lightning 10:34 -!- sgtmuller [9d3208ac@gateway/web/freenode/ip.157.50.8.172] has quit [Quit: Page closed] 10:38 -!- vicenteH [~user@195.235.96.150] has quit [Ping timeout: 264 seconds] 10:44 <@cdecker> sgtmuller: was that on testnet or mainnet? Testnet is so crazy with its fees that we disabled fee-checking yesterday 11:11 -!- jb55 [~jb55@216-71-192-56.dyn.novuscom.net] has quit [Ping timeout: 240 seconds] 11:14 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 11:17 < rusty> artlav: exporting private keys is kinda nice, but it it's also a massive HSM violation. It shouldn't lose track of funds, so I'd like to see a bug report on those occurances. 11:47 -!- jb55 [~jb55@S0106d0034bd2059e.vc.shawcable.net] has joined #c-lightning 12:31 -!- HectorJ_ [58bed82b@gateway/web/freenode/ip.88.190.216.43] has quit [Ping timeout: 260 seconds] 12:34 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 256 seconds] 13:43 -githubby:#c-lightning- [lightning] cdecker pushed 2 new commits to master: https://git.io/vNBNg 13:43 -githubby:#c-lightning- lightning/master dea0aef Rusty Russell: wallet: use wallet_payment only for *outgoing* payments.... 13:43 -githubby:#c-lightning- lightning/master 3fbed24 Rusty Russell: wallet: remove direction column from payments table.... 13:59 -!- lio17 [~lio17@ns350827.ip-37-187-174.eu] has quit [Quit: lio17] 14:18 -!- lio17 [~lio17@ns350827.ip-37-187-174.eu] has joined #c-lightning 14:42 -!- lio1754 [~lio17@ns350827.ip-37-187-174.eu] has joined #c-lightning 14:44 -!- lio17 [~lio17@ns350827.ip-37-187-174.eu] has quit [Ping timeout: 255 seconds] 14:45 -githubby:#c-lightning- [lightning] mscam closed pull request #582: Add Litecoin testnet and regtest support. (master...master) https://git.io/vNZUN 14:55 -githubby:#c-lightning- [lightning] cdecker pushed 14 new commits to master: https://git.io/vNRfx 14:55 -githubby:#c-lightning- lightning/master d1b2a97 Björge Dijkstra: Fix unitialized fields in htlc_out constructed from wallet database entry 14:55 -githubby:#c-lightning- lightning/master 2cbe5b6 Rusty Russell: wallet: add preimage to db.... 14:55 -githubby:#c-lightning- lightning/master 9b99b74 Rusty Russell: db: route to extract an array of struct secret from a column.... 14:56 -!- jb55 [~jb55@S0106d0034bd2059e.vc.shawcable.net] has quit [Ping timeout: 240 seconds] 15:01 -!- jojeyh [~delphi@2602:306:b8b6:b970:105:fc3c:fdcf:11ba] has quit [Ping timeout: 255 seconds] 15:16 -!- lio175456 [~lio17@ns350827.ip-37-187-174.eu] has joined #c-lightning 15:18 -!- lio1754 [~lio17@ns350827.ip-37-187-174.eu] has quit [Ping timeout: 260 seconds] 15:43 -githubby:#c-lightning- [lightning] ZmnSCPxj opened pull request #638: WIP: pay hands back failures to gossipd (master...report-routing-failure) https://git.io/vNRI8 15:47 -!- jb55 [~jb55@70-36-49-138.dyn.novuscom.net] has joined #c-lightning 16:29 -!- jojeyh [~delphi@2602:306:b8b6:b970:e93c:6a30:fd51:e2c2] has joined #c-lightning 16:38 -!- vicenteH [~user@35.233.15.37.dynamic.jazztel.es] has joined #c-lightning 16:52 -!- lio175456 [~lio17@ns350827.ip-37-187-174.eu] has quit [Quit: lio175456] 16:55 -!- lio175456 [~lio17@ns350827.ip-37-187-174.eu] has joined #c-lightning 17:04 -!- lio175456 [~lio17@ns350827.ip-37-187-174.eu] has quit [Quit: lio175456] 17:04 -!- lio17 [~lio17@ns350827.ip-37-187-174.eu] has joined #c-lightning 17:05 -!- lio17 [~lio17@ns350827.ip-37-187-174.eu] has quit [Client Quit] 17:07 -!- lio17 [~lio17@ns350827.ip-37-187-174.eu] has joined #c-lightning 17:17 -!- kexkey [~kexkey@173.209.48.158] has joined #c-lightning 17:41 -!- lio17 [~lio17@ns350827.ip-37-187-174.eu] has quit [Quit: lio17] 17:43 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 17:50 -githubby:#c-lightning- [lightning] rustyrussell closed pull request #588: Fix unitialized fields in htlc_out constructed from wallet database entry (master...crash-uninit-pay-command) https://git.io/vNn06 --- Log closed Wed Jan 17 17:55:18 2018 --- Log opened Wed Jan 17 17:55:39 2018 17:55 -!- kanzure [~kanzure@unaffiliated/kanzure] has joined #c-lightning 17:55 -!- Irssi: #c-lightning: Total of 24 nicks [1 ops, 0 halfops, 0 voices, 23 normal] 18:03 -githubby:#c-lightning- [lightning] rustyrussell closed pull request #628: Make `fundchannel` return txid too (master...patch-2) https://git.io/vN4CU 18:08 -!- Irssi: Join to #c-lightning was synced in 761 secs 18:20 -!- jb55 [~jb55@70-36-49-138.dyn.novuscom.net] has quit [Ping timeout: 240 seconds] 18:37 < artlav> Another node, another "failed: WIRE_TEMPORARY_CHANNEL_FAILURE (reply from remote)" 18:37 < artlav> I'm yet to get one payment to succeed... 18:38 < artlav> rusty: I was thinking more in terms of having a recovery seed at wallet creation. Or is that bad too? It seem to use the same HSM seed to generate the keys for the channels. 18:41 < rusty> artlav: well, there's a single BIP32 seed, and that should cover every normal tx. But that doesn't cover the complex scripts used for much of the channel, which really need special handling. So you really need onchaind to spend those to that BIP32 wallet... 18:43 < rusty> artlav: wow... our diagnostics are pretty bad, plus #550 means we don't feed those errors back to retry. 18:44 < rusty> artlav: are you sending more than your channel capacity (minus 1%)? 18:44 < rusty> I admire your persistence! 19:04 -!- lio17 [~lio17@ns350827.ip-37-187-174.eu] has joined #c-lightning 19:05 -!- jb55 [~jb55@70-36-49-138.dyn.novuscom.net] has joined #c-lightning 19:24 -githubby:#c-lightning- [lightning] audiojak opened pull request #639: Minor gramatical fixes (master...patch-1) https://git.io/vNRWb 19:49 < artlav> rusty: Another complication is that if i shut down lightningd while a channel is open and then restart it, all sorts of weird things happen. 19:50 < rusty> artlav: ? It should reconnect, reestablish and be happy. What happens? 19:50 < artlav> Ranging from it being unable to find itself in routing, to connect hanging, to a crash in db_exec_prepared_ or so. 19:51 < artlav> And yes, there was enough funds in the channels i tried. 19:56 < artlav> Pulled the latest one from git, now rebuilding. Will see if the crash is still reproducible. 19:56 -!- wtabata [~wtabata@179.235.79.229] has quit [Ping timeout: 255 seconds] 20:00 < artlav> rusty: Rebuilding from latest Git fixed the restart issues and crash. The WIRE_PERMANENT_NODE_FAILURE is still there, however. 20:01 < artlav> Oh, wait. That's a different error. 20:01 < rusty> artlav: Zmn is working on #550 now. What happens is we get an error back.. then ignore it! We should be disabling the channel when this happens, so we can re-route. 20:06 -!- wtabata [~wtabata@179.235.79.229] has joined #c-lightning 20:51 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-gwtuxviubttmzzte] has joined #c-lightning 20:52 < artlav> Before the update from a (week-old) version, the normal closing of the channel sent funds to a P2WPKH, the current one sends them to a P2WSH. Why is that? 20:52 -!- mesh_ [meshcollid@gateway/shell/elitebnc/x-byequoycyezmedgp] has joined #c-lightning 20:55 < artlav> Ah, no. There were errors in the log, and it appears to have been a unilateral close. 20:56 -!- qwebirc701226 [814e38a6@gateway/web/freenode/ip.129.78.56.166] has joined #c-lightning 20:57 < artlav> Longs story short, i've exhausted my immediate supply of testcoins without suceeding at sending a payment even once, or encountering a bug consistent enough to submit an issue. 21:00 < artlav> Can't say it wasn't a fun learning experience, however. :) 21:20 -!- jb55 [~jb55@70-36-49-138.dyn.novuscom.net] has quit [Ping timeout: 240 seconds] 22:24 -githubby:#c-lightning- [lightning] practicalswift opened pull request #640: Avoid potential NULL pointer dereference in wallet_payment_store(...) (master...wallet_payment_store-null-pointer-dereference) https://git.io/vNRuD 22:36 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 264 seconds] 22:54 -!- shurdeek [~shurdeek@80-108-53-142.cable.dynamic.surfer.at] has left #c-lightning [] 22:54 -githubby:#c-lightning- [lightning] ianthius opened pull request #641: Python is a needed dependency here (master...patch-2) https://git.io/vNR2T 22:55 -githubby:#c-lightning- [lightning] ianthius opened pull request #642: Update README.md (master...patch-3) https://git.io/vNR2q 23:31 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-gwtuxviubttmzzte] has quit [Quit: Connection closed for inactivity] 23:39 -!- wtabata [~wtabata@179.235.79.229] has quit []