--- Day changed Thu Jan 18 2018 00:01 < ianthius> hop3y: are the 'amounts' in c-lightning satoshis? 00:02 <+roasbeef> i think it might expose milli-satoshis on the coammdn line 00:03 < hop3y> y milli-satoshis 00:04 -!- anome [~anome@unaffiliated/anome] has joined #lightning-dev 00:05 -!- bitconto [~bitconto@179.43.188.202] has joined #lightning-dev 00:07 < ianthius> whoa opened my first channel and the deboug window is going crazy now that I have a channel open with the lightning faucet (which I assume has really great number of routes, is it downloading all the routes through that node? 00:07 < ianthius> like mapping the mesh from there out? 00:10 < weex> basically, i'm not sure how routing information is shared but somehow the node gets it after a while 00:12 -!- trizko [~trizko@97-93-114-79.static.mtpk.ca.charter.com] has joined #lightning-dev 00:18 < hop3y> roasbeef: ok I think I got the same bug you linked. I guess I keep the channel open for now... 00:18 < hop3y> don't know what else to do, does closing it lose my money... 00:19 -!- trizko [~trizko@97-93-114-79.static.mtpk.ca.charter.com] has quit [Remote host closed the connection] 00:22 < ianthius> hop3y: if you are really hitting that bug, then you can't close it, right? Isn't that bug stating that neither party has the funds to close...? 00:25 < ianthius> someone please mine a testnet block :) 00:26 < hop3y> true... 00:32 -!- trizko [~trizko@97-93-114-79.static.mtpk.ca.charter.com] has joined #lightning-dev 00:33 -!- trizko [~trizko@97-93-114-79.static.mtpk.ca.charter.com] has quit [Client Quit] 00:38 -!- anome [~anome@unaffiliated/anome] has quit [] 00:45 -!- DanielMycelium [~kvirc@178-189-164-122.adsl.highway.telekom.at] has joined #lightning-dev 00:51 -!- anome [~anome@unaffiliated/anome] has joined #lightning-dev 00:51 -!- suyash [~smuxi@41.136.75.253] has joined #lightning-dev 01:03 -!- kexkey_ [~kexkey@173.209.48.158] has joined #lightning-dev 01:04 -!- kexkey [~kexkey@173.209.48.158] has quit [Ping timeout: 256 seconds] 01:22 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-ymzsrqogemwiapvn] has joined #lightning-dev 01:28 -!- jtimon [~quassel@41.31.134.37.dynamic.jazztel.es] has joined #lightning-dev 01:36 -!- suyash [~smuxi@41.136.75.253] has quit [Ping timeout: 268 seconds] 01:36 -!- smsms [6a337256@gateway/web/freenode/ip.106.51.114.86] has joined #lightning-dev 01:37 -!- smsms [6a337256@gateway/web/freenode/ip.106.51.114.86] has quit [Client Quit] 02:00 -!- arubi [~ese168@gateway/tor-sasl/ese168] has quit [Remote host closed the connection] 02:01 -!- arubi [~ese168@gateway/tor-sasl/ese168] has joined #lightning-dev 02:13 -!- askmike [3efb6b30@gateway/web/freenode/ip.62.251.107.48] has joined #lightning-dev 02:14 < askmike> hey guys, I was wondering if anyone has the commands to install the required dependencies on mac os? 02:14 < askmike> (for c-ightning) 02:28 -!- anome [~anome@unaffiliated/anome] has quit [] 02:29 -!- mughat [~textual@x1-6-28-c6-8e-30-bf-4a.cpe.webspeed.dk] has quit [Quit: Textual IRC Client: www.textualapp.com] 02:33 -!- jtimon [~quassel@41.31.134.37.dynamic.jazztel.es] has quit [Ping timeout: 256 seconds] 02:51 -!- mughat [~textual@x1-6-28-c6-8e-30-bf-4a.cpe.webspeed.dk] has joined #lightning-dev 02:57 -!- jtimon [~quassel@41.31.134.37.dynamic.jazztel.es] has joined #lightning-dev 03:00 -!- laurentmt [~Thunderbi@176.158.157.202] has joined #lightning-dev 03:00 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [] 03:01 -!- anome [~anome@unaffiliated/anome] has joined #lightning-dev 03:10 < keymone> askmike: do you have brew? 03:12 < keymone> askmine: also you could just build it in docker container 03:12 < keymone> dockerfile is in the source: https://github.com/ElementsProject/lightning/blob/master/contrib/Dockerfile.builder 03:15 < HectorJ> Hi! Do you guys know if there is a cli command to make c-lightning forget a channel? I have the same problem as described in https://github.com/ElementsProject/lightning/issues/635 03:15 -!- jtimon [~quassel@41.31.134.37.dynamic.jazztel.es] has quit [Ping timeout: 248 seconds] 03:33 < hop3y> HectorJ: wondering the same thing... 03:33 < hop3y> you are not alone ;) 03:33 < hop3y> I have an open channel and don't dare to close it atm 03:34 -!- laurentmt [~Thunderbi@176.158.157.202] has quit [Quit: laurentmt] 03:36 < HectorJ> hop3y: I managed to forget it by removing it from the "channels" table in the sqlite DB, but I'm not sure if that left my node in a stable state or if it will cause more errors later 03:36 < hop3y> ok, how about funds in that channel? 03:37 < HectorJ> gone 03:37 < hop3y> thought so 03:37 < askmike> keymone thanks! 03:38 -!- anome [~anome@unaffiliated/anome] has quit [] 03:38 < HectorJ> (well I have a backup of the sqlite DB so maybe I can go on a rescue mission later) 03:38 -!- anome [~anome@unaffiliated/anome] has joined #lightning-dev 03:39 < keymone> so are there any ways to solve the problem of one end of a channel going down? can there be 1-n or even n-m channels? 03:43 -!- jtimon [~quassel@41.31.134.37.dynamic.jazztel.es] has joined #lightning-dev 03:57 -!- riclas [riclas@72.210.189.46.rev.vodafone.pt] has joined #lightning-dev 04:04 -!- jtimon [~quassel@41.31.134.37.dynamic.jazztel.es] has quit [Ping timeout: 248 seconds] 04:05 -!- dabura667_ [~dabura667@p98110-ipngnfx01marunouchi.tokyo.ocn.ne.jp] has quit [Remote host closed the connection] 04:33 -!- sandeep [~d1g1t@pdpc/supporter/active/d1g1t] has joined #lightning-dev 04:44 -!- Chris_Stewart_5 [chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #lightning-dev 04:53 -!- rene4journalspir [5b39b8fb@gateway/web/freenode/ip.91.57.184.251] has joined #lightning-dev 04:56 < rene4journalspir> hey shoutout here. I asked yesterday already that I am planning to set up lightning charge on wordpress for a medium sized web shop... after very helpfull comments by cdecker I set up a virtual machine. installed my frist bitcoin node ever and set up lightning. I am having trouble however to install lightning charge on ubuntu 16.04 04:57 < rene4journalspir> anyone here familiar with the node.js tech stack and npm (that is also not my best background).... would highly appriciate some helpfull discussion 04:57 < rene4journalspir> I could also post the errors on github but I wonder weather these are really bugs or just my lack of experience in the node.js world 04:58 -!- Chris_Stewart_5 [chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 276 seconds] 04:59 < cdecker> I'm afraid I'm also not a nodejs person 04:59 -!- Saevar [2e166296@gateway/web/freenode/ip.46.22.98.150] has joined #lightning-dev 05:00 < cdecker> Not sure if I can help, but maybe you could share the errors you get? 05:05 < Sentineo> I use nodejs 05:05 < Sentineo> so might help, but need seeing the errors 05:06 -!- vt [505712c2@gateway/web/freenode/ip.80.87.18.194] has joined #lightning-dev 05:06 -!- suyash [~smuxi@197.225.221.75] has joined #lightning-dev 05:08 < vt> so how does one pay at store.blockstream.com ? I'm assuming it don't work from the regular wallets? 05:10 < vt> anyone alive at all? 05:10 -!- Amperture [~amp@24.136.5.183] has quit [Ping timeout: 255 seconds] 05:12 < Sentineo> . 05:12 < vt> .. 05:14 < rene4journalspir> @cdecker I am at this moment with the shop owner in the other vm. the main problem seems to be that the tutorial on github assumes ubuntu 17.04 and I have 16.04 LTS when installing charge with np I ether have permission denied in /usr/local/.... dir (I will look it up later) or when I try to fix this with sudo I have permission denied on some locked file in my home directory 05:14 < rene4journalspir> @sentino I will pm u as soon as my other call is over 05:18 -!- simlay [~simlay@gateway/tor-sasl/simlay] has quit [Ping timeout: 255 seconds] 05:21 -!- vt [505712c2@gateway/web/freenode/ip.80.87.18.194] has quit [Quit: Page closed] 05:23 < Sentineo> ah u use 16.04 05:23 < Sentineo> make sure you get nodejs from the nodejs page (I use the stable branch, there is a ubuntu repository there) 05:24 < Sentineo> the one comming with 16.04 by default is way obsolete 05:27 -!- DanielMycelium [~kvirc@178-189-164-122.adsl.highway.telekom.at] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 05:28 < rene4journalspir> rpickhardt@ip-172-31-5-23:/lightning$ npm install -g lightning-charge npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules npm ERR! path /usr/local/lib/node_modules npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules' npm ERR! { Error: EACCES: permission denied, access '/usr/local/lib/node_modules' npm 05:28 < rene4journalspir> I will put this in past bin later 05:29 < keymone> -g means to install globally, you need sudo for that 05:29 < rene4journalspir> that is for running without sudu: https://pastebin.com/dVgqSFgx 05:29 < keymone> iirc 05:29 < rene4journalspir> yeah but sudo also comes up with permission problems 05:29 < rene4journalspir> pasting in a sec 05:30 < keymone> rene4journalspir: drop the -g flag 05:34 < cdecker> vt: yes, in order to use Lightning you need a Lightning wallet, bitcoin clients do not include the Lightning support yet 05:34 < rene4journalspir> at keymone I will try 05:35 < rene4journalspir> but https://pastebin.com/vsUa2aYz that was the sudo version 05:36 < keymone> rene4journalspir: /export/home ... <- that is weird home folder? are you in a docker container or something? 05:36 < keymone> could be /export is readonly volume 05:36 < cdecker> Not sure if I can help, but maybe you could share the errors you get? 05:37 < cdecker> . /export might be a remotely mounted block device, which enforces its own permissions? 05:37 < cdecker> Sorry for double posting (starting a message with / is a bad idea ^^) 05:37 < rene4journalspir> npm install lightning-charge npm ERR! code ENOSELF npm ERR! Refusing to install package with name "lightning-charge" under a package npm ERR! also called "lightning-charge". Did you name your project the same npm ERR! as the dependency you're installing? 05:38 < keymone> trips me up every time :( 05:38 < rene4journalspir> @keymone yes this is currently within a docker container... but the problem have been the same without 05:38 < keymone> did you try without -g flag outside docker container? 05:39 < rene4journalspir> yeah but I am pretty sure this will fail too... I will try in 15 minutes as I said I am currently in a telco (which started unexpectedly and shortly after I aksed my question here and I am bad in multitsking) 05:49 -!- dom_eclair [~dom_eclai@92.184.97.20] has joined #lightning-dev 05:54 -!- kexkey_ is now known as kexkey 05:58 -!- Saevar [2e166296@gateway/web/freenode/ip.46.22.98.150] has quit [Quit: Page closed] 06:08 -!- suyash [~smuxi@197.225.221.75] has quit [Remote host closed the connection] 06:20 -!- dx25_ [~dx25@97-121-79-242.omah.qwest.net] has quit [Ping timeout: 255 seconds] 06:21 -!- ruby32 [~ruby32@158.106.219.26] has joined #lightning-dev 06:21 -!- ruby32_ [~ruby32@158.106.219.26] has joined #lightning-dev 06:22 -!- pm [~pm@11.46-14-84.ripe.coltfrance.com] has joined #lightning-dev 06:24 < ET_> So yesterday I set up c-lighning and opened a channel to Christian Decker's node to buy a blockstream sticker, got it to work after a few hiccups. This morning I run lightning-cli getchannels and there are ~50, are these folks routing through my node, or other channels that my node picked up from Christians? 06:25 -!- ruby32_ [~ruby32@158.106.219.26] has quit [Client Quit] 06:30 -!- daouzo235 [~daouzo23@62.68.195.173] has quit [Quit: Leaving] 06:30 -!- daouzo23 [~daouzo23@62.68.195.173] has joined #lightning-dev 06:31 < rene4journalspir> ok so the /export partition seems not to come from docker but from virtuatlization of the disk images. This entire setup is running in an AWS machine which a friend cloned for me for testing purposes... unfortunately I can't reach him and I don't know what this virtualization tool is called 06:34 -!- Saevar_ [2e166296@gateway/web/freenode/ip.46.22.98.150] has joined #lightning-dev 06:46 < rene4journalspir> and another strange behavior now occurs (which didn't happen yesterday night) when I want to start the lightning deamon I receive bitcoin-cli exited with code 1: error: Could not locate RPC credentials. No authentication cookie could be found, and no rpcpassword is set in the configuration file (/export/home/rpickhardt/.bitcoin/bitcoin.conf) 06:47 < rene4journalspir> I found this fix https://github.com/bitcoin/bitcoin/issues/8496 but out of the box it then says even when manually using the bitcoin-cli that authentication is impossible 06:47 < rene4journalspir> from the terminal I can run bitcoin-cli 06:47 < rene4journalspir> for example bitcoin-cli getinfo tells me I have still not downloaded the entire blockchain 06:51 -!- simlay [~simlay@gateway/tor-sasl/simlay] has joined #lightning-dev 07:01 < cdecker> ET_, getchannels shows all channels in the network, not the ones connected to your node 07:01 < cdecker> Use getpeers for your own channels 07:02 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-ymzsrqogemwiapvn] has quit [Quit: Connection closed for inactivity] 07:02 < ET_> Ahhh, got it, your my only peer, guess that endpoint will get rather large in the future... 07:09 < cdecker> We'll close channels from time to time to get people to connect to each other 07:09 < provoostenator> Has anyone had any luck compiling c-lightning on MacOS / OSX? https://github.com/ElementsProject/lightning/issues/645 07:10 < provoostenator> Looks like r251d ran into the same issue as I a few months ago: https://botbot.me/freenode/lightning-dev/2017-09-30/?msg=91763671&page=1 07:12 < cdecker> Would love to get it working on MacOS, but I don't have a machine myself 07:13 -!- Chris_Stewart_5 [chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #lightning-dev 07:14 -!- souped [541e4e36@gateway/web/freenode/ip.84.30.78.54] has joined #lightning-dev 07:17 -!- souped [541e4e36@gateway/web/freenode/ip.84.30.78.54] has quit [Client Quit] 07:22 -!- DrFeelGood [~DrFeelGoo@unaffiliated/olufunmilayo] has quit [Remote host closed the connection] 07:32 -!- daouzo23 [~daouzo23@62.68.195.173] has quit [Ping timeout: 240 seconds] 07:37 -!- Cogito_Ergo_Sum [~Myself@athedsl-91412.home.otenet.gr] has joined #lightning-dev 07:37 -!- Cogito_Ergo_Sum [~Myself@athedsl-91412.home.otenet.gr] has quit [Changing host] 07:37 -!- Cogito_Ergo_Sum [~Myself@unaffiliated/cogito-ergo-sum/x-7399460] has joined #lightning-dev 07:38 -!- anome [~anome@unaffiliated/anome] has quit [] 07:46 -!- Chris_Stewart_5 [chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 248 seconds] 07:50 -!- Klauss [~Klauss@gateway/tor-sasl/klauss] has joined #lightning-dev 07:57 < lndbot> Is there a way to install c-lightning without admin permission? My library has mac os so I could try 07:58 -!- blyat [~blyat@cpe-71-71-200-3.carolina.res.rr.com] has quit [Quit: Leaving] 08:00 -!- sgtmuellr2 [9d320976@gateway/web/freenode/ip.157.50.9.118] has joined #lightning-dev 08:01 < rene4journalspir> I was setting up bitcoind and c-lightning yesterday I do not have the feeling (or at least I am not remembering) that I needed any admin access 08:02 -!- anome [~anome@unaffiliated/anome] has joined #lightning-dev 08:02 -!- sgtmuellr2 [9d320976@gateway/web/freenode/ip.157.50.9.118] has quit [Client Quit] 08:05 < cdecker> john-sr, not sure what the dependencies on MacOS are, but if they're there (compiler, python, ...) you should be able to compile as a normal user without root access 08:09 -!- wraithm [~wraithm@unaffiliated/wraithm] has joined #lightning-dev 08:09 -!- alfa [uid11513@gateway/web/irccloud.com/x-kugyjxinmoitfghv] has joined #lightning-dev 08:21 -!- capitalfright [cffdd9f2@gateway/web/freenode/ip.207.253.217.242] has joined #lightning-dev 08:23 < rene4journalspir> @cdecker is there a way to install charge without npm? 08:23 < rene4journalspir> in the error messages I basically see it is comming from git://github.com/shesek/lightning-client-js.git 08:33 < rene4journalspir> can anyone on the main net open a channel with my lightning node at 36DqbzCRcXeHbUG6C9jjxMghmuCHZg9BRn ? 08:35 < alfa> why don't you open one yourself? btw is there a reason that node is not shown here https://lnmainnet.gaben.win/# ? 08:36 -!- daouzo23 [~daouzo23@178.115.130.30.wireless.dyn.drei.com] has joined #lightning-dev 08:38 < cdecker> That's a bitcoin address not a lightning node address 08:38 < cdecker> rene4journalspir, I'm afraid not, node is the runtime on which charge was built 08:39 < rene4journalspir> cdecker I got this adress by ./lightning-cli newaddr (which is exactly the api that is posted on the readme) 08:41 < rene4journalspir> how would I get the lightning node adress? would u need an IP address? 08:41 -!- Chris_Stewart_5 [chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #lightning-dev 08:42 -!- moctost [~moctost@107.182.231.94] has joined #lightning-dev 08:44 < cdecker> `lightning-cli getinfo` 08:44 < cdecker> IP and nodeid are needed 08:46 < cdecker> Also I'd encourage you to try on testnet first 08:47 -!- moctost [~moctost@107.182.231.94] has quit [Client Quit] 08:47 -!- moctost [~moctost@107.182.231.94] has joined #lightning-dev 08:48 < scalability-junk> @cdecker ok so without external static ip a node is problematic? DNS alone is not sufficient? 08:51 < rene4journalspir> @cdecker I had everything running on the testnetwork why not going on mainnet? I have not bitcoin funds there and we just need someone who funds a channel. didnt lightning pass the necessary software tests? 08:51 < cdecker> Dynamic IP is ok, but you'll have to accept incoming connections 08:51 < rene4journalspir> also the person running the webshop is basically selling a digital product. she says she believes in the technology and wouldn't mind if she sells for bitcoin and something goes wrong 08:51 < cdecker> rene4journalspir, just to be clear, this is all very much experimental, do not use any Lightning payments in production just yet 08:51 < rene4journalspir> { "id" : "020bcf913931fe5fb96931c9be470bbdccd1b24eaa5a0758dbf7efc45bedcb1ebe", "port" : 9735, "address" : [ ], "version" : "v0.5.2-2016-11-21-1574-g575b733", "blockheight" : 331274 } 08:52 < rene4journalspir> ipaddress I have a bridge for outside so I guess that is the ip adress people need which reads: 35.158.17.37 08:53 < rene4journalspir> is it a problem that my vm is not so strong and it takes so much time to verify the last 100k blocks to be up to date? is there a faster way to bulk download the blockchain? I understand that is a security issue since it could be corrupted 08:55 -!- dom_eclair [~dom_eclai@92.184.97.20] has quit [Remote host closed the connection] 08:58 -!- capitalfright [cffdd9f2@gateway/web/freenode/ip.207.253.217.242] has quit [Ping timeout: 260 seconds] 09:00 < scalability-junk> cdecker: ok accepting incoming connections aka NATting and ports are open. Just thought it might be problematic as externalip wouldn't be set and upnp is not yet supported within lnd only btcd. 09:00 < scalability-junk> really appreciate the pointers thanks. 09:02 -!- askmike [3efb6b30@gateway/web/freenode/ip.62.251.107.48] has quit [Ping timeout: 260 seconds] 09:09 < provoostenator> cdecker: I'm currently trying to install it on an Ubuntu VM and connect to a node that runs on the host MacOS machine. "rpcallowip=0.0.0.0/0.0.0.0" is fine for testnet I guess :-) 09:11 < cdecker> I'd tunnel using SSH, that's less dangerous 09:13 < ET_> Is it possible to add funds to an existing channel? I tried fundchannel for an existing channel and it returned "Peer already CHANNELD_NORMAL" 09:13 < provoostenator> I'll try that once I get everything to work, and before moving on to a ritual sacrifice of a small amount of mainnet coins :-) 09:15 < rene4journalspir> at ET_ not by reading the lingthing spec but just by reading the white paper I would assume that the preferred way would be to close the channel and open a new one. one would need another blockchain transaction anyway to confirm the new founds 09:15 -!- ripberge [2f9788b6@gateway/web/freenode/ip.47.151.136.182] has joined #lightning-dev 09:18 < ET_> thx, guess it really is importaint to open channels with what you will expect to spend in the future. Ordered a sticker, was going to go big and order a shirt... 09:18 < lndbot> there is something about that in this pretty infographic: https://media.discordapp.net/attachments/403018031866839040/403521452634144768/LN.png Its a matter of rebalancing it, basically another node needs to send some funds to you via lightning, but you don’t have to close your channel for that. (Thats how I understood it.) 09:19 -!- jb55 [~jb55@208.98.200.100] has joined #lightning-dev 09:20 < lndbot> There is something about that in this pretty infographic: https://media.discordapp.net/attachments/403018031866839040/403521452634144768/LN.png Its a matter of rebalancing the channel. Basically another node needs to send some funds to you via lightning, but you don’t have to close your channel for that. (Thats how I understood it.) 09:20 < ET_> So in closing the channel I'm getting "error message: Missing inputs" when lightningd is trying to broadcast the transaction 09:25 < ET_> from the log: lightningd(28938): sendrawtx exit 25, gave error code: -25 error message: Missing inputs 09:28 -!- sandeep [~d1g1t@pdpc/supporter/active/d1g1t] has quit [Quit: sandeep] 09:31 -!- Klauss [~Klauss@gateway/tor-sasl/klauss] has quit [Quit: Klauss] 09:32 -!- ET2 [6039f8fa@gateway/web/freenode/ip.96.57.248.250] has joined #lightning-dev 09:35 -!- nirved [~nirved@2a02:8071:b58a:3c00:3045:65ca:11d9:1f6a] has joined #lightning-dev 09:38 -!- qxt [~qxxt@unaffiliated/qxt] has joined #lightning-dev 09:38 -!- marcoagner [~user@gateway/tor-sasl/marcoagner] has joined #lightning-dev 09:38 < rene4journalspir> another question: I don't really need a node.js server running lightning charged. I could also wrap the lighting API myself in some java tomcat web service to create exactly the same REST API as lightning charge does ans still interact with the woocommerce plugin? Am I right? 09:40 < qxt> I might move my from testnet to mainnet. What are most ppl using. lnd? 09:42 < qxt> noticed that most of the nodes on mainnet have a alias. lnd does not have that feature yet. c-lighting? 09:42 -!- harding [~harding@mail.dtrt.org] has joined #lightning-dev 09:43 -!- bitstein [~bitstein@unaffiliated/bitstein] has joined #lightning-dev 09:44 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has quit [Quit: .] 09:44 < bitstein> Hello! I'm trying to run lightning-charge. I have bitcoind, c-lightning, and charge running. When I try to create a new invoice, I get an error. 09:44 < bitstein> Error: SQLITE_CONSTRAINT: NOT NULL constraint failed: invoice.rhash 09:44 < bitstein> fwiw, when I call /invoices, I get [] currently as expected. 09:45 -!- spudowiar [~spudowiar@unaffiliated/saleemrashid] has joined #lightning-dev 09:47 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has joined #lightning-dev 09:49 < provoostenator> cdecker: Fwiw I compiled c-lightning on the most recent nightly Ubuntu 18.04 Bionic build without too much trouble. 09:49 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has quit [Client Quit] 09:51 < provoostenator> Can I make it generate a bech32 address? 09:52 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has joined #lightning-dev 09:56 < provoostenator> I made a ticket: https://github.com/ElementsProject/lightning/issues/648 10:05 -!- Saevar_ [2e166296@gateway/web/freenode/ip.46.22.98.150] has quit [Quit: Page closed] 10:12 < rene4journalspir> @bitstein! can we work together I could set up everything but lighting charge because on my machine I have npm problems.... 10:12 -!- marcoagner [~user@gateway/tor-sasl/marcoagner] has quit [Remote host closed the connection] 10:13 -!- marcoagner [~user@gateway/tor-sasl/marcoagner] has joined #lightning-dev 10:15 -!- shesek [~shesek@unaffiliated/shesek] has quit [Ping timeout: 240 seconds] 10:15 < ianthius> hey guys, i am creating an invoice with lightning c and when i scan it with eclair it's coming out as having requested 0 sat when I have put in '10' for the amount, any ideas? 10:16 -!- laurentmt [~Thunderbi@176.158.157.202] has joined #lightning-dev 10:16 < ianthius> i did 'lightning-cli invoice 10 goods services_num' then pasted the bolt11 to qr code generator, scanned with eclair and the invoice ended up with 0 sat requested in the eclair UI 10:23 -!- AndBobsYourUncle [~AndBobsYo@2605:e000:1f01:43bf:e94d:eea2:fbdb:c30e] has joined #lightning-dev 10:23 < ianthius> i tried paying this 0 sat invoice and then my channel on eclair now shows that it's being closed 'uncooperative'.. any ideas whay this channel would close unexpectedly? Was it related to my trying to pay a 0 sat invoice? 10:33 -!- shesek [~shesek@bzq-84-110-56-105.red.bezeqint.net] has joined #lightning-dev 10:33 -!- shesek [~shesek@bzq-84-110-56-105.red.bezeqint.net] has quit [Changing host] 10:33 -!- shesek [~shesek@unaffiliated/shesek] has joined #lightning-dev 10:39 -!- anome [~anome@unaffiliated/anome] has quit [] 10:40 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-ewygtearnrdkihah] has joined #lightning-dev 10:40 -!- rene4journalspir [5b39b8fb@gateway/web/freenode/ip.91.57.184.251] has quit [Ping timeout: 260 seconds] 10:43 -!- hsjoberg [~hsjoberg@c-983b71d5.136-1-64736c10.cust.bredbandsbolaget.se] has joined #lightning-dev 10:48 -!- laurentmt [~Thunderbi@176.158.157.202] has quit [Quit: laurentmt] 10:50 -!- jonasschnelli [~jonasschn@bitcoinsrv.jonasschnelli.ch] has quit [Changing host] 10:50 -!- jonasschnelli [~jonasschn@unaffiliated/jonasschnelli] has joined #lightning-dev 10:51 -!- pm [~pm@11.46-14-84.ripe.coltfrance.com] has quit [Quit: Leaving] 10:58 < contrapumpkin> it seems like the network as a whole has an incentive to not really create any pure leaf nodes 10:59 -!- alfa [uid11513@gateway/web/irccloud.com/x-kugyjxinmoitfghv] has quit [Quit: Connection closed for inactivity] 11:00 < qxt> What is the better bet on mainnet. lnd or c-lighting? 11:03 < contrapumpkin> or at least no pure leaf nodes that have inbound funds on their channels 11:03 < contrapumpkin> but I guess the common case in the payment world is for most nodes to have outbound funds 11:04 -!- TheLive1 [~TheLive1@unaffiliated/thelive1] has quit [Quit: ZNC - http://znc.in] 11:05 -!- TheLive1 [~TheLive1@unaffiliated/thelive1] has joined #lightning-dev 11:08 -!- jtimon [~quassel@41.31.134.37.dynamic.jazztel.es] has joined #lightning-dev 11:09 < ianthius> i love how blockstream stickers and t-shirts made us all get off our asses. lol. freemarkets! 11:10 < ianthius> everyone (including me) wants their merit badges. hehe 11:14 < cdecker> ianthius, can you post the invoice? 11:26 -!- anome [~anome@unaffiliated/anome] has joined #lightning-dev 11:27 < booyah> it isn't free market if there is an artificiall block size limit 11:27 < booyah> reeeee 11:31 -!- melvin__ [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has quit [Ping timeout: 256 seconds] 11:31 < ianthius> lntb100p1pdxpc6lpp5wkgcpg2vsq55dwe7a4gme2ptzq5uwfug4jpwtrckwrc2dznwlhpqdq5wdjhyanfvdjhxhmww4kscqpx8n2x9zg62560yr34etsxl6at5c9q4ep9c4d6dpjfdutekzjptud3ld6ejv3lnx45vzx4rcq4n02sxdukye7zm9s2gec5urwnsp8wt3cq4yw9vc 11:32 < ianthius> cdecker: ^^ 11:33 < ianthius> similarly i just scanned an invoice generated by c-lightning for amount 'any' and was able to enter the number of satoshis in eclair and hit pay and now it's pending in my ecalir wallet with a listed amount of 0 sat 11:33 < ianthius> lntb1pdxpetvpp5n2xh3ja7hyjy73648ksvsqzhtdu8v7nys4tcf3ku0d7gznaq6tysdq5wdjhyanfvdjhxhmww4kscqpxjje8qe8xhswht494337vq5ehzp9quvzcxt0agwmzlpjyjpww3x6xa7hxafywq2x5e7jw0w3d27r52cuppqagvqmc75nnewncrq520ygqf873dg 11:34 < ianthius> ^^invoice for the other invoice with amount 'any' 11:35 < ianthius> as of now i am unable to pay a c-lighting node with eclair 11:37 < ianthius> i just realized the problem the lightning wallet is allowing units of sub satoshis! 11:37 < ianthius> sorry, c-lightning is sub satoshi 11:39 < ianthius> i think the default amount is sub-satoshi... that seems very odd. is that a thing? Are we going sub-satoshi on lightning because we can? will it round on channel close? This seems an odd decision, but i am happy to read about it. 11:39 < lndbot> It eliminates the fractional amounts, but in other currencies it may work differently 11:40 < lndbot> There could also be the opportunity for probabilistic settlement 11:45 < nibbler_> qxt: I'm not very succesfull with c-lightning. my peers with lnd seem to fare better 11:46 < qxt> nibbler_, are they doing it on mainnet? 11:46 < nibbler_> no, testnet. 11:47 < nibbler_> and for my lack of success I'm sticking to testnet, too :( would love some awesome sticker thou 11:47 < qxt> nibbler_, have a lnd and eclair node on testnet. Thought I would buy a sticker for that sake of it =) 11:48 < nibbler_> qxt: I just pulled & made, hoping my issues would resolve. peer not online, so no need to find out right now :/ 11:50 < nibbler_> how are lnd/eclair doing? able to pay invoices in all directions? receive funds? 11:52 -!- shesek [~shesek@unaffiliated/shesek] has quit [Ping timeout: 265 seconds] 11:55 -!- dx25 [~dx25@97-121-79-242.omah.qwest.net] has joined #lightning-dev 12:01 -!- daouzo235 [~daouzo23@178.115.131.134.wireless.dyn.drei.com] has joined #lightning-dev 12:04 -!- daouzo23 [~daouzo23@178.115.130.30.wireless.dyn.drei.com] has quit [Ping timeout: 248 seconds] 12:05 -!- shesek [~shesek@bzq-84-110-232-158.red.bezeqint.net] has joined #lightning-dev 12:05 -!- shesek [~shesek@bzq-84-110-232-158.red.bezeqint.net] has quit [Changing host] 12:05 -!- shesek [~shesek@unaffiliated/shesek] has joined #lightning-dev 12:20 -!- marcoagner [~user@gateway/tor-sasl/marcoagner] has quit [Ping timeout: 255 seconds] 12:24 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lightning-dev 12:29 <+roasbeef> nibbler_: yep, would still generally recommend testnet when messing around with any of the impls 12:34 -!- fffff [d407de6e@gateway/web/freenode/ip.212.7.222.110] has joined #lightning-dev 12:36 -!- hkjn0 [~hkjn@215.134.198.35.bc.googleusercontent.com] has joined #lightning-dev 12:41 -!- bitstein [~bitstein@unaffiliated/bitstein] has quit [Quit: Textual IRC Client: www.textualapp.com] 12:47 -!- kevsch433 [uid276219@gateway/web/irccloud.com/x-ihpqqpozhpatfcwo] has joined #lightning-dev 12:56 -!- spudowiar [~spudowiar@unaffiliated/saleemrashid] has quit [Quit: WeeChat 2.0.1] 13:02 < anaoum> Can someone help me.. I have a channel in state ONCHAIND_THEIR_UNILATERAL on c-lightning 13:03 < anaoum> when the daemon tries sending the commitment transaction, bitcoind gives error: error code: -25 13:03 < anaoum> error message: 13:03 < anaoum> Missing inputs 13:13 -!- keymone [~keymone@ip1f13761c.dynamic.kabel-deutschland.de] has quit [Ping timeout: 248 seconds] 13:14 < cdecker> anaoum, that's ok, it means that the closing transaction is already being processed by the bitcoin network 13:15 < cdecker> lightningd will periodically try to rebroadcast the transaction until it gets confirmed, and since bitcoind already knows about that tx you get that message, but nothing to worry about 13:20 < hsjoberg> Hi cdecker and rusty (offline? :)), I've been trying to get cross compilation to ARM to work for c-lightning. The ultra-naive approach so far has been to just pass the ARM compiler to the Makefile (by defining CC to it), which ofc wont work fully because of dependencies running autotools. But my problem so far has been that I've a hard time understanding exactly how CCAN works, it seems be compiling a binary 13:20 < hsjoberg> which will later be executed inside the Makefile (line 245), but as the GCC compiler has been to be for ARM (via CC=arm-linux-gnueabi...), it will of course fail to run. Do you have any advice on how I should reason around this issue, and/or how CCAN should operate given cross compilation? 13:21 -!- keymone [~keymone@ip1f13761c.dynamic.kabel-deutschland.de] has joined #lightning-dev 13:21 -!- anome [~anome@unaffiliated/anome] has quit [] 13:22 < cdecker> Yes, that's the configurator that generates a number of header files to select the ccan files to include in the project 13:22 -!- ET2 [6039f8fa@gateway/web/freenode/ip.96.57.248.250] has quit [Quit: Page closed] 13:23 < cdecker> But I'm not too familiar with the internals of ccan and the configurator, probably need to wait for rusty 13:24 -!- Pavle [~pavle_@unaffiliated/pavle/x-4679000] has joined #lightning-dev 13:24 < anaoum> thanks cdecker 13:26 < cdecker> You're welcome, stay safe out there :-) 13:30 < hsjoberg> cdecker, Right, I figured it was used for something like that. :) I experimented by just compiling it with the normal gcc compiler, but that causes another problem -- the dependencies, sqlite3 and libgmp are already compiled for ARM (manually by me) and so they will fail if I try to include them when compiling the configurator. 13:30 < hsjoberg> I'll ask rusty when he's available. 13:31 -!- Murch [~murch@96-82-80-28-static.hfc.comcastbusiness.net] has joined #lightning-dev 13:32 -!- anome [~anome@unaffiliated/anome] has joined #lightning-dev 13:35 -!- kmordic [~kmordic@76.14.28.158] has left #lightning-dev ["Leaving"] 13:37 <+roasbeef> hsjoberg: maybe make an issue? might be others trying to compile on arm 13:38 < hsjoberg> roasbeef, makes sense. I will do that 13:41 < cdecker> Yep, we also have people trying to compile on MacOS so maybe others can jump in and help as well 13:41 -!- amgadpasha [49fa979c@gateway/web/freenode/ip.73.250.151.156] has joined #lightning-dev 13:42 < hsjoberg> (I'm not trying to compile on ARM, I'm trying to compile _to_ ARM... Compiling on an ARM Linux machine (RasbPi3) works without any issues at all FYI :)) 13:50 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-ewygtearnrdkihah] has quit [Quit: Connection closed for inactivity] 13:50 < mlz> my bitcoind is running with "txindex", can i use it with c-lightning? 13:54 < qxt> roasbeef, lot of these guys are using lnd/btcd on mainnet. How they setting their aliases ie alias "RECKLESS" is using lnd he says. https://lnmainnet.gaben.win 13:55 <+roasbeef> qxt: if they're recompling to use mainnet, not a far off task to hard code an lias 13:55 <+roasbeef> alias* 13:55 < qxt> roasbeef, ah hard coded. Got a pointer where I can find that? 13:56 < qxt> grep -ri alias /hugepileofcode gave a lot of hits =) 13:58 -!- shesek [~shesek@unaffiliated/shesek] has quit [Ping timeout: 248 seconds] 13:59 -!- jtimon [~quassel@41.31.134.37.dynamic.jazztel.es] has quit [Ping timeout: 268 seconds] 14:02 -!- JackH [~laptop@i25091.upc-i.chello.nl] has joined #lightning-dev 14:02 -!- spinza [~spin@196.212.164.26] has quit [Quit: Coyote finally caught up with me...] 14:05 < cdecker> You gotta earn the privilege to have your name there ;-) 14:05 -!- Chris_Stewart_5 [chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 260 seconds] 14:06 -!- nirved [~nirved@2a02:8071:b58a:3c00:3045:65ca:11d9:1f6a] has quit [Quit: Leaving] 14:06 < qxt> cdecker, so when I find it Ill be sure to put it on Reddit =) 14:07 < cdecker> tz tz tz, you want to go through all that work just to spoil the fun for others? ;-) 14:08 -!- spinza [~spin@196.212.164.26] has joined #lightning-dev 14:09 < qxt> cdecker, lol cant be that much work. Just some grep'n. I know that my ID is broadcast so look for that and then replace it I would think 14:10 < qxt> just gotta dick around a little with this weird go stuff. 14:10 -!- Emcy [~Emcy@unaffiliated/emcy] has quit [Ping timeout: 256 seconds] 14:11 -!- shesek [~shesek@bzq-84-110-53-187.cablep.bezeqint.net] has joined #lightning-dev 14:11 -!- shesek [~shesek@bzq-84-110-53-187.cablep.bezeqint.net] has quit [Changing host] 14:11 -!- shesek [~shesek@unaffiliated/shesek] has joined #lightning-dev 14:11 < cdecker> Perfect, it's our gateway coding exercise, to get you hooked on contributing to lightning-dev xD 14:17 < qxt> heh lighting labs could hide parts of a private key to say 0.05 BTC in the code here and there. That would get people to really start poking around. Don't make it to easy =) 14:17 < qxt> b58 = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz' 14:17 < qxt> some loop 14:17 < qxt> result = b58[n%58] + bingo_biach 14:17 < qxt> n = seed to a int that will make a private key against b58 14:18 < qxt> was a underscore to bingo-biach =) 14:19 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 14:22 -!- AndBobsYourUncle [~AndBobsYo@2605:e000:1f01:43bf:e94d:eea2:fbdb:c30e] has quit [Ping timeout: 276 seconds] 14:28 -!- amgadpasha [49fa979c@gateway/web/freenode/ip.73.250.151.156] has quit [Ping timeout: 260 seconds] 14:35 -!- Emcy [~Emcy@unaffiliated/emcy] has joined #lightning-dev 14:38 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Read error: Connection reset by peer] 14:40 -!- jtimon [~quassel@41.31.134.37.dynamic.jazztel.es] has joined #lightning-dev 14:43 -!- laurentmt [~Thunderbi@176.158.157.202] has joined #lightning-dev 14:44 -!- melvin__ [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has joined #lightning-dev 14:44 < qxt> meh maybe someplace around lnd/lnwire/node_announcement.go 14:46 -!- laurentmt [~Thunderbi@176.158.157.202] has quit [Client Quit] 14:49 -!- anome [~anome@unaffiliated/anome] has quit [] 14:49 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 14:50 -!- reardencode [~reardenco@hank.reardencode.com] has joined #lightning-dev 14:51 < reardencode> If I have two lightning wallets, and both can pay to yalls and starblocks, why wouldn't I be able to pay from one to the other? 14:53 -!- AndBobsYourUncle [~AndBobsYo@2605:e000:1f01:43bf:794d:a412:3578:bb2a] has joined #lightning-dev 14:53 < rusty> reardencode: insufficient balances perhaps? 14:56 < reardencode> made sure to buy several articles on yalls from each wallet, and many coffees from each and then only tried to send 100 sat 14:56 < luke-jr> well, that was less work than I expected https://github.com/ElementsProject/libwally-core/pull/11 14:56 < mlz> hi rusty! so i'm compiling c-lightning... After "make" do i need to run "make install"? 14:57 < rusty> mlz: it will work in-place if youwant. 14:57 < mlz> ah, thanks :D 14:57 < luke-jr> rusty: I just got c-lightning to build using shared system libwally-core/libsecp256k1 :D 14:58 < rusty> luke-jr: nice! 14:58 < mlz> luke-jr is onboard to be another c-lightning dev! 14:58 < luke-jr> updated the ebuild for Gentoo users 14:58 < mlz> ugh why gentoo 14:59 < luke-jr> I think that leaves only jsmn and ccan for bundled stuff, and ccan at least probably will stay bundled 14:59 < luke-jr> I thought someone mentioned replacing jsmn with jansson.. is that still desired? 14:59 < luke-jr> mlz: because it's nice and flexible 15:02 < luke-jr> mlz: also, I didn't need to make any changes to c-lightning for these things :p 15:02 < mlz> ok luke-jr :D 15:05 -!- Deelight [~Deelight@79.86.68.75] has joined #lightning-dev 15:07 * luke-jr wonders if there's any c-lightning GUIs to package next 15:08 -!- Madars [~null@unaffiliated/madars] has quit [Quit: Leaving.] 15:09 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-svmjjgvkalnanovv] has joined #lightning-dev 15:09 -!- Cogito_Ergo_Sum [~Myself@unaffiliated/cogito-ergo-sum/x-7399460] has quit [] 15:20 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Ping timeout: 256 seconds] 15:21 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lightning-dev 15:21 < jb55> I dont think there are any? 15:22 < jb55> a simple web gui would be fun, with graphs like this for local channels https://lnmainnet.gaben.win/ 15:22 < jb55> hmmm now I want to make this 15:23 < luke-jr> cdecker has some web thing 15:23 < luke-jr> not quite was I was looking for, though 15:26 -!- mlz [~IRCIdent@unaffiliated/molly] has quit [Quit: ZNC 1.6.5 - http://znc.in] 15:28 -!- stiell [~stian@fsf/member/stiell] has quit [Ping timeout: 265 seconds] 15:31 -!- ripberge [2f9788b6@gateway/web/freenode/ip.47.151.136.182] has quit [Ping timeout: 260 seconds] 15:31 -!- anome [~anome@unaffiliated/anome] has joined #lightning-dev 15:31 -!- tuxx [~tuxx@ur24.Uranus.fastwebserver.de] has joined #lightning-dev 15:32 < tuxx> i was wondering..... why would anyone these days implement something security critical like lightning network in C? 15:33 < tuxx> also, can anyone point me to a btc testnet faucet? 15:33 < tuxx> http://tpfaucet.appspot.com/ gives me an error 15:34 < tuxx> https://faucet.lightning.community/ that looks interesting 15:36 < EvanR> for speed and the degenerate C muscle memory humans have been born with since 1956 15:39 < hsjoberg> Well if not, sounds like a fun project to adopt. Perhaps I could make a very simple Qt app running c-lightning as a backend. 15:40 < luke-jr> tuxx: a better question is why would anyone implement something security-critical in anything EXCEPT C? 15:41 < ianthius> does anyone know whether c-lightning will work with a pruned bitcoind? 15:41 < hsjoberg> I don't think there's anything wrong with creating a lightning node in C, it is the obvious choice quite frankly 15:41 < ianthius> thought I would ask one more time before trying it myself 15:41 < hsjoberg> I mean the alternatives out there currently are Go and Scala/EVM. 15:41 < hsjoberg> (With that said, something i Rust would be nice.) 15:42 < tuxx> luke-jr: please explain as to why security critical components are safer in c than in memory safe languages 15:42 < tuxx> luke-jr: wld be an interesting point to argue... :D 15:42 < hsjoberg> in* 15:43 < tuxx> hsjoberg: i disagree and i'd argue that most of the IT sec community does too.. the credo in it sec nowadays is to use memorysafe languages 15:43 < tuxx> i'd say the obvious choice wld be something that compiles to native code and is mem safe, such as go 15:43 <+roasbeef> tuxx: lnd is written in a memory safe language, just sayin :) 15:44 < tuxx> roasbeef: i agree... go wld for me be a way more obvious choice 15:44 <+roasbeef> luke-jr: i think there's some dashboard, but not fully fleged gui yet 15:44 < hsjoberg> tuxx, Yes, which is why I usually prefer Rust. 15:44 < tuxx> roasbeef: do you know if there have been any fuzzing attempts at lightning-c? 15:44 <+roasbeef> i know decker had a console, dunno if it's been updated 15:45 -!- Madars [~null@unaffiliated/madars] has joined #lightning-dev 15:45 < hsjoberg> Running memory safe languages is a matter of trade-offs. I would rather have a lightning fast Lightning client (:P) 15:45 <+roasbeef> tuxx: dunno, but lnd has been fuzzed: https://github.com/lightningnetwork/lnd/tree/master/docs/go-fuzz 15:45 < luke-jr> tuxx: because with C, the language itself is unlikely to have security problems 15:45 < tuxx> hsjoberg: yea but rust is quite tedious to write large programs in 15:45 < hsjoberg> tuxx, that of course depends on how you write them. 15:45 < hsjoberg> I've seen really good Rust codebases 15:45 < luke-jr> no JIT, giant stdlibs, etc 15:46 < tuxx> hsjoberg: well it is generally alot more cumbersome than C 15:46 <+roasbeef> luke-jr: https://github.com/cdecker/kugelblitz 15:46 < tuxx> anyway, i think i'll try doing some oss-fuzz for c-lightning... i saw quite few sigsevs already.. which scares the crap outa me 15:46 < hsjoberg> tuxx, what is? Rust does a lot of things right as well.. it's not that black and white. 15:47 <+roasbeef> tuxx: you mean submit it to the program? 15:47 < luke-jr> Rust is un-securable at present 15:48 < tuxx> roasbeef: you know google's oss fuzz right? 15:48 <+roasbeef> yes 15:48 < hsjoberg> luke-jr, what does that mean? 15:48 <+roasbeef> but you need to be accepted afaik 15:48 <+roasbeef> and also they have a 14 day disclosure deadline, which may not be ideal in certain circumstances 15:49 < tuxx> roasbeef: the bar for acceptance is pretty low afaik 15:49 < luke-jr> hsjoberg: you need to trust some third-party's binaries 15:49 < tuxx> i have colleagues who do quite a bit of oss-fuzzing 15:49 < luke-jr> roasbeef: eh, harmless for Lightning at this point 15:49 < luke-jr> in a few months, otoh, dunno 15:49 <+roasbeef> luke-jr: what's harmless? 15:49 < luke-jr> roasbeef: 14 day disclosure 15:49 <+roasbeef> well it's for a specific project/codebase 15:49 < luke-jr> "oh no, you stole my testcoins" 15:50 <+roasbeef> well some people are recommending others to run on mainnet at this point, so impact could be wider, also in the future when more are on mainnet, it's tied to a specific implementatino though 15:50 < tuxx> roasbeef: yea the autodisclosure feature is pretty rough ^^ 15:51 < hsjoberg> luke-jr, in what scenario? 15:52 < lndbot> this makes it seem like a 90 day disclosure w/ potential 14 day grace period https://github.com/google/oss-fuzz#bug-disclosure-guidelines 15:52 < lndbot> am i missing something? 15:52 < luke-jr> hsjoberg: to use anything written in Rust 15:52 < tuxx> roasbeef: may i ask if you discovered any bugs during fuzzing of lnd? 15:52 <+roasbeef> tuxx: a ton, all fixed now, I run it for a few days every now and then, need to expand the corpus it uses as well 15:53 < tuxx> roasbeef: interesting... i'm pretty sure there are a ton of bugs to be found in a C implementation 15:54 < hsjoberg> luke-jr, I don't understand want you mean. You can compile the code for the Rust compilator yourself, albeit written in Rust... But how is that any different than compiling the C compilator yourself, in C? 15:55 < qxt> jezz this go is some serious space shit! 15:55 < luke-jr> hsjoberg: you can compile C compilers in other C compilers 15:55 < luke-jr> there is only one Rust compiler 15:55 < tuxx> there is estimate release timeline out for lnd yet, is there? 15:56 <+roasbeef> soon :) 15:56 < tuxx> is a release even dependant on inter-operability? 15:56 < hsjoberg> luke-jr, right, that could be seen as a single point of failure 15:56 < tuxx> or can one implementation release w/o the others being ready 15:56 <+roasbeef> things are pretty good inter-op wise, the testnets have been bridged for some time 15:56 < luke-jr> I would suggest a minimum inter-op requirement that an implementation doesn't get its coins stolen due to compatibility issues :P 15:57 < luke-jr> hsjoberg: one compiler, written in the language only it can compile = security nightmare 15:57 < luke-jr> hsjoberg: it can trivially backdoor itself 15:57 < tuxx> roasbeef: "soon" is a pretty vague.. weeks, months, years? :) 15:57 < qxt> roasbeef, was not long ago (about 65 million years ago) the dinosaur went extinct. Kinda relative. 15:58 <+roasbeef> heat death of the universe inc, it's aight 15:58 < qxt> 5 billion years for us but that is nothing 15:58 < hsjoberg> luke-jr, right, I agree. 15:58 <+roasbeef> 1 billi, 2 billi, 13 billi? don't matter, everythings gonna stop moving 15:59 < luke-jr> qxt: if we want to get pedantic, some pretty terrible lizards ("dinosaurs") still exist :P 15:59 < hsjoberg> (A bit off topic, but) How does the C ecosystem differ? I mean gcc builds gcc, right? And the same for clang. How would you know if there was a backdoor in gcc? 15:59 < qxt> luke-jr, yeah T-Roger still roams the earth! 16:00 -!- melvin__ [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has quit [Ping timeout: 240 seconds] 16:00 < qxt> luke-jr, btw luke loved your post on twitter about 7 years on earth... 16:00 < luke-jr> lol 16:01 < luke-jr> hsjoberg: LLVM can build GCC too 16:01 < luke-jr> hsjoberg: and vice-versa 16:01 < hsjoberg> Nice 16:01 < hsjoberg> The binaries would differ, though? 16:02 * tuxx tried to build a linux kernel with llvm the other day.. pretty tough 16:02 < hsjoberg> (in for example LLVM -> GCC and GCC -> GCC) 16:04 -!- wraithm [~wraithm@unaffiliated/wraithm] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 16:07 -!- vicenteH [~user@35.233.15.37.dynamic.jazztel.es] has quit [Ping timeout: 256 seconds] 16:09 -!- DrFeelGood [~DrFeelGoo@unaffiliated/olufunmilayo] has joined #lightning-dev 16:09 -!- fffff [d407de6e@gateway/web/freenode/ip.212.7.222.110] has quit [Ping timeout: 260 seconds] 16:11 < ianthius> n 16:11 < ianthius> " 16:14 < tuxx> roasbeef: ima gunna checkout your go-fuzz stuff... 16:15 < tuxx> never fuzzed a go project however to be honest.... 16:15 <+roasbeef> fuzz away my friend 16:15 < tuxx> mainly used libfuzzer and afl 16:15 <+roasbeef> yeh it's similar to those, based on afl 16:15 < tuxx> kk my new ryzen machine is idle anyway ^^ 16:15 < grubles> luke-jr, so you don't like firefox then? :) 16:16 < grubles> (i recall you use chromium...i think) 16:16 -!- Pavle [~pavle_@unaffiliated/pavle/x-4679000] has quit [Quit: Leaving] 16:22 -!- kmordic [~kmordic@76.14.28.158] has joined #lightning-dev 16:28 < tuxx> is there some way to expedite the btcd testnet syncing process? 16:28 < tuxx> this is .... gunna take forever :D 16:28 <+roasbeef> hyperbolic time chamber 16:29 < tuxx> yes that sounds about right 16:30 < tuxx> mount -t tmpfs none ~/.bitcoin <- would that help? 16:31 < tuxx> testnet chain shldnt be excessively large aye? 16:32 <+roasbeef> it's like 15gb or so 16:34 -!- Deelight [~Deelight@79.86.68.75] has quit [Ping timeout: 256 seconds] 16:35 < tuxx> k, then i'll try a ramdisk, eventhough i hardly imagine it will do much, since regular disk caching sld kick in anyway 16:35 < ianthius> is testnet slow to mine cause hashrate fluctuates a lot? 16:36 < ianthius> seems the difficulty should keep it moving fairly quick... 16:37 -!- jtimon [~quassel@41.31.134.37.dynamic.jazztel.es] has quit [Ping timeout: 260 seconds] 16:40 < reardencode> Is there something that makes it impossible to route a payment to a SPV phone wallet? I still don't seem to be able to send from eclair to anton kumaigorodski's android lightning wallet 16:41 < reardencode> (have tried opening additional channels and such) 16:42 < tuxx> fyi, ramdisk does actually seem to speed syncing up quite significantly 16:43 < qxt> Is it just me who finds GO really really "different"? Been programing C, awk, sed, python and reluctantly C++ for years. ofc I am open to new things. 16:43 -!- began [33df8041@gateway/web/freenode/ip.51.223.128.65] has joined #lightning-dev 16:43 < qxt> maybe I am just getting old =( 16:44 -!- hsjoberg [~hsjoberg@c-983b71d5.136-1-64736c10.cust.bredbandsbolaget.se] has quit [Quit: Leaving] 16:47 < tuxx> go-fuzz -bin=<.zip archive here> -workdir=lnwire/ <- why .zip?! 16:48 <+roasbeef> the corpus is compressed 16:49 < tuxx> contained files: cover.exe sonar.exe metadata <- wtf 16:49 < tuxx> ah but they are elf's :) 16:50 < tuxx> so the executable contains the corpus in the binary? 16:50 < reardencode> ok, I think it's just that routing is pretty rough still (which is well known) without a direct channel to acinq I can't pay for starblocks either (can still pay yalls via another channel) 16:51 < ianthius> for c-lightning i can get coins into it by calling newaddr how do i send those funds somewhere elese? I can't find any docs. can someone point me to further docs for all the lightning-cli calls i can make? or what header should I look in to write the docs? 16:51 <+roasbeef> reardencode: haven't used that wallet, maybe file an issue on their repo? 16:53 < Emcy> 10,000 dollars of value on mainnet ln already wew 16:53 < tuxx> so like 1 btc.... 16:53 < Emcy> or, nearly a hole bitcoin 16:53 < reardencode> roasbeef: I'm sending from eclair, and after closing my direct channel to acinq can pay yalls but not starblocks from acinq - hence I think it's a general lightning network routing issue rather than an issue with the wallt I'm trying to receive with 16:53 < reardencode> also, with the channel I have on that wallet I can pay yalls and starblocks fine 16:57 < ianthius> i'm getting the feeling that the c-lightning folks don't come in here much :) 16:57 -!- dabura667 [~dabura667@p98110-ipngnfx01marunouchi.tokyo.ocn.ne.jp] has joined #lightning-dev 16:57 <+roasbeef> reardencode: wouldn't chuck it up to a routing issue, the wallet controls all that stuff 16:58 <+roasbeef> reardencode: but if closing the channel destroeyd a possible route, then yeh 17:01 -!- anome [~anome@unaffiliated/anome] has quit [] 17:02 < reardencode> roasbeef: interesting, so this means that eclair android itself is struggling to find a route even when a human can easily plot one? apparently I don't really understand how routing decisions are made currently :) 17:02 <+roasbeef> well how do you know a human can plot one? the algo does it's job lol 17:02 < tuxx> roasbeef: um from what i gather from briefly looking into your corpus and go-fuzz stuff, it looks to me that you have generated a corpus for each of the different message types and feed that as input into lnd... however i would assume that some messages may bail pretty quickly, as they rely on a certain degree of statefulness? 17:03 <+roasbeef> tuxx: it continues ot mutate the input as it explores the search space 17:03 < reardencode> roasbeef: looking at the explorer, I can plot a path from the node I still have a channel with to the one I closed the channel with 17:04 < tuxx> roasbeef: yea sure, but i mean wouldnt messages need to come in a certain order etc, to satisfy some statefulnes? 17:04 < qxt> roasbeef, how many coders does Stark on on the pay roll? 17:04 < tuxx> ah nevermind, i'll try to get some better understanding of it tmrw 17:04 < qxt> roasbeef, she Tweeted a while back it was hard to find them 17:07 -!- cypher [~cypher@unaffiliated/cypher] has joined #lightning-dev 17:07 -!- AndBobsYourUncle [~AndBobsYo@2605:e000:1f01:43bf:794d:a412:3578:bb2a] has quit [Ping timeout: 276 seconds] 17:10 <+roasbeef> reardencode: that channel may not have capacity, it's a flow network 17:11 <+roasbeef> tuxx: atm it's a wire parsing level fuzzer, we have a plan for more specific components as well 17:12 < tuxx> roasbeef: okay yea, that makes sense 17:16 -!- Chris_Stewart_5 [chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #lightning-dev 17:16 < reardencode> roasbeef: yeah, thought had occured to me, but I've been making similar sized payments via that channel in between at to yalls that work via the same channel to verify :) 17:18 < tuxx> roasbeef: ah so looking at the code the fuzzer is only covering actual bitcoin message parsing right? 17:18 < tuxx> roasbeef: ReadMessageWithEncodingN() etc 17:19 <+roasbeef> tuxx: not bitcoin, ligthning 17:19 < tuxx> roasbeef: okay, the msg types look very similar 17:20 -!- began [33df8041@gateway/web/freenode/ip.51.223.128.65] has quit [Ping timeout: 260 seconds] 17:20 < tuxx> // ReadMessageWithEncodingN reads, validates, and parses the next bitcoin Message from r for the provided protocol version and bitcoin network. 17:21 <+roasbeef> lol was borrowed from btcd :) 17:21 < tuxx> nice ^^ 17:21 <+roasbeef> oh actually maybe you're looking at the wrong code? 17:21 < tuxx> ah i used ctags.. maybe it failed on me 17:21 < tuxx> probably its defined elsewhere as well... ok 17:21 <+roasbeef> yeh seems like it, you're in btcd's codebase 17:22 < tuxx> hah ok i thought that looked verrrry much like btc message types.. (i just wrote a btc "client" in python+scapy the otherday) 17:23 < ianthius> okay, so you use the 'withdraw' command. Why they didn't call it sendtoaddress, i am not sure ;) 17:23 < tuxx> roasbeef: u use an IDE for go? or just like plain vim or sometin? 17:23 < ianthius> ^^in c-lightning to get your money back out :) 17:24 < ianthius> And yes it seems you can use pruned nodes with c-lightning 17:26 -!- riclas [riclas@72.210.189.46.rev.vodafone.pt] has quit [Ping timeout: 248 seconds] 17:28 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 17:28 < luke-jr> grubles: nope 17:29 < ianthius> okay i think i am readu to buy stickers and shirts. what's everyones favorite main net node with good liquidity? :0 17:29 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lightning-dev 17:30 < tuxx> roasbeef: 2018/01/19 02:30:24 workers: 16, corpus: 55 (8m5s ago), crashers: 34, restarts: 1/120, execs: 14450755 (6231/sec), cover: 1124, uptime: 38m39s 17:30 < tuxx> roasbeef: your entirely unmodified code yields 34 crashers? 17:31 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 17:31 < tuxx> i mean just following the go-fuzz instructions you pasted seems to have resulted in a couple of crashes 17:31 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has quit [Remote host closed the connection] 17:31 < tuxx> (or i am not understanding that output properly) 17:31 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lightning-dev 17:32 < tuxx> however they all seem to be: panic: message payload is too large - encoded 11139 bytes, but maximum message payload of type UpdateFailHTLC is 334 bytes 17:32 -!- doodabba [2f2ae8cc@gateway/web/freenode/ip.47.42.232.204] has quit [Quit: Page closed] 17:33 < tuxx> ah no there is one "Deserialized message and original message are not deeply equal." 17:34 < tuxx> intwesting.... i'll try to fuzz some other components tmrw, if i can wrap my head around any of them :) 17:36 -!- tuxx [~tuxx@ur24.Uranus.fastwebserver.de] has quit [Quit: leaving] 17:36 -!- tuxx [~tuxx@ur24.Uranus.fastwebserver.de] has joined #lightning-dev 17:37 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has joined #lightning-dev 17:41 <+roasbeef> tuxx: not deeply equal is chill, just that sometimes a pointer is diff, or it's nil, also maybe getting more into #lnd range 17:44 < tuxx> roasbeef: right. 17:44 < tuxx> anyway i'm off to sleep, not much i can do atm anyway, still syncing "6.0G .btcd" 17:45 -!- postno [postno@gateway/shell/elitebnc/x-yucvlmkyyfdsalsx] has joined #lightning-dev 17:45 -!- mlz [~IRCIdent@unaffiliated/molly] has joined #lightning-dev 17:45 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has quit [Remote host closed the connection] 17:46 -!- jb55 [~jb55@208.98.200.100] has quit [Ping timeout: 248 seconds] 17:48 < ianthius> so i noticed the 'close' command on c-lightning just taked the peer id, but not a channel id. Does the lightning spec allow for mulitple channels between peers or is this just an oversight? 17:48 -!- Murch [~murch@96-82-80-28-static.hfc.comcastbusiness.net] has quit [Quit: Snoozing.] 17:49 -!- shesek [~shesek@unaffiliated/shesek] has quit [Ping timeout: 256 seconds] 17:52 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has joined #lightning-dev 17:53 -!- wraithm [~textual@unaffiliated/wraithm] has joined #lightning-dev 17:53 < rusty> ianthius: spec allows it, c-lightning doesn't implement it. We're going to ahve to at least allow mutliple channels per peer if all but one are not live though: at the moment you can be waiting 100 blocks if you want to get a new channel! 17:54 < ianthius> rusty: becuase the channel might not have funds to close with high enough fee onto the main chain? 17:55 -!- Chris_Stewart_5 [chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 240 seconds] 17:56 -!- HectorJ [5c9a5272@gateway/web/freenode/ip.92.154.82.114] has quit [Ping timeout: 260 seconds] 18:00 < rusty> ianthius: no, because we only forget about peers 100 blocks after everything is complete (for reorg safety). ANd we only allow one peer, so... 18:01 < rusty> (one peer per peerid) 18:01 -!- shesek [~shesek@unaffiliated/shesek] has joined #lightning-dev 18:02 < ianthius> rusty: oh. yikes. okay good to know! 18:04 < ianthius> rusty: while I have you on the line, when i was closing my channel it said, STATUS_FAIL_PEER_BAD: Bad closing_signature or any ideas? 18:05 < rusty> Do you have full logs? And who were you connecting to? 18:07 < ianthius> i should have full logs, yes. It was a testnet node 02c39955c1579afe4824dc0ef4493fdf7f3660b158cf6d367d8570b9f19683afb5 18:08 < ianthius> actually darn, i didn't set --log-level debug, just normal logs.. :( 18:08 <+roasbeef> debug log is bestest log 18:09 < ianthius> k, i won't run any nodes without from now on, on my honor 18:09 -!- whaha [~ebx@172.58.56.43] has joined #lightning-dev 18:09 -!- Chris_Stewart_5 [chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #lightning-dev 18:10 < ianthius> i kept missing stuff in the debug log. I didn't like how it was spamming my terminal. Would love if the debug log would just log all that onto the file system but not blast to my terminak 18:10 -!- artlav [~artlav@91.206.14.91] has quit [Quit: leaving] 18:12 < rusty> ianthius: if you still have it up, you can get it with 'lightning-cli getlogs debug > somefile' but be warned that lightning-cli is *AMAZINGLY* slow here... 18:14 < ianthius> sorry the node was already killed 18:17 < rusty> I already have a bug report of bad closing signature; that was between two c-lightning nodes, too, so it's def. my fault. I'll schedule it for more tests, but I'm unf. at a conference next week. 18:18 <+roasbeef> rusty: there a vid of your talk up? 18:18 <+roasbeef> lol nvm missed the "next week" :p 18:18 < rusty> roasbeef: hasn't happened yet, Wed :) 18:18 < rusty> roasbeef: awful timing... I'm not even talking about lightning. Neutrino gets a shout-out tho! 18:23 -!- wraithm [~textual@unaffiliated/wraithm] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 18:24 -!- wraithm [~textual@unaffiliated/wraithm] has joined #lightning-dev 18:25 < whaha> Hey all, I've got a (probably basic) question if anyone can help: wondering how I can get access to coins that were leftover after closing a channel? (using c-lightning) 18:25 < whaha> I did a 'lightning-cli close ' for a channel that had ~156k sats unspent after paying 2 invoices, the closing tx has two outputs -- one seems to be the (overall) value that I sent through the channel and the rest would seem to be the change, is that correct? 18:33 -!- whaha [~ebx@172.58.56.43] has quit [Quit: exit()] 18:34 -!- whaha [~whaha@172.58.56.43] has joined #lightning-dev 18:34 -!- wraithm [~textual@unaffiliated/wraithm] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 18:50 -!- Chris_Stewart_5 [chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 248 seconds] 18:52 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has quit [Ping timeout: 255 seconds] 18:53 < rusty> whaha: #c-lightning has its own channel.... 18:53 < rusty> The close, one tx goes to you, one to them. if you do 'listfunds' you should see the one to you has already been seen by the wallet. 18:53 < whaha> oh... my bad, thanks 18:54 < whaha> listfunds does not show it -- I tried manually adding it through an 'addfunds' command but that reports 'no useable outputs' 18:54 < whaha> anyway, I can take this to the c-lightning channel, I didn't realize there was one 18:54 -!- wraithm [~textual@unaffiliated/wraithm] has joined #lightning-dev 18:55 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has joined #lightning-dev 18:56 < rusty> whaha: please report bug, with version esp, and any logs you have (particularly debug logs). 18:58 < whaha> rusty: you want me to file a github issue? I have full debug logs, honestly I wasn't sure if it's just something I'm doing wrong (fairly new to lightning) 19:00 < rusty> whaha: please. Even if it wer something you were doing somehow, that's still v. useful feedback! 19:01 < whaha> okay will do, thanks for the input 19:01 -!- wraithm [~textual@unaffiliated/wraithm] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 19:02 < ianthius> oh yeah! i didn't know there was a c-lightning channel either. I'll bring things there too! 19:10 -!- wraithm [~textual@unaffiliated/wraithm] has joined #lightning-dev 19:19 -!- xmsx [b2454367@gateway/web/freenode/ip.178.69.67.103] has joined #lightning-dev 19:19 < CubicEarths> I've got a simple question: How is it known which party is broadcasting a channel-closing tx? How can Bob stop Alice from 'framing' him in terms of the fraud penalty? 19:20 <+roasbeef> CubicEarths: states are asymmetric, I know if you've broadcasted, because it looks a certain way 19:20 < xmsx> Hi guys, quick question -- do I need to keep my lightning node running 24/7 in order to have open channel? 19:21 < xmsx> in other words, is there some sort of "open channels mempool"? 19:21 < rusty> xmsx: no, your channel will stay open (unless the other side gets frustrated and closes on you), but you can't receive payments if not online. 19:21 < lndbot> there’s an authenticated routing table, which is gossiped throughout the network 19:22 < lndbot> if you’re not online, people can route around you 19:22 < jojeyh> lndbot: is that routing table a global snapshot? 19:22 < jojeyh> of all possible payment channels 19:23 < lndbot> each edge can be verified and gossiped independently, so your table gets built up incrementally 19:25 < CubicEarths> roasbeef: I imagine a sequence of channel states created as transactions go back and forth. I thought if an earlier state was published, publishing a later state would be proof of fraud 19:26 < CubicEarths> Since only the most recent state is the one that should control the funds 19:28 < xmsx> One more question - when lightning client talks to bitcoind, does it save anything in bitcoin's wallet.dat, or is there a separate wallet.dat for LN client? 19:29 < mlz> separate 19:31 < xmsx> so it only uses bitcoind to send transactions to the network and check for confirmations for existing transacitons? 19:31 -!- jb55 [~jb55@70-36-49-138.dyn.novuscom.net] has joined #lightning-dev 19:32 < xmsx> I.e. can we run multiple LN nodes pointed to same bitcoin node? 19:36 < rusty> xmsx: I believe that' true of every implementation, yes. 19:48 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-svmjjgvkalnanovv] has quit [Quit: Connection closed for inactivity] 19:50 < mlz> c-lightning doesn't need zmq for bitcoind, correct? 19:56 < rusty> mlz: correct 19:56 < mlz> thanks, rusty 19:59 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has quit [Quit: .] 20:01 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 20:02 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has joined #lightning-dev 20:09 -!- wraithm [~textual@unaffiliated/wraithm] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 20:10 -!- wraithm [~textual@unaffiliated/wraithm] has joined #lightning-dev 20:18 < xmsx> is there a LN client allowing to dump/import LN wallet? 20:32 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lightning-dev 20:33 < mlz> what does that mean 20:37 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Ping timeout: 265 seconds] 20:41 < ianthius> where is the wallet stored, is maybe what he is asking and how to dump the keys to it? 20:41 < ianthius> i am wondering the same question 20:42 < jojeyh> i don't believe there are keys stored in ~/.lightning 20:43 < jojeyh> it's just a database of commitment transactions 20:44 < jojeyh> wait scratch that i'm confusing myself now 20:46 < xmsx> in other words - what files I need to backup to make sure all channels/invoices I create are intact? 20:47 < mlz> which implementation? 20:48 < xmsx> c-lightning 20:50 < ianthius> i am looking through the code now to figure out how newaddr generates addresses 21:04 < xmsx> Sorry for lots of stupid questions, one more -- Do I need to create a channel before trying to create an invoice using "lightning-cli invoice", or channel is created once another user does "lighning-cli pay"? 21:06 <+roasbeef> yeh can't do channel stuff w/o channels 21:06 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lightning-dev 21:09 -!- Yao07_ [beab6a59@gateway/web/freenode/ip.190.171.106.89] has joined #lightning-dev 21:10 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 21:11 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Ping timeout: 256 seconds] 21:13 < ianthius> xmsx: you need to open a channel to be a participant in the network. 21:14 < ianthius> when someone else pays they need to have a channel already open to get a route to pay the invoice 21:16 -!- stiell [~stian@fsf/member/stiell] has joined #lightning-dev 21:18 < xmsx> Still can't get my head around it..How do I specify which channel I want to use when I run "lightning-cli invoice"? 21:19 -!- Yao07_ [beab6a59@gateway/web/freenode/ip.190.171.106.89] has quit [Quit: Page closed] 21:20 <+roasbeef> xmsx: it picks the channel for you 21:20 <+roasbeef> do you specify which coins to use when you send an on-chain transaction? 21:20 < windsok> sometimes :) 21:21 < windsok> but yeah in lightning it will select the best route based on fees, and "chance of reliability issues in the route" is my understanding of it 21:22 <+roasbeef> heh well there's that option as well, but only advanced users or specified applications will typically directly select a path to use 21:22 <+roasbeef> c-lightning has this "risk factor" component it adds into path selection 21:25 < Aliencorpse_> Hello, I'm ramping up to help with this project and bitcoin, I found everything here bleeding edge and overwhelming, I'm wondering what the equivalent channel for bitcoin is? 21:25 -!- wraithm [~textual@unaffiliated/wraithm] has quit [Quit: Textual IRC Client: www.textualapp.com] 21:25 < windsok> #bitcoin 21:25 <+roasbeef> channels are just special utxos 21:25 < Aliencorpse_> well that was easy ty 21:25 < windsok> if that is what you meant 21:25 <+roasbeef> but yeh you should learn more about bitcoin before you dig into lightning 21:26 <+roasbeef> it's pretty advanced bitcin stuff 21:26 < Aliencorpse_> yea 21:26 < Aliencorpse_> I tottaly get that 21:26 < Aliencorpse_> totally* 21:27 < Aliencorpse_> I have some rudimentary programming skills, looking to improve, learn and then hopefully one day contribute 21:27 < mlz> cool 21:28 < Aliencorpse_> this is odd, I'm in a bitcoin-unregistered 21:28 < windsok> Aliencorpse_: this series of lectures from MIT is pretty good https://www.youtube.com/channel/UCNcSSleedtfyDuhBvOQzFzQ/videos 21:28 < Aliencorpse_> claiming I have to do this https://freenode.net/kb/answer/registration 21:28 < xmsx> So, does it works like this: 1) Create a channel with popular LN node 2) Create invoice, send bolt11 to buyer 3) Buyer can decode the invoice description, amount, and route to our existing channel? 21:29 < Aliencorpse_> @windsok: damn, I started watching these, why did I stop. 21:29 < mlz> create a channel, connect to a target like "blockstream store" if that is where you want to buy stuff, check out item, pay invoice, done 21:30 < xmsx> I'm more interested in how it works from blockstream store perspective :) 21:31 < windsok> or connect to a node who has a connection to blockstream's store 21:31 < mlz> yea good luck 21:31 < windsok> does not need to be direct, can be many hops away 21:31 < windsok> right now that would be hard, yes :) 21:32 < windsok> but in the future 21:32 < xmsx> So steps described above are correct from store perspective? 21:32 < mlz> "store perspective"? 21:33 < windsok> should we create a #lightning channel for non dev talk? 21:33 < xmsx> i.e. all buyer needs to know is bolt11, and his LN client will try to find a connection to our node? 21:33 < mlz> the store doesn't care if you keep wondering around from node to node to node before you can buy a sticker from them 21:33 < mlz> s/wondering/wandering/ 21:35 < xmsx> Makes sense now :) Thanks a lot everyone, sorry for my broken English too:) 21:39 -!- Murch [~murch@c-73-223-113-121.hsd1.ca.comcast.net] has joined #lightning-dev 21:40 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lightning-dev 21:45 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Ping timeout: 248 seconds] 21:51 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lightning-dev 21:52 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 21:52 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lightning-dev 22:09 -!- xmsx [b2454367@gateway/web/freenode/ip.178.69.67.103] has quit [Quit: Page closed] 22:10 -!- llou [~textual@85.152.204.69] has joined #lightning-dev 22:27 -!- dabura667 [~dabura667@p98110-ipngnfx01marunouchi.tokyo.ocn.ne.jp] has quit [Remote host closed the connection] 22:27 -!- Murch [~murch@c-73-223-113-121.hsd1.ca.comcast.net] has quit [Quit: Snoozing.] 22:30 -!- melvin__ [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has joined #lightning-dev 22:40 -!- plankers [~plank@c-73-2-4-197.hsd1.ca.comcast.net] has joined #lightning-dev 22:41 -!- jb55 [~jb55@70-36-49-138.dyn.novuscom.net] has quit [Ping timeout: 240 seconds] 22:44 -!- renepickhardt [5b39b8fb@gateway/web/freenode/ip.91.57.184.251] has joined #lightning-dev 22:47 < renepickhardt> just made my first pull request! c.f. https://github.com/ElementsProject/lightning/pull/663 hope that is working together with your process of doing things? 23:03 < windsok> renepickhardt #c-lightning probably better for discussion of c-lightning specific stuff 23:04 < hop3y> hi I'm trying to close channel but I get this: { "state" : "CLOSINGD_SIGEXCHANGE", 23:04 < hop3y> bug? 23:05 < hop3y> I've read others having same prob, but haven't found a solution 23:08 -!- plankers [~plank@c-73-2-4-197.hsd1.ca.comcast.net] has left #lightning-dev [] 23:08 -!- plankers [~plank@c-73-2-4-197.hsd1.ca.comcast.net] has joined #lightning-dev 23:28 -!- DanielMycelium [~kvirc@91.114.24.1] has joined #lightning-dev 23:30 < lndbot> Cant the -r tag in bolt 11 also be used to specify route? 23:32 < lndbot> Can a node enforce different rates for different peers? How will this info be gossiped? 23:34 -!- melvin__ [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has quit [Read error: Connection reset by peer] 23:34 -!- melvster [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has joined #lightning-dev 23:35 < windsok> hop3y: I suggest you raise the issue here https://github.com/ElementsProject/lightning/issues 23:39 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 255 seconds] 23:39 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lightning-dev 23:44 -!- kmordic [~kmordic@76.14.28.158] has quit [Quit: Leaving] 23:45 -!- BashCo [~BashCo@unaffiliated/bashco] has quit [Ping timeout: 248 seconds] 23:59 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-hpahirrgympoulzf] has joined #lightning-dev