--- Day changed Fri Jul 27 2018 00:15 -!- froyer [~froyer@pa49-195-117-109.pa.nsw.optusnet.com.au] has joined #c-lightning 00:33 -!- froyer [~froyer@pa49-195-117-109.pa.nsw.optusnet.com.au] has quit [Read error: Connection reset by peer] 00:40 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Read error: Connection reset by peer] 00:42 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 00:47 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has joined #c-lightning 00:50 -!- tiagotrs [~user@i577A6701.versanet.de] has joined #c-lightning 00:50 -!- tiagotrs [~user@i577A6701.versanet.de] has quit [Changing host] 00:50 -!- tiagotrs [~user@unaffiliated/tiagotrs] has joined #c-lightning 00:51 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has quit [Ping timeout: 240 seconds] 00:53 -!- renepickhardt [577bc4de@gateway/web/freenode/ip.87.123.196.222] has joined #c-lightning 00:54 -!- ken2812221 [~User@1.200.198.248] has quit [Quit: Leaving] 01:13 -!- polydin [~delphi@2602:306:b8b6:b970:18b3:4dc2:268f:c5cc] has quit [Ping timeout: 256 seconds] 02:04 -!- tiagotrs [~user@unaffiliated/tiagotrs] has quit [Ping timeout: 260 seconds] 02:12 -!- tiagotrs [~user@unaffiliated/tiagotrs] has joined #c-lightning 02:19 -!- jouke_ [~jouke@a80-100-203-151.adsl.xs4all.nl] has joined #c-lightning 02:19 < jouke_> Does lightningd still need access to the bitcoind datadir? And why? 02:35 -!- qubenix [~qubenix@185.96.210.192] has quit [Ping timeout: 256 seconds] 02:36 -githubby:#c-lightning- [lightning] cdecker closed pull request #1744: Tell wallet about steal output (master...tell-wallet-about-steal-output) https://git.io/fNRJo 02:58 <@cdecker> jouke_: no, it never needed access to the bitcoin datadir, it just needed a bitcoin-cli that can talk to bitcoind 02:58 <@cdecker> All of our accesses go through bitcoin-cli, which is also why you can just switch out bitcoind for something else that provides the same JSON-RPC 03:02 -!- deusexbeer [~deusexbee@080-250-077-212-dynamic-pool-adsl.wbt.ru] has quit [Ping timeout: 256 seconds] 03:02 -!- deusexbeer [~deusexbee@093-092-181-127-dynamic-pool-adsl.wbt.ru] has joined #c-lightning 03:11 < jouke_> Ok, I got confused. https://github.com/ElementsProject/lightning#getting-started is mounting the "bitcoin_datadir" from the bitcoind-container in the clightning-container, but the "datadir" is the .bitcoin/-dir, not just the datadir: https://github.com/NicolasDorier/docker-bitcoin/blob/master/core/0.16.0/Dockerfile#L31 03:12 < jouke_> (the example docker-compose file) 03:14 < jouke_> But why? 03:15 -!- tiagotrs [~user@unaffiliated/tiagotrs] has quit [Ping timeout: 265 seconds] 03:22 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has joined #c-lightning 03:22 < jouke_> Oh, .bitcoin/ is called the datadir 03:25 < jouke_> But bitcoin-cli doesn't need the datadir. 03:26 < jouke_> NicolasDorier_? 03:26 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has quit [Ping timeout: 260 seconds] 03:33 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has joined #c-lightning 03:38 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has quit [Ping timeout: 264 seconds] 03:58 -!- Drolmer [~Drolmer@unaffiliated/drolmer] has joined #c-lightning 03:59 -githubby:#c-lightning- [lightning] renepickhardt opened pull request #1764: added a test to fix the enum wallet_payment_status (master...addunittest-to-fix-wallet-db-api) https://git.io/fNujo 04:06 <@cdecker> jouke_: bitcoin-cli will just automatically go look at the bitcoin.conf in the bitcoin datadir for its connection informatin, that's why we mounted the datadir into the c-lightning container 04:07 <@cdecker> It's just simpler than attempting to extract the conf and pass it to the c-lightning container 04:17 < jouke_> Aren't those bitcoin-rpc variables passed to bitcoin-cli? Because bitcoin-cli doesn't need a datadir to connect to a remote node if you specify those variables to bitcoin-cli? 04:48 -!- Drolmer [~Drolmer@unaffiliated/drolmer] has quit [Ping timeout: 244 seconds] 04:52 -!- Drolmer [~Drolmer@unaffiliated/drolmer] has joined #c-lightning 05:06 -!- qubenix [~qubenix@177.67.80.187] has joined #c-lightning 05:09 -!- tiagotrs [~user@i577A6701.versanet.de] has joined #c-lightning 05:09 -!- tiagotrs [~user@i577A6701.versanet.de] has quit [Changing host] 05:09 -!- tiagotrs [~user@unaffiliated/tiagotrs] has joined #c-lightning 05:12 -githubby:#c-lightning- [lightning] cdecker pushed 10 new commits to master: https://git.io/fNzUs 05:12 -githubby:#c-lightning- lightning/master ef33dd2 Rusty Russell: jsonrpc: reduce debug log spam for JSON commands.... 05:12 -githubby:#c-lightning- lightning/master 93cf285 Rusty Russell: devtools/decodemsg: add --onion option for decoding onion errors.... 05:12 -githubby:#c-lightning- lightning/master 3c66d5f Rusty Russell: gossipd: add flag for locally disabling channel.... 05:17 -!- ebx [~ebx@unaffiliated/ebex] has joined #c-lightning 05:39 -!- ebx [~ebx@unaffiliated/ebex] has quit [Ping timeout: 244 seconds] 06:05 -!- Jbaczuk [~Jbaczuk@c-24-11-32-193.hsd1.ut.comcast.net] has joined #c-lightning 06:19 -!- dougsland [~douglas@c-73-234-93-65.hsd1.nh.comcast.net] has joined #c-lightning 06:23 -!- jpe_ [~jpe@200116b84209f800147509125f2bc37d.dip.versatel-1u1.de] has quit [Quit: Leaving] 06:27 -!- Drolmer [~Drolmer@unaffiliated/drolmer] has quit [Ping timeout: 268 seconds] 06:28 -!- tiagotrs [~user@unaffiliated/tiagotrs] has quit [Quit: Leaving] 06:35 -!- ebx [~ebx@unaffiliated/ebex] has joined #c-lightning 07:06 < renepickhardt> does libwally not come with the wordlist? when I call bip39_mnemonic_from_bytes(NULL,....) I get a return value of -2 07:08 -githubby:#c-lightning- [lightning] cdecker opened pull request #1765: pay: Exempt a fee from the maxfeepercent rule it is still tiny (master...issue-1746) https://git.io/fNzOo 07:31 < rompert> good news: CL.rompert.com stopped crashing every hour 07:31 < rompert> bad news: CL.rompert.com doesn't start 07:33 -!- Jbaczuk_ [~Jbaczuk@ec2-52-43-23-161.us-west-2.compute.amazonaws.com] has joined #c-lightning 07:34 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has joined #c-lightning 07:35 -!- Jbaczuk [~Jbaczuk@c-24-11-32-193.hsd1.ut.comcast.net] has quit [Ping timeout: 248 seconds] 07:37 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has joined #c-lightning 07:39 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has quit [Ping timeout: 268 seconds] 07:42 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has quit [Ping timeout: 265 seconds] 08:00 -!- grafcaps [~haroldbr@104.137.194.255] has joined #c-lightning 08:12 -!- cryptapus [~cryptapus@unaffiliated/cryptapus] has quit [Quit: Konversation terminated!] 08:12 -!- cryptapus [~cryptapus@jupiter.osmus.org] has joined #c-lightning 08:12 -!- cryptapus [~cryptapus@jupiter.osmus.org] has quit [Changing host] 08:12 -!- cryptapus [~cryptapus@unaffiliated/cryptapus] has joined #c-lightning 08:15 < molz> lol 08:31 < renepickhardt> https://bitcoin.stackexchange.com/questions/77665/call-to-bip39-mnemonic-from-bytes-in-libwally-core-returns-null would be geat if someone could help out here 08:43 < Jbaczuk_> renepickhardt: do you need to allocate memory for mnemonic_secret? 08:44 < renepickhardt> I thought the library would do this in the sense that I would just pass the pointer. otherweise I don't know how much memory I have to allocate 08:45 < renepickhardt> I mean I could do something like char * buffer[24] ; 08:45 < Jbaczuk_> right but there is a check in bip39.c L#111 if !output it will return -2 error 08:46 < Jbaczuk_> yeah kinda hard without any examples in docs or tests (that i could see) 08:47 < renepickhardt> oh I can share more code sec 08:48 < renepickhardt> https://github.com/renepickhardt/lightning/blob/export-hsm_secret-to-mnemonic-seed/hsmd/hsm.c#L1024 08:49 < renepickhardt> since I am just starting on c lightning I htough this would be a nice try to provide a small patch for this discussion: https://github.com/ElementsProject/lightning/issues/1762 08:49 -!- Chris_Stewart_5 [~chris@unaffiliated/chris-stewart-5/x-3612383] has joined #c-lightning 08:49 < Chris_Stewart_5> cdecker: This seems to be a reoccurring theme for me 08:50 < Chris_Stewart_5> What is the proper way to switch networks with lightningd 08:50 < Chris_Stewart_5> https://pastebin.com/UVPssC5k 08:50 < Chris_Stewart_5> i've tried setting the new network on the command line and in config 08:57 < Jbaczuk_> renepickhardt: cool sounds useful. I think you need to allocate memory, but it's unclear how much 08:57 < Jbaczuk_> renepickhardt: sorry i'm not a c-lightning dev just trying to help 08:58 < Chris_Stewart_5> and i keep getting wallet hashes do not match 08:58 < renepickhardt> yeah I am not a C dev. I don't know how to allocate memory beforehand if I don't know how much 08:59 < renepickhardt> but I see that I also need to free the memory at the end. well I hope someone more experience will have a look at it 09:10 < Jbaczuk_> renepickhardt: oh you know what, i think i'm wrong about that 09:10 < renepickhardt> my feeling is that the wordlist is just not available / compiled into the libwally-core lib 09:10 < renepickhardt> I tried to add the wordlist myself but that ended up to be an even worse mess 09:12 < Jbaczuk_> renepickhardt: yeah that makes sense. so you tried just copying the en_ array from src/data/wordlists/english.c 09:13 < Jbaczuk_> renepickhardt: it "should" pull that in if you run autogen.sh and ./configure 09:14 < renepickhardt> I ran autogen.sh and ./configure 09:19 < Jbaczuk_> renepickhardt: yeah I'd try to print it out and see if it exists 09:19 < renepickhardt> do I have to install clightning in a folder relative to the bitcoin source code? 09:20 < renepickhardt> the docs starts with installing bitcoin and then clone c lightning 09:20 < renepickhardt> there ist no autogen.sh in clightning only with bitcoin that is why I am confused now 09:24 < Jbaczuk_> renepickhardt: you don't need the bitcoin source code to build c-lightning 09:24 < renepickhardt> ok that is what I have figured because it worked before like a charm (: 09:25 < renepickhardt> anyway I am offline for today. weather way to hot. should you have another idea best to post it on github 09:25 < renepickhardt> thanks for your suggestions 09:28 -githubby:#c-lightning- [lightning] JBaczuk opened pull request #1766: added (or remotely) to README (master...clarify_remote_connection_in_readme) https://git.io/fNz0s 09:31 < Jbaczuk_> renepickhardt: good luck! 09:38 -!- renepickhardt [577bc4de@gateway/web/freenode/ip.87.123.196.222] has quit [Quit: Page closed] 09:38 -!- tiagotrs [~user@i577A1C67.versanet.de] has joined #c-lightning 09:38 -!- tiagotrs [~user@i577A1C67.versanet.de] has quit [Changing host] 09:38 -!- tiagotrs [~user@unaffiliated/tiagotrs] has joined #c-lightning 10:02 -githubby:#c-lightning- [lightning] cdecker opened pull request #1767: git: Ignore the connectd test binaries (master...cleanups) https://git.io/fNzzJ 10:10 -!- cryptapus [~cryptapus@unaffiliated/cryptapus] has quit [Ping timeout: 260 seconds] 10:47 -!- Jbaczuk_ [~Jbaczuk@ec2-52-43-23-161.us-west-2.compute.amazonaws.com] has quit [Ping timeout: 260 seconds] 10:51 -!- Jbaczuk [~Jbaczuk@ec2-52-43-23-161.us-west-2.compute.amazonaws.com] has joined #c-lightning 11:35 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has joined #c-lightning 11:40 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has quit [Ping timeout: 276 seconds] 11:47 -!- grubles [~grubles@unaffiliated/grubles] has quit [Quit: Leaving] 12:09 -!- Chris_Stewart_5 [~chris@unaffiliated/chris-stewart-5/x-3612383] has quit [Ping timeout: 240 seconds] 12:42 -!- shesek [~shesek@2.55.131.207] has joined #c-lightning 12:42 -!- shesek [~shesek@2.55.131.207] has quit [Changing host] 12:42 -!- shesek [~shesek@unaffiliated/shesek] has joined #c-lightning 12:43 -!- grubles [~grubles@unaffiliated/grubles] has joined #c-lightning 12:49 -!- polydin [~delphi@2602:306:b8b6:b970:ddb8:954:b1bd:ceea] has joined #c-lightning 13:00 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Read error: Connection reset by peer] 13:01 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 13:13 -!- shesek [~shesek@unaffiliated/shesek] has quit [Ping timeout: 240 seconds] 13:27 -!- Chris_Stewart_5 [~chris@unaffiliated/chris-stewart-5/x-3612383] has joined #c-lightning 13:42 -!- tiagotrs [~user@unaffiliated/tiagotrs] has quit [Ping timeout: 240 seconds] 13:42 -!- shesek [~shesek@2.55.131.207] has joined #c-lightning 13:42 -!- shesek [~shesek@2.55.131.207] has quit [Changing host] 13:42 -!- shesek [~shesek@unaffiliated/shesek] has joined #c-lightning 13:46 -!- Chris_Stewart_5 [~chris@unaffiliated/chris-stewart-5/x-3612383] has quit [Ping timeout: 240 seconds] 13:57 -!- booyah is now known as booyah_ 14:15 -!- Chris_Stewart_5 [~chris@unaffiliated/chris-stewart-5/x-3612383] has joined #c-lightning 14:41 -!- shesek [~shesek@unaffiliated/shesek] has quit [Ping timeout: 244 seconds] 14:42 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Read error: Connection reset by peer] 14:44 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 14:45 -!- Chris_Stewart_5 [~chris@unaffiliated/chris-stewart-5/x-3612383] has quit [Ping timeout: 248 seconds] 15:14 -!- Jbaczuk [~Jbaczuk@ec2-52-43-23-161.us-west-2.compute.amazonaws.com] has quit [Ping timeout: 256 seconds] 15:31 -!- Drolmer [~Drolmer@unaffiliated/drolmer] has joined #c-lightning 16:06 -!- Chris_Stewart_5 [~chris@unaffiliated/chris-stewart-5/x-3612383] has joined #c-lightning 16:06 -!- CubicEarth [~CubicEart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Ping timeout: 260 seconds] 16:08 -!- CubicEarth [~CubicEart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #c-lightning 17:29 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Read error: Connection reset by peer] 17:31 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 18:32 -!- deusexbeer [~deusexbee@093-092-181-127-dynamic-pool-adsl.wbt.ru] has quit [Quit: Konversation terminated!] 18:40 -githubby:#c-lightning- [lightning] rustyrussell pushed 1 new commit to master: https://git.io/fNgex 18:40 -githubby:#c-lightning- lightning/master 3783281 Christian Decker: git: Ignore the connectd test binaries 19:02 -githubby:#c-lightning- [lightning] rustyrussell opened pull request #1769: pytest: give more time for test_closing_torture. (master...make-close_torture-less-flaky) https://git.io/fNgvK 19:46 -!- grafcaps [~haroldbr@104.137.194.255] has quit [Ping timeout: 256 seconds] 19:49 -!- dougsland [~douglas@c-73-234-93-65.hsd1.nh.comcast.net] has quit [Ping timeout: 256 seconds] 19:59 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has joined #c-lightning 21:24 -!- ebx [~ebx@unaffiliated/ebex] has quit [Remote host closed the connection] 21:48 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has joined #c-lightning 21:56 -!- froyer_ [~froyer@126.121.233.220.static.exetel.com.au] has joined #c-lightning 21:56 -!- Chris_Stewart_5 [~chris@unaffiliated/chris-stewart-5/x-3612383] has quit [Ping timeout: 240 seconds] 21:57 -!- froyer_ [~froyer@126.121.233.220.static.exetel.com.au] has quit [Remote host closed the connection] 21:59 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has quit [Ping timeout: 260 seconds] 22:00 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has joined #c-lightning 22:02 -!- grafcaps [~haroldbr@050-090-083-229.res.spectrum.com] has quit [Ping timeout: 264 seconds] 22:03 -githubby:#c-lightning- [lightning] rustyrussell closed pull request #1766: added (or remotely) to README (master...clarify_remote_connection_in_readme) https://git.io/fNz0s 22:05 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has quit [Remote host closed the connection] 22:07 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has joined #c-lightning 22:08 -!- annonch [d82f98f2@gateway/web/freenode/ip.216.47.152.242] has quit [Ping timeout: 252 seconds] 22:13 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has quit [Remote host closed the connection] 22:13 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has joined #c-lightning 22:18 -!- froyer [~froyer@126.121.233.220.static.exetel.com.au] has quit [Ping timeout: 244 seconds] 22:41 -!- qubenix [~qubenix@177.67.80.187] has quit [Ping timeout: 240 seconds]