--- Day changed Mon Jan 22 2018 00:11 -!- anome [~anome@unaffiliated/anome] has joined #lnd 00:12 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 255 seconds] 00:17 -!- anome [~anome@unaffiliated/anome] has quit [] 00:19 -!- anome [~anome@unaffiliated/anome] has joined #lnd 00:25 < Veggen> people - I am afraid it's getting "too late" to stop this premature launch of Lightning Network. 00:33 -!- daouzo23 [~daraki235@81-223-13-90.static.upcbusiness.at] has joined #lnd 00:42 -!- anome [~anome@unaffiliated/anome] has quit [] 00:50 -!- simlay [~simlay@gateway/tor-sasl/simlay] has quit [Ping timeout: 255 seconds] 00:51 -!- simlay [~simlay@gateway/tor-sasl/simlay] has joined #lnd 00:58 -!- simlay [~simlay@gateway/tor-sasl/simlay] has quit [Remote host closed the connection] 00:59 -!- simlay [~simlay@gateway/tor-sasl/simlay] has joined #lnd 01:07 -!- gsmh0st [bc00a073@gateway/web/freenode/ip.188.0.160.115] has joined #lnd 01:07 -!- gsmh0st [bc00a073@gateway/web/freenode/ip.188.0.160.115] has quit [Client Quit] 01:11 -!- pioklo [~Pioklo@118-40.echostar.pl] has joined #lnd 01:14 -!- dabura667 [~dabura667@240f:d:e193:1:81ec:aa09:8b76:4491] has joined #lnd 01:14 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has quit [Quit: colatkinson] 01:15 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has joined #lnd 01:16 -!- anome [~anome@unaffiliated/anome] has joined #lnd 01:21 -!- CubicEar_ [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 01:21 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lnd 01:23 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Client Quit] 01:40 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has quit [Ping timeout: 255 seconds] 01:41 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has joined #lnd 01:44 < maret> hi I started lnd with lnd --bitcoin.active --bitcoin.testnet --debuglevel=debug --btcd.rpcuser=kek --btcd.rpcpass=kek --externalip=X.X.X.X and now it's stuck on [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create wallet, or `lncli unlock` to unlock already created wallet. 01:44 < maret> i typed lncli create press enter but no update in few minutes 01:45 < meshcollider> maret: did you type that in the same terminal window or a different one? 01:45 < maret> same 01:46 < meshcollider> maret: if lnd is running in that terminal you can't use it for lncli as well, you have to open a new terminal 01:46 < maret> ok 01:46 < meshcollider> otherwise the terminal will pass your input to lnd instead of lncli 01:48 < maret> hmm getting lncli command not found, have I forgot to install something? 01:49 -!- alfa [uid11513@gateway/web/irccloud.com/x-nwcfdbhltqiasmlh] has joined #lnd 01:49 < lightningbot1> do "go install ./cmd/..." 01:51 < maret> i can try running cd $GOPATH/src/github.com/lightningnetwork/lnd, glide install, go install . ./cmd/...again 01:52 < maret> but lnd is working and I did add export GOPATH=~/gocode 01:52 < maret> export PATH=$PATH:$GOPATH/bin to .bashrc 01:54 < Deelight> you don't need to resinstall, only the PATH has to be fixed 01:56 < Deelight> does ~/gocode/bin/lncli exist ? 02:01 -!- Blackadderrr [~blackadde@94.242.246.13] has joined #lnd 02:03 < Blackadderrr> Does running a lightning network node require my PC to be on 24/7? 02:04 < Blackadderrr> I want to try it on testnet, but assume I want to transition to mainnet. Does my PC need to be up 24/7? 02:07 < maret> Deelight, no it doesn't 02:12 -!- nirved [~nirved@2a02:8071:b58a:3c00:e86f:b3:87c3:276d] has joined #lnd 02:15 < Deelight> ah, not a PATH problem then. it wasn't installed 02:19 -!- deusexbeer [~deusexbee@079-170-138-254-dynamic-pool-adsl.wbt.ru] has quit [Ping timeout: 240 seconds] 02:21 < Veggen> Blackadder: if you want to be able to receive lightning transactions even when you're not there, and be a useful routing node, then it needs to be up 24/7. 02:22 < Veggen> personally, though, I think it's inevitable we'll see mini-exchange type custodial wallets popping up for people who wants to receive LN payments 24/7. 02:22 < Veggen> (without running a 24/7 node themselves) 02:22 < meshcollider> Veggen: yeah, in the same way that we've inevitably seen webwallets for bitcoin itself despite the complete privacy and security loss 02:23 < Veggen> meshcollider: we are seeing that today, right? 02:23 < Veggen> meshcollider: but could you create something safer? 02:24 < Veggen> with LN? 02:24 < meshcollider> Veggen: yes, blockchain wallet and suchlike are very popular, even keeping BTC in wallets on exchanges is very common 02:24 < Veggen> LN to a wallet that can *only* pay to your non-custodial wallet? 02:24 < meshcollider> Veggen: how would that work? 02:24 < Veggen> not sure. 02:25 < Veggen> :) 02:25 < Veggen> just thinking loud. 02:25 < meshcollider> maybe using some hash preimage to redeem funds when the channel closes 02:25 < meshcollider> idk 02:26 < meshcollider> but whatever is processing transactions for you would have to be able to sign commitments so there'd be no security against it sending all funds in the channel back to the counterparty 02:27 < Veggen> meshcollider: guess so. 02:27 < Veggen> but you could still minimize the risk if it continuously "pinged" your non-custodial wallet, and transferred it out automatically when it detected it. 02:28 < Veggen> (i.e. limit the time they remain in custodial wallet) 02:28 < meshcollider> Veggen: only once the channel is closed? 02:29 < meshcollider> Veggen: you don't want to be closing the channel every time you receive a payment, that'd be super inefficient, worse than just using layer 1 transactions directly 02:36 -!- niels_ [55920d55@gateway/web/freenode/ip.85.146.13.85] has joined #lnd 02:36 -!- sdfgsdfg [~sdfgsdfg@58.84.104.182] has joined #lnd 02:38 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has joined #lnd 02:59 -!- niels_ [55920d55@gateway/web/freenode/ip.85.146.13.85] has quit [Quit: Page closed] 03:02 < waxwing> is explorer.acinq.co node down? 03:03 < sdfgsdfg> thats the british gay pride node isnt it 03:04 < waxwing> lol what? 03:07 < lightningbot1> looks down to me also 03:08 < Veggen> meshcollider: I was thinking some code that just created an automatic LN payment to your non-custodial LN wallet whenever it was detected. 03:08 < Veggen> not closing the channel. 03:08 < meshcollider> yeah the site is up but it shows no nodes and no channels 03:09 < meshcollider> Veggen: but a "payment" is an exchange of new signed commitment transactions right? 03:09 < meshcollider> so either you have to be online to sign or you have to let something else sign for you while you're offline 03:09 < Veggen> meshcollider: of course. but once the same amount is transferred out again, anyrisk is gone? 03:10 < meshcollider> Veggen: you can't transfer funds out of a channel without closing it 03:10 < Veggen> meshcollider: over LN? 03:10 < meshcollider> Veggen: to transfer funds over LN requires you to be online again then :) 03:10 < meshcollider> or do you mean it would do it as soon as you came online again 03:10 < meshcollider> so it would hold it for a while until you were next online 03:10 < Veggen> meshcollider: thatæ's what I meant. 03:12 < meshcollider> Veggen: I'm not sure how you could do that trustlessly though 03:12 < meshcollider> although I'm not a lightning expert by any stretch of the imagination so maybe its easy :) 03:13 < Veggen> you can't really. 03:13 < Veggen> it'd be custodial, I think, but you could limit your need to be constantly online. 03:14 < Veggen> for some values, it might even be more secure than being constantly online? 03:14 < Veggen> depending on your ability to secure your own node. 03:15 < Veggen> I'm actually not sure I like it. 03:15 < Veggen> but still :) 03:15 < Veggen> This is why I don't even advocate to newbies to immediately transfer funds to their own wallet. 03:15 < Veggen> (with bitcoin) 03:16 < Veggen> they need to grasp the concept of "being in total control" first, and what that implicates :) 03:25 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lnd 03:34 -!- dabura667 [~dabura667@240f:d:e193:1:81ec:aa09:8b76:4491] has quit [Remote host closed the connection] 03:38 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has quit [Quit: colatkinson] 03:46 < maret> Deelight, what should I do then if LND is already installed? 03:49 < meshcollider> maret: run `go install ./cmd/...` 03:50 < meshcollider> (inside the $GOPATH/src/github.com/lightningnetwork/lnd directory) 03:51 -!- dabura667 [~dabura667@KD111103034253.ppp-bb.dion.ne.jp] has joined #lnd 03:53 -!- dabura667 [~dabura667@KD111103034253.ppp-bb.dion.ne.jp] has quit [Remote host closed the connection] 03:58 -!- alfa [uid11513@gateway/web/irccloud.com/x-nwcfdbhltqiasmlh] has quit [Quit: Connection closed for inactivity] 04:00 -!- anonymous123423 [~anonymous@p4FD10263.dip0.t-ipconnect.de] has joined #lnd 04:01 < anonymous123423> Hi, I'm getting an error in the second tutorial step: http://dev.lightning.community/tutorial/02-web-client/index.html 04:01 < anonymous123423> This: 04:01 < anonymous123423> node server --lndhost=localhost:10001 04:01 < anonymous123423> yields that error: 04:01 < anonymous123423> uch file or directory, open '/home/binder/Software/lncli-web/lncli-web/config/../lnd.cert' 04:02 < anonymous123423> Is it ok to ask for help here? 04:02 < anonymous123423> Could this even be a bug in the nodejs code, that is only trigered on some machines? 04:04 < anonymous123423> You lnd-devs probably have enough work to do developing the awesome lightning network... If so, that's fine, too... 04:04 < Veggen> patience :) 04:04 < Veggen> not everyone is here all the time. 04:05 < anonymous123423> k no worries 04:06 < Veggen> have you tried node server --help and can see if you can specify directories/locations of lnd.cert etc 04:07 < Veggen> and I am no developer, just a groupie ;) 04:07 < anonymous123423> is perfectly fine, thanks for your help 04:08 < anonymous123423> One problem is that I don't know where lnd.crt is... 04:08 < anonymous123423> Did I create that in the first tutorial step? 04:08 < anonymous123423> If I knew, I'd just copy it into the config directory. 04:09 < anonymous123423> ...and yes i did type in node server --help... 04:09 < anome> anonymous123423 hey 04:10 < anonymous123423> ... and yes it seems I could specify the log-file location using --logfile 04:10 < anonymous123423> hello, anome 04:10 < anome> i'm not sure what you're trying to do but i had an issue with certificates before 04:11 < anome> it got resolved for my by running lnd with --tlscertpath=/path/to/directory/tls.crt 04:11 < anome> and --tlskeypath=/path/to/directory/tls.key 04:12 < anome> i generated the certificate myself, jsut search for "generate tls certificate" 04:12 < anonymous123423> thanks, not sure if that'll do the trick... I'm in the second step of the lnd tutorial ("stage 2 web ui") 04:12 < anome> ah, are you trying to connect to the node? 04:12 < anonymous123423> I need lnd.crt. 04:12 < meshcollider> perhaps these instructions will help: https://github.com/mably/lncli-web/blob/43d2b77defe21cc71ee6f22cdbcf4fad3a8d9cc1/README.md#generate-lnd-certificates-compatible-with-nodejs-grpc 04:13 < meshcollider> do you have a tls.cert file currently? 04:14 < anonymous123423> no, but thx, the link does seem very helpful 04:14 < meshcollider> anonymous123423: no problem 04:14 < anonymous123423> oh wait i do have a tls.cert in .lnd directory (to which your link pointed me) 04:15 < meshcollider> yeah so just copy that and rename it to lnd.cert 04:15 < anonymous123423> at it ^^ 04:17 < anonymous123423> ok, thanks again it worked. But now it throws the next error :D 04:17 -!- simlay [~simlay@gateway/tor-sasl/simlay] has quit [Ping timeout: 255 seconds] 04:18 < anonymous123423> Cannot find module (...) go/test_data/server 04:19 < anonymous123423> oh wait, never mind the last error 04:23 < anonymous123423> i was in the wrong directory. copying the lnd.cert to lncli-web (not to config ("config/../lnd.cert")) seems to have worked 04:23 < anonymous123423> Even though, I'm getting "Handshake failures" now... 04:27 < anonymous123423> Handshake errors don't seem to matter. I can access localhost:8280 now Yay! 04:28 -!- anonymous123423 [~anonymous@p4FD10263.dip0.t-ipconnect.de] has quit [Quit: Leaving] 04:33 -!- anonymous123423 [~anonymous@p4FD10263.dip0.t-ipconnect.de] has joined #lnd 04:35 < meshcollider> anonymous123423: awesome! 04:35 < anonymous123423> Actually, maybe the failed handshakes matters after all, cause when I click on any of the stars on the web-ui it tells me "14 UNAVAILABLE: Connect Failed". 04:36 < anonymous123423> So there's no data... 04:37 < anonymous123423> ...even though, the logs say (bottom of page) "2018-01-22 13:32:33 +0100 - SUCCESS - Sucessfully connected!" 04:39 < anonymous123423> wait, I think, I should read the readme of lncli-web more carefully... (would be a good hint in the tutorial, though...) 04:48 < anonymous123423> handshake error solved 04:49 -!- snake [d91cd4a6@gateway/web/freenode/ip.217.28.212.166] has joined #lnd 04:49 < anonymous123423> but still connection problems... 04:49 < anonymous123423> I try to figure it out by myself... 04:51 -!- anonymous123423 [~anonymous@p4FD10263.dip0.t-ipconnect.de] has quit [Quit: Leaving] 05:04 -!- anonymous123423 [~anonymous@p4FD10263.dip0.t-ipconnect.de] has joined #lnd 05:04 -!- svenvdz [4dabb589@gateway/web/freenode/ip.77.171.181.137] has joined #lnd 05:04 < svenvdz> lol 05:04 < anonymous123423> Everything works perfectly fine, now. 05:05 -!- svenvdz [4dabb589@gateway/web/freenode/ip.77.171.181.137] has quit [Client Quit] 05:05 -!- anonymous123423 [~anonymous@p4FD10263.dip0.t-ipconnect.de] has quit [Client Quit] 05:10 -!- conundrum_ [~conundrum@172.86.120.144] has quit [Ping timeout: 256 seconds] 05:11 < maret> Got an error [INF] LTND: Initializing btcd backed fee estimator 05:11 < maret> unable to create chain control: dial tcp [::1]:18334: getsockopt: connection refused 05:11 < maret> dial tcp [::1]:18334: getsockopt: connection refused 05:11 < maret> ah nvm it worked on second time 05:12 -!- conundrum_ [~conundrum@172.86.120.144] has joined #lnd 05:14 -!- dermoth [~dermoth@gateway/tor-sasl/dermoth] has quit [Remote host closed the connection] 05:15 -!- dermoth [~dermoth@gateway/tor-sasl/dermoth] has joined #lnd 05:39 -!- simlay [~simlay@gateway/tor-sasl/simlay] has joined #lnd 05:41 -!- dermoth [~dermoth@gateway/tor-sasl/dermoth] has quit [Remote host closed the connection] 05:41 -!- athator [~mhluc@2.29.103.208] has joined #lnd 05:50 -!- simlay [~simlay@gateway/tor-sasl/simlay] has quit [Remote host closed the connection] 05:51 -!- simlay [~simlay@gateway/tor-sasl/simlay] has joined #lnd 05:53 -!- rckmtn [601e64ee@gateway/web/freenode/ip.96.30.100.238] has joined #lnd 05:54 < maret> I run LND succesfully by lnd --bitcoin.active --bitcoin.testnet --debuglevel=debug --btcd.rpcuser=kek --btcd.rpcpass=kek and now it's catching up and it's getting pretty slow, why is it catching up? 06:02 -!- rckmtn [601e64ee@gateway/web/freenode/ip.96.30.100.238] has quit [Ping timeout: 260 seconds] 06:18 -!- belcher [~belcher@unaffiliated/belcher] has joined #lnd 06:48 -!- wxss [~user@185.145.66.249] has joined #lnd 06:54 -!- snake [d91cd4a6@gateway/web/freenode/ip.217.28.212.166] has quit [Quit: Page closed] 06:55 -!- daouzo23 [~daraki235@81-223-13-90.static.upcbusiness.at] has quit [Read error: Connection reset by peer] 07:01 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lnd 07:01 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has quit [Ping timeout: 248 seconds] 07:03 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 07:05 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has joined #lnd 07:21 -!- af_ [~af@pool-100-14-7-68.phlapa.fios.verizon.net] has joined #lnd 07:22 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 07:23 -!- af_ [~af@pool-100-14-7-68.phlapa.fios.verizon.net] has quit [Client Quit] 07:23 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lnd 07:37 -!- Soopaman [~soopaman@198.16.243.66] has joined #lnd 07:37 < Soopaman> hola all 07:38 < Soopaman> are there any recommended tutorials/reads for setting up a node? 07:38 -!- alfa [uid11513@gateway/web/irccloud.com/x-zswmtkueoeybrkok] has joined #lnd 07:39 -!- zaptrem [6b4de009@gateway/web/freenode/ip.107.77.224.9] has joined #lnd 07:40 < zaptrem> Hello. If a LND node crashes but quickly (1-2 minutes) recovers, will its open channels be closed/will it be penalized? 07:40 < zaptrem> Hello. If an LND node crashes but quickly (1-2 minutes) recovers, will its open channels be closed/will it be penalized? 07:40 < zaptrem> Whoops, didn't mean to post that twice 07:40 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has quit [Remote host closed the connection] 07:41 -!- pigeons is now known as Guest97833 07:41 -!- derbumi [sid186430@gateway/web/irccloud.com/x-amyrmdruenpskgju] has joined #lnd 07:41 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 07:41 -!- Netsplit over, joins: pigeons, chjj 07:42 -!- galileopy [~galileopy@unaffiliated/galileopy] has quit [Remote host closed the connection] 07:43 -!- rfree_irc [~rfree_irc@172.86.120.144] has quit [Ping timeout: 260 seconds] 07:43 < lndbot> zaptrem: it’s very improbable that you would be penalized in that scenario 07:43 -!- afdudley [afdudleyma@gateway/shell/matrix.org/x-mmlxsliyftdjjrfw] has joined #lnd 07:44 < zaptrem> When would the node be penalized? 07:44 -!- cjd[m]1 [cdelisle1@gateway/shell/matrix.org/x-vpekqzzhdnbcjsyr] has joined #lnd 07:45 -!- rfree_irc [~rfree_irc@172.86.120.144] has joined #lnd 07:46 < lndbot> You would have to be offline long enough for your counterparty to publish an old state to the blockchain and for the time lock on your counterparty’s funds to expire 07:47 < zaptrem> e.g., the node kills LND and btcd once or twice a day but restores it within two minutes. Would this be sustainable? 07:47 < zaptrem> How long does the counterparty wait before publishing? 07:47 < maret> how do I get nick for my LND node? 07:48 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has joined #lnd 07:48 -!- provoostenator [~vwDZ2BYsc@2a05:d014:5f:e100:fd30:8af7:2d6a:cbb1] has left #lnd ["Textual IRC Client: www.textualapp.com"] 07:48 < lndbot> It’s up to them whether they want to try to steal from you and risk losing their own funds 07:49 < zaptrem> So my LND node is safe to go down for two minutes or so once or twice a day? 07:49 -!- Guest97833 is now known as pigeons 07:50 < AndyS2> of course. maybe there'd not even be a block found in between 07:50 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-qldflzkjwkjdrhfq] has quit [Quit: Connection closed for inactivity] 07:52 -!- contrapumpkin [~copumpkin@haskell/developer/copumpkin] has quit [Quit: Textual IRC Client: www.textualapp.com] 07:52 < AndyS2> the lock is relative to when the transaction was published. say the tx gets published right after block 111100 was found, gets into block 111111, and lock time is 1000. as long as you get your anti-fraud tx into any block from 111112 to 112111 (maybe off by one), you are safe 07:53 < AndyS2> afterwards, you can still win the race by getting your tx in, but the other tx actually stealing some funds could get into the blockchain, too. 07:54 < AndyS2> your chance of getting into one of the blocks before the lock runs out isn't too bad considering you can pay a high fee with the funds the other party just decided to give to you by trying to cheat the system. I have no idea what lightning wallets do about that, currently, though 07:54 < AndyS2> oh sorry, wanted to say 'when the transaction was mined into a block', not published 07:56 -!- zaptrem [6b4de009@gateway/web/freenode/ip.107.77.224.9] has quit [Ping timeout: 260 seconds] 07:57 < AndyS2> Does anybody here know how anti-fraud-tx fees are calculated? I also wonder if we only do one per new tx, or if a wallet might do lots of them, each with a slightly higher fee (so we can choose at the time we notice the thief) 07:58 -!- contrapumpkin [~copumpkin@haskell/developer/copumpkin] has joined #lnd 08:01 < lndbot> I’m not sure if it’s implemented but I’ve seen talk of lnd using a “scorched earth policy” (I think that’s what they call it) where it will use rbf up to worst case which is spending all of attacker’s funds on the fee 08:01 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has quit [Ping timeout: 268 seconds] 08:02 < AndyS2> djseeds: but all of attackers funds would mean you lose out, too 08:03 < AndyS2> djseeds: they are releasing an old tx. in that tx, the attacker has more bitcoin than in the current one (he's trying to steal, after all). so some of his bitcoin in the old tx are actually mine, some are still his. 08:03 < AndyS2> I don't think that's a trustless way to do it, then 08:03 < lndbot> I mean if you rightfully have 5 ₿ and Eve has 5 ₿ then you’ll be fine with spending up to 5 ₿ on the fee 08:03 < AndyS2> yeah, that's true 08:04 < AndyS2> but if stealing tx = rightful tx in terms of funds, then what's the point of stealing 08:04 < AndyS2> *of releasing an old tx 08:04 < lndbot> If the stealing tx is that Eve has all 10 ₿ then you would still be fine with spending 5 ₿ on the fee 08:05 < AndyS2> if the stealing tx is like that, then I'm spending 10 on fee 08:05 < AndyS2> because that's all eve has in that old tx 08:06 < lndbot> Why not spend 5 on fee and send 5 to yourself? 08:06 < AndyS2> because I got the signature when that old valid tx was created 08:06 < AndyS2> I can't just change the anti-fraud tx like I see fit, right? 08:07 < AndyS2> or is the signed anti-fraud tx changeable because only the inputs are signed? 08:07 < AndyS2> I guess that's the answer to my question, hmm 08:13 -!- sovjet [~sovjet@user182.c2.sevnica.kabelnet.net] has joined #lnd 08:20 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has joined #lnd 08:23 -!- zaptrem [6b4de08b@gateway/web/freenode/ip.107.77.224.139] has joined #lnd 08:32 -!- zaptrem [6b4de08b@gateway/web/freenode/ip.107.77.224.139] has quit [Ping timeout: 260 seconds] 08:34 -!- semanticgap [47724e0f@gateway/web/freenode/ip.71.114.78.15] has joined #lnd 08:37 -!- anome [~anome@unaffiliated/anome] has quit [] 08:46 -!- anome [~anome@unaffiliated/anome] has joined #lnd 08:54 -!- camonz [~camonz@121.red-81-33-204.dynamicip.rima-tde.net] has joined #lnd 09:02 -!- anome [~anome@unaffiliated/anome] has quit [Read error: Connection reset by peer] 09:03 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has quit [Ping timeout: 240 seconds] 09:04 -!- semanticgap [47724e0f@gateway/web/freenode/ip.71.114.78.15] has quit [Quit: Page closed] 09:17 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lnd 09:19 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 09:21 -!- maret [~maret@ip-88-212-28-50.antik.sk] has quit [Ping timeout: 268 seconds] 09:21 -!- maret [~maret@ip-88-212-28-50.antik.sk] has joined #lnd 09:41 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lnd 09:48 -!- vitaminc [c7737103@gateway/web/freenode/ip.199.115.113.3] has joined #lnd 09:49 < vitaminc> when i create an address with lncli newaddress, where is the private key for it? 09:50 < lndbot> encrypted in wallet.db 09:52 -!- chucksrq [616ad575@gateway/web/freenode/ip.97.106.213.117] has joined #lnd 09:53 < chucksrq> Is it possible to switch LND client from testnet to main net easily. Im not a very technical person but I've gotten LND working on my PC 09:53 < vitaminc> and wallet.db is same format as the btcd wallet.db, thus i should be able to use some btcd command to dump it in plain text? (sorry, not that familiar with the btcd way of doing tihngs) 09:54 < mlz> chucksrq, mainnet is not advised for now, so please be patient, and if you still decide to mess with mainnet and lose money, devs aren't going to waste time to solve it 10:01 < vitaminc> so i've got a channel open with the testnet faucet, but i'm not clear on what's supposed to happen next. how can i send it some tbtc? 10:02 < Sentineo> so you have funded the channel I guess, right? 10:04 < vitaminc> i did "lncli connect ..." and then i pasted my pubkey into the web page, and waited for three blocks, and now the channel shows in listchannels... i'm not sure at which point i would fund it (excuse my total noobiness) 10:05 < mlz> vitaminc, try to open a channel with Elaine's store: 02c8ebb98a0f133b19fb7bc982ec233d2db32b59d1f1ec178c9bb091a4e2c8d72c@45.76.235.75:9735 10:06 < vitaminc> like so? lncli connect 02c8ebb98a0f133b19fb7bc982ec233d2db32b59d1f1ec178c9bb091a4e2c8d72c@45.76.235.75:9735 { "peer_id": 0 } 10:06 < mlz> correct 10:06 < mlz> vitaminc, do you have some test coin in your lnd wallet? 10:07 < mlz> do this: lncli walletbalance 10:07 < vitaminc> yes, i do 10:07 < vitaminc> { "total_balance": "5000000", "confirmed_balance": "5000000", "unconfirmed_balance": "0" } 10:07 < mlz> cool, now do this: lncli openchannel 02c8ebb98a0f133b19fb7bc982ec233d2db32b59d1f1ec178c9bb091a4e2c8d72c 1200000 10:08 < vitaminc> { "funding_txid": "02a82d77a5b29c22972c0f9a082f51b36c4b566701e66b3fbb0b3176446ee569" } 10:08 -!- fjaie3kkr3 [~rfc@c-918571d5.02-19-6c756c12.cust.bredbandsbolaget.se] has joined #lnd 10:08 -!- fjaie3kkr3 [~rfc@c-918571d5.02-19-6c756c12.cust.bredbandsbolaget.se] has quit [Changing host] 10:08 -!- fjaie3kkr3 [~rfc@unaffiliated/fishbone] has joined #lnd 10:08 < Sentineo> now wait for the tx to be mined 10:08 < mlz> great! now let's wait for the tx to have about 3 confirmations 10:08 < vitaminc> cool, bbiab 10:09 < Sentineo> bbiab? 10:09 < vitaminc> be back in a bit :) 10:09 < Sentineo> ah ok :) 10:09 -!- fjaie3kkr3 is now known as fishbone 10:09 < mlz> vitaminc, we use this testnet explorer, your tx is here: https://testnet.smartbit.com.au/tx/02a82d77a5b29c22972c0f9a082f51b36c4b566701e66b3fbb0b3176446ee569 10:10 -!- athator1 [~mhluc@213.152.161.35] has joined #lnd 10:12 -!- athator [~mhluc@2.29.103.208] has quit [Ping timeout: 240 seconds] 10:17 -!- alfa [uid11513@gateway/web/irccloud.com/x-zswmtkueoeybrkok] has quit [Quit: Connection closed for inactivity] 10:20 -!- athator1 [~mhluc@213.152.161.35] has left #lnd [] 10:39 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has joined #lnd 10:42 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 10:48 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has joined #lnd 10:48 -!- chucksrq [616ad575@gateway/web/freenode/ip.97.106.213.117] has quit [Quit: Page closed] 10:53 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has quit [Ping timeout: 256 seconds] 10:54 < vitaminc> mlz: got 3 confirms, channel is open! 10:56 -!- PaulCape_ [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has joined #lnd 10:57 < mlz> vitaminc, cool, go to her store here: https://elaineou.com/shop/ 10:57 < mlz> vitaminc, fill in a tweet that you want her bot to tweet 10:57 < mlz> check out the invoice, pay for it 10:57 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has quit [Ping timeout: 248 seconds] 10:57 < mlz> lnclii payinvoice 10:58 < mlz> vitaminc, then your tweet will show up here: https://twitter.com/lightningb0t/with_replies 10:58 < mlz> lncli* 10:59 < vitaminc> ok let me see if i can figure this out 11:00 < vitaminc> twitter suspended it :( 11:02 < vitaminc> so now i get lncli walletbalance { "total_balance": "3795782", "confirmed_balance": "3795782", "unconfirmed_balance": "0" } - this means that 5000000 - 3795782 = 1204218 is in the channel? 11:03 < Veggen> yes, basically. do a lncli listchannels 11:04 -!- lnostdal [~lnostdal@77.70.119.51] has quit [Ping timeout: 246 seconds] 11:05 < vitaminc> "capacity": "1200000", "local_balance": "1185520", "remote_balance": "0", "commit_fee": "14480", 11:05 -!- PaulCape_ [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has quit [Ping timeout: 268 seconds] 11:07 -!- lnostdal [~lnostdal@77.70.119.51] has joined #lnd 11:09 < vitaminc> i'm not very clear on how it adds up: local_balance 1185520 + commit_fee 14480 = 1200000; then 1200000 + 3795782 (wallet_balance) = 4995782, so i'm still short 4218 11:10 < vitaminc> oh, that was the opening fee: Fee 0.00004218 BTC 11:10 < vitaminc> so it adds up perfectly to 5000000 11:11 < vitaminc> since elaine's store is temporarily suspended from twitter - perhaps someone here fancy making me an invoice, i'll pay you? 11:11 < grubles> lol already? 11:12 < lndbot> Yeah the channel math is a bit wonky right now, since half the fee (all the open fee) comes from your wallet, and the close fee is reserved from the channel funds 11:13 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lnd 11:13 < lndbot> Since btcd is doing the estimation, there isn't really a reliable / easy way to let's say 100% empty your wallet balance to a new channel, or to ensure a specific local balance inside of a new channel 11:13 < grubles> mlz, do you know if lnd supports aliases now? 11:13 < lndbot> it does, but you have to alter server.go and recompile 11:14 < grubles> i can do that 11:14 < lndbot> search for alias in the file, remove the hex function call with ("YourAliasChoice") and also be sure to remove the hex import or recompile will fail 11:14 < lndbot> yeah, should take all of 5 minutes 11:14 < lndbot> :slightly_smiling_face: 11:15 < grubles> :-) 11:15 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has joined #lnd 11:15 < lndbot> it won't show up in lncli getinfo oddly enough 11:15 < lndbot> but it goes out to everyone on describegraph 11:15 < lndbot> and you can verify it for yourself if you'd like by doing lncli getnodeinfo your_node_pubkey 11:16 < grubles> oh excellent 11:17 -!- lnostdal [~lnostdal@77.70.119.51] has quit [Ping timeout: 248 seconds] 11:17 < grubles> are you referring to this line 11:17 < grubles> alias, err := lnwire.NewNodeAlias(hex.EncodeToString(serializedPubKey[:10])) 11:18 -!- lnostdal [~lnostdal@77.70.119.51] has joined #lnd 11:18 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Ping timeout: 268 seconds] 11:20 < grubles> so for example it would be: lnwire.NewNodeAlias("grubles") 11:20 < mlz> grubles, not yet 11:21 < lndbot> Yep, so also remove or comment out the import linx for hex otherwise recompile will fail since nothing's using the library 11:21 < grubles> got it. thank you! 11:25 -!- ianthius [~ianthius@unaffiliated/ianthius] has quit [Quit: leaving] 11:25 < lndbot> woot! np 11:26 < vitaminc> or just install goimports ;) 11:29 < grubles> hm getinfo pubkey doesn't show the alias 11:30 < lndbot> no it doesn't 11:30 < lndbot> but getnodeinfo does 11:30 < lndbot> most importantly 11:30 < grubles> ohhh 11:30 < lndbot> describegraph does 11:30 < grubles> my bad 11:30 < lndbot> so all these tools that are grabbing LN data are picking it up 11:30 < lndbot> :slightly_smiling_face: 11:30 < grubles> hehe ok getnodeinfo works 11:30 < lndbot> yah 11:30 < lndbot> you can do lncli describegraph | grep "your alias name" too to confirm 11:31 < lndbot> once it hits describegraph, it'll start showing up at all these explorer tools 11:32 < grubles> excellent 11:32 < grubles> thanks for the help 11:34 < lndbot> sure thing 11:34 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lnd 11:36 -!- spudowiar [~spudowiar@unaffiliated/saleemrashid] has joined #lnd 11:38 < vitaminc> so describegraph is just a connected segment of the graph that is visible from my node, but these graphs could be disconnected islands not visible to each other, do i understand it correctly? 11:38 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 11:44 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has quit [Ping timeout: 248 seconds] 11:52 < lndbot> yeah sure, it's basically all the nodes your peers see and all the peers of their peers see 11:52 < lndbot> we could very easily build a 'dark lightning network' by carefully managing who our peers are and whether or not we're visible 11:52 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lnd 11:57 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Ping timeout: 248 seconds] 12:01 -!- vitaminc [c7737103@gateway/web/freenode/ip.199.115.113.3] has left #lnd [] 12:03 -!- BCASH_ZAPPER [ac61d6f1@gateway/web/freenode/ip.172.97.214.241] has joined #lnd 12:03 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lnd 12:05 < BCASH_ZAPPER> Hey Kids i have a Bitcoin v0.15.1.0 node running... before I install LND should I make it a full node? 12:06 -!- Soopaman [~soopaman@198.16.243.66] has quit [Quit: Leaving.] 12:08 < spudowiar> roasbeef: btcd shouldn't be doing any ECDSA verification until it's reached the final checkpoint, right? 12:08 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Ping timeout: 248 seconds] 12:09 <@roasbeef> yeh, it's the random I/O that makes it slow atm 12:09 <@roasbeef> need a utxo set cache as I said 12:09 < spudowiar> *looks for free space on the SSD* 12:09 < spudowiar> Gah, only 25 GB free 12:13 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lnd 12:18 -!- AndBobsYourUncle [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has joined #lnd 12:18 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Ping timeout: 260 seconds] 12:20 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has quit [Ping timeout: 255 seconds] 12:20 -!- dermoth [~dermoth@gateway/tor-sasl/dermoth] has joined #lnd 12:23 -!- dermoth [~dermoth@gateway/tor-sasl/dermoth] has quit [Remote host closed the connection] 12:24 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has joined #lnd 12:27 < spudowiar> roasbeef: I renice'd and ionice'd it to the highest priority and I'm processing about ~40 blocks every 10 seconds now :P 12:27 < spudowiar> Up from ~5-10 12:28 -!- hamilton [579679b0@gateway/web/freenode/ip.87.150.121.176] has joined #lnd 12:31 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lnd 12:36 -!- dimsumcode [60f18189@gateway/web/freenode/ip.96.241.129.137] has joined #lnd 12:36 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Ping timeout: 268 seconds] 12:36 -!- tumi [tumi@u.nix.is] has quit [Ping timeout: 268 seconds] 12:36 -!- tumi [tumi@u.nix.is] has joined #lnd 12:36 -!- dimsumcode [60f18189@gateway/web/freenode/ip.96.241.129.137] has quit [Client Quit] 12:38 -!- BCASH_ZAPPER [ac61d6f1@gateway/web/freenode/ip.172.97.214.241] has quit [Quit: Page closed] 12:46 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lnd 12:51 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Ping timeout: 260 seconds] 12:58 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-ogwamnltuwbbzzoq] has joined #lnd 13:00 <@roasbeef> shooting to have all the tuts/docs updated by the EOD, a bit behind after some newer changes 13:00 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lnd 13:01 < waxwing> we need to 'git clone roasbeef ' 13:02 <@roasbeef> also big update coming later today, last of it's kind really, finally filling in a component that's missing currently 13:02 <@roasbeef> fixed a bunch of bugs along the way 13:02 <@roasbeef> owl looking pretty solid now 13:02 < mesh_> roasbeef: is this the one you mentioned a couple of days ago 13:02 < mesh_> \o/ 13:03 <@roasbeef> yeh, but then found some stuff in the breach arbiter that needed fixing, fixed now 13:03 <@roasbeef> felt that like malcom in the middle gif 13:03 -!- spudowiar [~spudowiar@unaffiliated/saleemrashid] has quit [Quit: WeeChat 2.0.1] 13:03 <@roasbeef> https://imgur.com/gallery/t0XHtgJ 13:05 -!- colatkinson [~colatkins@2620:0:2820:1502:5ee0:c5ff:fe8c:502d] has joined #lnd 13:06 < mesh_> lol 13:07 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has quit [Remote host closed the connection] 13:10 -!- grzs [~g@bsd.douchedata.com] has joined #lnd 13:16 -!- Netsplit over, joins: grzs 13:16 < junga__> Hi, I've been running through the tutorial since last weekend, it's mesmerising how this has been applied in tech btw 13:17 < junga__> Quick Q: does an LND node actively mine? 13:18 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has joined #lnd 13:18 < junga__> How, or does, LND need to be secured? 13:19 -!- onryo [~Onryoghos@unaffiliated/onryo] has joined #lnd 13:20 < lndbot> no, it receives any relevant onchain txns via btcd or neutrino (connected to someone else's btcd) or bitcoind 13:21 < lndbot> doesn't everything need to be secured? :) 13:21 < junga__> WHat is the guarentee that an LND node won't be tampered with? 13:21 < lndbot> truly I'd say it depends, for sure yes if you plan to run a lightning node and hold a lot of btc on it, as those private keys must be available for lnd 13:24 -!- pierce [x43matrixo@gateway/shell/matrix.org/x-jodkikiwgdozezbg] has joined #lnd 13:25 < pierce> so trying to run lnd against bitcoind, after starting and unlocking, I end up with this: 13:26 < pierce> 2018-01-22 13:22:22.196 [INF] LTND: LightningWallet opened 13:26 < pierce> 2018-01-22 13:22:22.345 [INF] LNWL: Started rescan from block 000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943 (height 0) for 1 address 13:26 < pierce> no active channels exist 13:26 < pierce> and it just exits. any idea why this is happening? my testnet node is fully synced etc 13:30 -!- Deelight_ [~Deelight@75.68.86.79.rev.sfr.net] has joined #lnd 13:30 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has joined #lnd 13:30 -!- Deelight [~Deelight@75.68.86.79.rev.sfr.net] has quit [Read error: No route to host] 13:31 -!- Soopaman [~soopaman@198.16.243.66] has joined #lnd 13:32 <@roasbeef> lnd doesn't mine at all 13:32 <@roasbeef> pierce: you need to wait for it to do the initial scan 13:33 -!- RusAlex [~Chel@unaffiliated/rusalex] has joined #lnd 13:33 -!- PaulCape_ [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has joined #lnd 13:34 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has quit [Read error: Connection reset by peer] 13:34 < pierce> roasbeef: when I do bitcoin-cli getinfo it looks like it all up to date etc. Is something within lnd indexing the blockchain? I was thinking it was a sync thing, but I've been waiting an hour or so. 13:35 < pierce> the output makes it look to me like it's restarting the rescan every time I run lnd, but bitcoind doesn't seem to be doing anything 13:38 <@roasbeef> pierce: if you run with --debuglevel=trace, do you see additional output? 13:41 -!- Soopaman [~soopaman@198.16.243.66] has quit [Quit: Leaving.] 13:43 -!- Soopaman [~soopaman@198.16.243.66] has joined #lnd 13:44 -!- Tootoot222 [~Toot@unaffiliated/toottoot222] has quit [Ping timeout: 240 seconds] 13:46 * pierce sent a long message: pierce_2018-01-22_21:46:12.txt 13:46 < pierce> one extra line in there, doesn't seem too helpful 13:49 <@roasbeef> do you have the rpc auth aprams set up? 13:49 <@roasbeef> also is this recovering from a prior instance? as in db instane before bitcoind and a buncha other stuff was added? 13:50 -!- Tootoot222 [~Toot@unaffiliated/toottoot222] has joined #lnd 13:52 < pierce> I was running a testnet lightning node with bitcoind and eclair earlier, just installed lnd to try it out. server ip (localhost) user and pass should be file, also the zmq thing. I told it to use bitcoind rather than btcd also. Is that all I need to edit in the lnd.conf? 13:52 < pierce> just cloned and built from github 13:54 < pierce> hmm, need to get on a plane, I'll check back when I can 13:54 <@roasbeef> you'll need to modify lnd.conf to point to the proper params, that's it 13:54 <@roasbeef> gotcha 14:00 -!- PaulCape_ [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has quit [Ping timeout: 260 seconds] 14:00 -!- sovjet [~sovjet@user182.c2.sevnica.kabelnet.net] has quit [Quit: Leaving] 14:00 -!- Soopaman [~soopaman@198.16.243.66] has quit [Quit: Leaving.] 14:08 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 14:08 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lnd 14:09 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 14:09 < fronti> hmm, what happen if i have some channels with some sat in them and then i delete my channel.db .. can i get the money back or even the channel (as they should still open on the other side) (sorry for maybe beginning question, i guess i miss something) 14:14 -!- Pavle [~pavle_@unaffiliated/pavle/x-4679000] has joined #lnd 14:19 -!- madisa [d9526f44@gateway/web/freenode/ip.217.82.111.68] has joined #lnd 14:19 -!- hamilton [579679b0@gateway/web/freenode/ip.87.150.121.176] has quit [Quit: Page closed] 14:20 -!- madisa [d9526f44@gateway/web/freenode/ip.217.82.111.68] has quit [Client Quit] 14:28 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has joined #lnd 14:30 -!- melvster [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has quit [Ping timeout: 240 seconds] 14:31 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has quit [Remote host closed the connection] 14:34 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has joined #lnd 14:35 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has quit [Remote host closed the connection] 14:37 < Sentineo> fronti: am not sure, but the closing of the channel should give younykur funds back. 14:38 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has joined #lnd 14:43 -github-lnd:#lnd- [lnd] wilmerpaulino opened pull request #654: Support invoices without amount specified (master...invoice-without-amount) https://git.io/vNVaD 14:45 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has quit [Remote host closed the connection] 14:46 -!- Pioklo_ [Pioklo@ip-91.246.70.194.skyware.pl] has joined #lnd 14:47 -!- colatkinson [~colatkins@2620:0:2820:1502:5ee0:c5ff:fe8c:502d] has quit [Ping timeout: 276 seconds] 14:48 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has joined #lnd 14:48 -!- PaulCapestany [~PaulCapes@ip68-100-207-91.dc.dc.cox.net] has quit [Client Quit] 14:50 -!- pioklo [~Pioklo@118-40.echostar.pl] has quit [Ping timeout: 248 seconds] 14:50 -!- Pavle [~pavle_@unaffiliated/pavle/x-4679000] has quit [Quit: Leaving] 14:59 -!- Pioklo_ [Pioklo@ip-91.246.70.194.skyware.pl] has quit [Ping timeout: 260 seconds] 14:59 -!- bule [~bule@gateway/tor-sasl/bule] has joined #lnd 15:01 -!- simlay [~simlay@gateway/tor-sasl/simlay] has quit [Ping timeout: 255 seconds] 15:02 -!- SevenTimes__ [SevenTimes@gateway/vpn/privateinternetaccess/seventimes] has quit [Read error: Connection reset by peer] 15:02 -!- simlay [~simlay@gateway/tor-sasl/simlay] has joined #lnd 15:02 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Remote host closed the connection] 15:05 -!- [a]akselrod [aakselrod@gateway/vpn/privateinternetaccess/aakselrod] has joined #lnd 15:06 -!- aakselrod [aakselrod@gateway/vpn/privateinternetaccess/aakselrod] has quit [Ping timeout: 248 seconds] 15:06 -!- AndBobsYourUncle [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has quit [Ping timeout: 268 seconds] 15:06 -!- [a]akselrod [aakselrod@gateway/vpn/privateinternetaccess/aakselrod] has quit [Client Quit] 15:06 -!- aakselrod [aakselrod@gateway/vpn/privateinternetaccess/aakselrod] has joined #lnd 15:06 -!- capa66 [capa66@gateway/vpn/privateinternetaccess/capa66] has quit [Read error: Connection reset by peer] 15:12 < meshcollider> roasbeef: for the Tor support PR, looks like the fallBackSRVLookup() function has been added after that was made, that should use Tor as well right? So it'd need to pass the dialer into DNSSeedBootstrapper as well? 15:13 <@roasbeef> meshcollider: yeh that should use tor as well 15:13 <@roasbeef> but no need to pass that dialer in, just needs to be abstracted properly 15:13 <@roasbeef> so diff dialer possibly (haven't looked at the PR in a bit) 15:14 < meshcollider> roasbeef: Should I rework it to how jimpo suggested in his review 15:14 <@roasbeef> about using polymorphism actually? yeh 15:14 < meshcollider> because Crypt-iQ said he was going to remove the Net interface and just use MultiNet 15:14 < meshcollider> is that worse 15:14 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has joined #lnd 15:15 < meshcollider> I think this is harder trying to fix someone elses code than it would have been starting from scratch lol 15:15 < meshcollider> because I'm still deciphering his approach 15:16 <@roasbeef> well just rather than switching on a bool, it can just take on of the interfaces in the net package 15:17 <@roasbeef> so there'd be logic above that to actually make the correctg dialer, etc 15:17 -!- SevenTimes__ [~SevenTime@c-73-162-115-183.hsd1.ca.comcast.net] has joined #lnd 15:18 < meshcollider> Yeah that sounds good 15:18 < meshcollider> Also, "Alternately, you can create a brontide.Dialer struct that accepts a Dial function in its config and defaults to net.Dial" 15:19 < meshcollider> Would this be a new brontide/dialer.go 15:19 -!- YungMoonHodler_ is now known as YungMoon 15:19 < meshcollider> I'm not sure what it means by "in its config" 15:19 -!- mb___ [5ed6a0e4@gateway/web/freenode/ip.94.214.160.228] has joined #lnd 15:19 <@roasbeef> but yeh jimpos comments on that are solid in general 15:20 <@roasbeef> by in it's config, we just means as an arg to its constructor 15:20 <@roasbeef> there's a pttern in the codebase atm wehre if a constctor has a ton of args, we just make a "config" object, then use that throughput, anything that's unit testing that struct will then just modify clousers/intefaces in the config 15:21 <@roasbeef> oh the diale rthing is to get rid of the current hack 15:21 <@roasbeef> it uses variable length arguments as a way to do a default 15:22 -!- AndBobsYourUncle [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has joined #lnd 15:22 <@roasbeef> so things like the dns bootstrapper would also take this "net" interface 15:23 <@roasbeef> so like brontide.NewDialer() -> dialer 15:23 <@roasbeef> we do that once somewher epassing the correct dialer, the func itself returns a closure that closes of the dialer, and that's used everywher we need to attempt to make connections outbound 15:27 <@roasbeef> ok actually looking at the OR now 15:27 <@roasbeef> PR now* 15:27 <@roasbeef> the interface is there, but it just isn't even being used at all lol 15:27 -!- YungMoon [~me@unaffiliated/boscop] has quit [Read error: Connection reset by peer] 15:27 -!- YungMoon [~me@2a02:810c:c7c0:1965:74aa:c08b:b1ec:8700] has joined #lnd 15:27 -!- YungMoon [~me@2a02:810c:c7c0:1965:74aa:c08b:b1ec:8700] has quit [Changing host] 15:27 -!- YungMoon [~me@unaffiliated/boscop] has joined #lnd 15:27 <@roasbeef> so aside from that, the other thing was just to ensure that we handled the new addresses proeprly in the db 15:27 <@roasbeef> may make sense to create a net.Addr for Tor addresses 15:27 <@roasbeef> both v2 and v3 15:27 -!- ChrisMorrisOrg [sid151627@gateway/web/irccloud.com/x-cunybacwiuvmjqld] has quit [Ping timeout: 256 seconds] 15:27 -!- derbumi [sid186430@gateway/web/irccloud.com/x-amyrmdruenpskgju] has quit [Read error: Connection reset by peer] 15:27 -!- ChrisMorrisOrg [sid151627@gateway/web/irccloud.com/x-yyjommpbsbrjzmun] has joined #lnd 15:27 -!- kanzure [~kanzure@unaffiliated/kanzure] has quit [Ping timeout: 256 seconds] --- Log closed Mon Jan 22 15:27:19 2018 --- Log opened Mon Jan 22 15:27:28 2018 15:27 -!- kanzure [~kanzure@unaffiliated/kanzure] has joined #lnd 15:27 -!- Irssi: #lnd: Total of 165 nicks [2 ops, 0 halfops, 0 voices, 163 normal] 15:27 -!- chjj [~chjj@unaffiliated/chjj] has quit [Ping timeout: 256 seconds] 15:28 -!- chjj [~chjj@unaffiliated/chjj] has joined #lnd 15:28 -!- Soopaman [~soopaman@198.16.243.66] has joined #lnd 15:29 < Sentineo> hm there are different tor addresses? 15:29 < Sentineo> need to look into it ;) probably one can tell by glance 15:33 -!- mb___ [5ed6a0e4@gateway/web/freenode/ip.94.214.160.228] has left #lnd [] 15:33 <@roasbeef> new ones aren't as widepsread yet 15:33 <@roasbeef> basically redoes all the crypto in tor 15:34 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has quit [Quit: colatkinson] 15:36 -!- Irssi: Join to #lnd was synced in 539 secs 15:37 -!- nirved [~nirved@2a02:8071:b58a:3c00:e86f:b3:87c3:276d] has quit [Quit: Leaving] 15:39 -!- Deelight_ [~Deelight@75.68.86.79.rev.sfr.net] has quit [Read error: Connection reset by peer] 15:43 < meshcollider> roasbeef: Sweet thanks for the help, I'll likely be back with more questions soon enough :) 15:44 <@roasbeef> fsho, should be back in review+maintenence mode pretty soon myself here 15:55 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has joined #lnd 15:59 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has joined #lnd 15:59 -!- CubicEarths [~cubiceart@c-73-181-185-197.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 16:01 -!- Blackadderrr [~blackadde@94.242.246.13] has quit [Ping timeout: 256 seconds] 16:01 -!- lowpro [040ff533@gateway/web/freenode/ip.4.15.245.51] has joined #lnd 16:03 -!- wxss [~user@185.145.66.249] has quit [Quit: leaving] 16:18 -!- Soopaman [~soopaman@198.16.243.66] has quit [Quit: Leaving.] 16:19 -!- Soopaman [~soopaman@198.16.243.66] has joined #lnd 16:33 -!- Dimsum_ [60f18189@gateway/web/freenode/ip.96.241.129.137] has joined #lnd 16:34 -!- Dimsum_ [60f18189@gateway/web/freenode/ip.96.241.129.137] has quit [Client Quit] 16:35 -!- DimSum [60f18189@gateway/web/freenode/ip.96.241.129.137] has joined #lnd 16:35 -!- Soopaman [~soopaman@198.16.243.66] has quit [Quit: Leaving.] 16:36 -!- DimSum [60f18189@gateway/web/freenode/ip.96.241.129.137] has quit [Client Quit] 16:42 -github-lnd:#lnd- [lnd] cfromknecht opened pull request #655: Server: Reduce Contention due to Exclusive Locking (master...server-locking-improvments) https://git.io/vNVyZ 16:42 -!- camonz [~camonz@121.red-81-33-204.dynamicip.rima-tde.net] has quit [Quit: Linkinus - http://linkinus.com] 16:47 -!- CubicEarths [~cubiceart@9.sub-174-216-27.myvzw.com] has joined #lnd 16:55 -!- CubicEarths [~cubiceart@9.sub-174-216-27.myvzw.com] has quit [Remote host closed the connection] 17:03 -!- CubicEarths [~cubiceart@2601:600:d:e75f:5d56:95d9:11a3:b60f] has joined #lnd 17:05 -!- CubicEar_ [~cubiceart@2600:100f:b021:6082:600d:c4d0:c156:a8d1] has joined #lnd 17:05 -!- Deelight [~Deelight@75.68.86.79.rev.sfr.net] has joined #lnd 17:05 -!- CubicEar_ [~cubiceart@2600:100f:b021:6082:600d:c4d0:c156:a8d1] has quit [Remote host closed the connection] 17:06 -!- CubicEar_ [~cubiceart@2600:100f:b021:6082:600d:c4d0:c156:a8d1] has joined #lnd 17:07 -!- CubicEar_ [~cubiceart@2600:100f:b021:6082:600d:c4d0:c156:a8d1] has quit [Remote host closed the connection] 17:07 -!- CubicEarths [~cubiceart@2601:600:d:e75f:5d56:95d9:11a3:b60f] has quit [Ping timeout: 246 seconds] 17:09 -!- CubicEarths [~cubiceart@2600:100f:b021:6082:2114:927c:eb0e:bc70] has joined #lnd 17:12 -!- tristian [~tristian@unaffiliated/tristian] has quit [Ping timeout: 268 seconds] 17:12 -!- tristian [~tristian@unaffiliated/tristian] has joined #lnd 17:18 -!- zx0w [~zx0w@172.86.120.144] has quit [Ping timeout: 256 seconds] 17:19 -!- sato_vision [~sato_visi@172.86.120.144] has quit [Remote host closed the connection] 17:19 -!- sato_vision [~sato_visi@172.86.120.144] has joined #lnd 17:20 -!- marsadm [~marsadm@172.86.120.144] has quit [Ping timeout: 276 seconds] 17:20 -!- conundrum_ [~conundrum@172.86.120.144] has quit [Ping timeout: 268 seconds] 17:21 -!- marsadm [~marsadm@172.86.120.144] has joined #lnd 17:21 -!- simlay [~simlay@gateway/tor-sasl/simlay] has quit [Ping timeout: 255 seconds] 17:24 -!- CubicEarths [~cubiceart@2600:100f:b021:6082:2114:927c:eb0e:bc70] has quit [Remote host closed the connection] 17:24 -!- zx0w [~zx0w@172.86.120.144] has joined #lnd 17:28 -!- conundrum_ [~conundrum@172.86.120.144] has joined #lnd 17:30 -!- AndBobsYourUncle [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 17:32 -!- DimSum [60f18189@gateway/web/freenode/ip.96.241.129.137] has joined #lnd 17:33 -!- DimSum [60f18189@gateway/web/freenode/ip.96.241.129.137] has quit [Client Quit] 17:39 -!- dimsumcode [~dimsumcod@pool-96-241-129-137.washdc.fios.verizon.net] has joined #lnd 17:41 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has quit [Ping timeout: 256 seconds] 17:42 -!- StopAndDecrypt [~StopAndDe@unaffiliated/stopanddecrypt] has quit [Ping timeout: 246 seconds] 17:43 -!- StopAndDecrypt [~StopAndDe@c-73-248-248-9.hsd1.nj.comcast.net] has joined #lnd 17:43 -!- StopAndDecrypt [~StopAndDe@c-73-248-248-9.hsd1.nj.comcast.net] has quit [Changing host] 17:43 -!- StopAndDecrypt [~StopAndDe@unaffiliated/stopanddecrypt] has joined #lnd 17:44 -!- dmar198 [~holoirc@cpe-76-181-129-176.columbus.res.rr.com] has joined #lnd 17:58 -!- simlay [~simlay@gateway/tor-sasl/simlay] has joined #lnd 18:03 -!- Deelight [~Deelight@75.68.86.79.rev.sfr.net] has quit [Read error: Connection reset by peer] 18:09 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has joined #lnd 18:22 < dmar198> Are any of you familiar with the Eclair app for android? I am thinking of modifying some of its source code and sideloading the apk 18:25 -!- jigawatt [2f2ae8cc@gateway/web/freenode/ip.47.42.232.204] has joined #lnd 18:34 < meshcollider> dmar198: this channel is for lnd not eclair :) 18:34 < dmar198> my apologies. Do you know of an appropriate channel? 18:34 < dmar198> I couldn't find anything such as #acinq 18:36 -!- CubicEarths [~cubiceart@2600:100f:b021:6082:4c36:c323:9033:7974] has joined #lnd 18:42 < meshcollider> mdar198: I think they use gitter but you could use the general #lightning-dev channel probably 18:45 < dmar198> thank you 18:45 -!- CubicEarths [~cubiceart@2600:100f:b021:6082:4c36:c323:9033:7974] has quit [Remote host closed the connection] 18:52 -!- dmar198 [~holoirc@cpe-76-181-129-176.columbus.res.rr.com] has quit [Quit: dmar198] 18:52 -!- HoloIRCUser6 [~holoirc@cpe-76-181-129-176.columbus.res.rr.com] has joined #lnd 18:56 -!- Soopaman [~soopaman@198.16.243.66] has joined #lnd 19:01 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has quit [Ping timeout: 240 seconds] 19:02 < dimsumcode> anyone know how to get channel state history? 19:07 <@roasbeef> dimsumcode: state history as in? 19:08 < dimsumcode> For example, a history of each "sendpayment" within the channel? 19:08 <@roasbeef> lncli listpayments 19:09 < dimsumcode> Well that was easy 19:10 < dimsumcode> If you had many channels with many payments, it would show up as one big list? 19:11 <@roasbeef> atm yes, could be possible to filter out by channel in the future 19:13 < dimsumcode> Ok thanks. At least it has the "path" so you can sort of filter it as-is. 19:21 -!- AndBobsYourUncle [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has joined #lnd 19:25 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has joined #lnd 19:27 -github-lnd:#lnd- [lnd] Roasbeef opened pull request #656: Introduce new `contractcourt` subsystem (master...on-chain-htlc) https://git.io/vNVAf 19:27 -github-lnd:#lnd- [lnd] Roasbeef closed pull request #656: Introduce new `contractcourt` subsystem (master...on-chain-htlc) https://git.io/vNVAf 19:28 <@roasbeef> last time this'll ever happen 19:28 -github-lnd:#lnd- [lnd] Roasbeef pushed 94 new commits to master: https://git.io/vNVAk 19:28 -github-lnd:#lnd- lnd/master 0becadd Jim Posen: lnwallet: Move mocks to separate file and augment mockSigner.... 19:28 -github-lnd:#lnd- lnd/master 3fa0cde Olaoluwa Osuntokun: lnwallet: export senderHtlcSpendRedeem and make rename HtlcSpendSuccess to HtlcSecondLevelSpend 19:28 -github-lnd:#lnd- lnd/master ff872b7 Olaoluwa Osuntokun: lnwallet: update WitnessType names to be more descriptive... 19:28 <@roasbeef> just needed to get it out there 19:29 <@roasbeef> heads up there's a breaking db change there as far as chan closes 19:31 <@roasbeef> will be updating the faucet to this new commit later tonight 19:32 -!- belcher [~belcher@unaffiliated/belcher] has quit [Quit: Leaving] 19:36 < lndbot> woohoo! 19:36 < lndbot> _lnd is doing_ 19:38 -!- mxg [~mxg@cpe-76-91-1-28.socal.res.rr.com] has joined #lnd 19:43 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 19:47 -!- lowpro [040ff533@gateway/web/freenode/ip.4.15.245.51] has quit [Ping timeout: 260 seconds] 19:52 -!- melvster [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has joined #lnd 19:58 -github-lnd:#lnd- [lnd] Roasbeef pushed 1 new commit to master: https://git.io/vNVxa 19:58 -github-lnd:#lnd- lnd/master 968e3e9 Olaoluwa Osuntokun: test: extend timeouts on new on-chain htlc integration tests for travis 20:15 < meshcollider> roasbeef, a quick golang question for you re: https://github.com/lightningnetwork/lnd/pull/389/files/1fe34e41e35b9359e1c1622a1e75c61bfd6735b1#diff-ec4b517f146700b3546a7af2224b6191R235 20:15 < meshcollider> if cfg.net is a net interface but we don't know if its regular or Tor, how do we test that 20:16 -!- AndBobsYourUncle [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has quit [Ping timeout: 260 seconds] 20:16 < aakselrod> you can do a type switch 20:16 < aakselrod> https://tour.golang.org/methods/16 20:17 -!- AndBobsYourUncle [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has joined #lnd 20:17 < meshcollider> is it bad practise to try casting and see if it fails? 20:17 < meshcollider> aakselrod: ok, thanks :) 20:18 < aakselrod> :D 20:20 -!- Styils [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 20:20 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Remote host closed the connection] 20:20 <@roasbeef> meshcollider: yeh type switch 20:20 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has quit [Ping timeout: 248 seconds] 20:27 -!- pvl1 [pi@unaffiliated/pvl1] has joined #lnd 20:27 < pvl1> hey, is there a list of requirements for running a node 20:28 -!- Felix123_ [68a3b588@gateway/web/freenode/ip.104.163.181.136] has joined #lnd 20:33 <@roasbeef> peeps have been running nodes on rasp pi's 20:33 <@roasbeef> if you mean hardware requirements 20:34 < pvl1> wanna put it on a vps 20:35 <@roasbeef> vps specs? 20:36 < pvl1> uh 20:36 < pvl1> which ones 20:36 < simlay> I run an lnd node on the smallest vultr VPS 20:37 < pvl1> ^^ 20:37 < pvl1> think that about answers it 20:38 -github-lnd:#lnd- [lnd] Roasbeef pushed 1 new commit to master: https://git.io/vNVhs 20:38 -github-lnd:#lnd- lnd/master 99cc4be Olaoluwa Osuntokun: test: extend timeouts for WaitPredicate on new integration tests 20:38 < cloaks> keep up the good work guys 20:38 < simlay> It's not running a full BTC node of course but it can handle lnd pretty fine. 20:41 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has joined #lnd 20:43 < meshcollider> roasbeef: something like this looking right for the polymorphism change? https://github.com/MeshCollider/lnd/commit/e3ab8ddfe4717327fd3bbe5cd83ab32cb917e4a9 20:44 <@roasbeef> meshcollider: yee 20:44 <@roasbeef> also +1 on filling in those godoc comments 20:44 < meshcollider> roasbeef :D haven't built yet btw, just working my way through the comments slowly 20:44 <@roasbeef> fsho 20:48 < tuxcanfly> roasbeef: my filter header chain wasn't matching testnet, digging into it I found that some output scripts have no pushdata and "nil" was being added to the filter 20:48 < tuxcanfly> what do you think about skipping when pushed data is nil 20:48 <@roasbeef> those are special cased 20:49 < tuxcanfly> https://www.blocktrail.com/tBTC/tx/dc3aad51b4b9ea1ef40755a38b0b4d6e08c72d2ac5e95b8bebe9bd319b6aed7e?txinIdx=3 20:49 < tuxcanfly> is the first tx for which I'm seeing a different filter 20:50 <@roasbeef> there's also a coinbase tx on testnet that just doesn't even havea valid output script 20:50 < tuxcanfly> ok yeah 20:50 <@roasbeef> https://github.com/Roasbeef/btcutil/blob/master/gcs/builder/builder.go#L192 20:51 < tuxcanfly> couldn't we do a nil check on data again, I think it's adding that right now 20:52 <@roasbeef> you see that code block? 20:52 <@roasbeef> ^ 20:53 -!- mxg [~mxg@cpe-76-91-1-28.socal.res.rr.com] has quit [Quit: afk] 20:53 < tuxcanfly> yup, I actually have a debugger that's stepping right there 20:54 < tuxcanfly> https://gist.github.com/anonymous/75b9cee3b66b3867afafcb5afd09eead 20:55 < tuxcanfly> not sure why nil is the last item there 20:57 < meshcollider> roasbeef: should I move brontide.Dial into a new brontide.Dialer.Dial 20:58 < meshcollider> so that brontide.Dialer constructor can set the dialer rather than accepting it as param to Dial 20:58 < meshcollider> and then store cfg.dialer = brontide.NewDialer 20:58 < meshcollider> or w/e 21:03 <@roasbeef> meshcollider: with brontide.Dialer being a struct that has a closure attr with a net.Dial like function signature? 21:03 < meshcollider> yeah something like 21:03 < meshcollider> type Dialer struct { 21:03 < meshcollider> dialer func(string, string) (net.Conn, error) 21:03 < meshcollider> } 21:03 < meshcollider> idk 21:04 < meshcollider> because otherwise I'm not sure how the Dial() function can get the correct dialer without passing it as an arg, maybe you know a better way 21:05 <@roasbeef> yeh or something like: func NewDialer(dial func(string) net.Conn) func(localPriv *btcec.PrivateKey, netAddr *lnwire.NetAddress) (*Conn, error) 21:05 <@roasbeef> so just a higher level func 21:05 <@roasbeef> takes the dialer then makes a wrapper 21:05 <@roasbeef> or just make the current dial itself accept a dialer :p 21:06 < meshcollider> roasbeef: isn't that what it currently does? 21:07 < meshcollider> roasbeef: Just make it non-optional? 21:07 -github-lnd:#lnd- [lnd] Roasbeef pushed 1 new commit to master: https://git.io/vNVja 21:07 -github-lnd:#lnd- lnd/master d0abb82 Olaoluwa Osuntokun: test: wrap assertion in WaitPredicate in testMultiHopReceiverChainClaim 21:07 < cloaks> keep up the good work guys 21:07 < meshcollider> is cloaks a bot? 21:07 < cloaks> no 21:07 < meshcollider> oh lol 21:08 < jimpo> tuxcanfly: What filter implementation are you talking about that you are comparing to btcd? 21:08 < meshcollider> I thought you automatically said that each time a commit gets pushed :p 21:08 < tuxcanfly> jimpo: bcoin 21:08 < jimpo> There were a couple of changes I recently made to the spec, maybe see https://github.com/Roasbeef/btcutil/pull/6 21:09 <@roasbeef> lmao 21:09 <@roasbeef> cloaks is a homie 21:09 < cloaks> fist bump 21:09 < jimpo> I haven't noticed a problem with output scripts w/o pushdata, but I can check 21:09 < jimpo> I did recently make a change that if the output script is unparseable, to not add any pushdata 21:10 <@roasbeef> doing some travis jigging 21:10 <@roasbeef> jimpo: we'd add nil in that case? 21:10 <@roasbeef> guess that even saves on filter size 21:10 < tuxcanfly> jimpo: yeah that seems to be the case 21:10 < tuxcanfly> any debug info I can give you 21:10 < tuxcanfly> I can see that the failing script for me is [0, 135] 21:10 -!- Felix123_ [68a3b588@gateway/web/freenode/ip.104.163.181.136] has quit [Ping timeout: 260 seconds] 21:11 < tuxcanfly> it returns [nil] 21:11 < meshcollider> roasbeef: I think the reasoning for making the parameter non-optional was that it it would break compatibility of Dial function with other projects brontide is being used with or something? 21:11 < tuxcanfly> not sure about your latest changes, but on the older one I can see it's adding nil to the filter 21:11 -github-lnd:#lnd- [lnd] Roasbeef pushed 1 new commit to master: https://git.io/vNVjF 21:11 -github-lnd:#lnd- lnd/master dd08662 Olaoluwa Osuntokun: test: fix linter error 21:12 <@roasbeef> meshcollider: yeh at that point, but not sure if there are really any in the wild... 21:12 < meshcollider> roasbeef: It would be so much easier to just remove the three dots if thats the case ;) 21:12 <@roasbeef> yeh fuck the dots 21:12 < meshcollider> sweeet 21:13 <@roasbeef> hmm or the struct, since we just get a Dial tehre 21:13 <@roasbeef> as in same as the net interface 21:13 <@roasbeef> so a brontide.Dialer, which itself has a method that's just Dial(string) (net.Conn, error) 21:14 < jimpo> meshcollider: glad you're picking up that Tor PR 21:14 <@roasbeef> tor ftw 21:14 < meshcollider> jimpo: well, trying to ;) first time using golang and first time coding for LN heh 21:14 <@roasbeef> then isn't too far off of hidden service support 21:14 <@roasbeef> and then to add exerpimental support for v3 idden services 21:14 <@roasbeef> it isn't exposed on teh control port yet tho 21:16 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has quit [Quit: colatkinson] 21:20 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has quit [Ping timeout: 240 seconds] 21:23 -!- pvl1 [pi@unaffiliated/pvl1] has quit [Quit: WeeChat 2.0.1] 21:23 < meshcollider> roasbeef: is this what you're suggesting with the struct? https://github.com/MeshCollider/lnd/commit/a926aa6a57edbf790cd1f38e7efc13d8b8f8e2a8 21:24 < meshcollider> a lot more complicated than just removing the three dots but if its cleaner/more future proof then sure 21:24 <@roasbeef> close, the NewDialer func shuld take the key as well 21:24 <@roasbeef> so dial is just the addr 21:24 < meshcollider> ooh yep ok 21:25 < meshcollider> roasbeef: you're so quick at reading all the code and seeing what I missed haha 21:25 <@roasbeef> heh :p 21:25 <@roasbeef> also the godoc comment for NewDialer was copied over, that would've set up a linter error 21:25 <@roasbeef> has NewListener 21:26 < jimpo> tuxcanfly: Do you think there's a bug with the output script parsing or the input script parsing? 21:26 < jimpo> the link you specified has ?txinIdx=3 21:28 < meshcollider> roasbeef: oops good catch yep 21:33 < meshcollider> isn't the key only accessible later, not in config.go? 21:33 <@roasbeef> wat key? 21:33 < tuxcanfly> jimpo: I think one of the scripts has a OP_0, so empty array is pushed on the stack 21:34 < meshcollider> activeChainControl.wallet.GetIdentitykey() 21:34 <@roasbeef> tuxcanfly: yeh extract pushes in btcutil retruns nil for bop 0 21:34 < meshcollider> to pass to NewDialer 21:34 <@roasbeef> meshcollider: ahh yeh 21:34 < tuxcanfly> ok, should it be added to the filter tho 21:34 < meshcollider> Could add a SetKey function or something, is it worth it 21:34 < jimpo> Empty array should be added yes 21:35 < jimpo> as it gets pushed to the stack 21:36 <@roasbeef> meshcollider: ehh nah, lol nice little excercise, but seems we should just remove the dots :p 21:36 -!- CubicEarths [~cubiceart@2600:1012:b013:3519:50da:64a7:8211:9bc8] has joined #lnd 21:36 < meshcollider> roasbeef: heh ok :) 21:36 < jimpo> hmm, now that I think about it, it would probably be good to dedup all things added to the filter 21:38 <@roasbeef> jimpo: yeh no t abad idea 21:38 <@roasbeef> well or will it just not show up? 21:38 < jimpo> it will get encoded as a 0 21:38 <@roasbeef> due to the diff being zero, or maybe there'd still be the overhead of just signalling that 21:39 < jimpo> which takes up just as much space 21:39 < jimpo> yep 21:39 <@roasbeef> yeh dedup def makes sense 21:39 < jimpo> I was gonna make it dedup *after* the SipHash, but then N would get all fucked 21:39 < jimpo> so I gave up 21:39 -!- dabura667 [~dabura667@240f:d:e193:1:c4b7:1761:a810:71cc] has joined #lnd 21:39 < meshcollider> roasbeef: https://github.com/MeshCollider/lnd/commit/93c8ae9db27812e211ac2170cf2e8caa46e28ab7 :) 21:39 < jimpo> but we should dedup the input set to the filter constructor 21:40 -!- onryo [~Onryoghos@unaffiliated/onryo] has quit [Quit: Leaving] 21:40 <@roasbeef> meshcollider: looks good to me 21:41 < meshcollider> now last comment is this one: https://github.com/lightningnetwork/lnd/pull/389#discussion_r147606429 21:42 < meshcollider> roasbeef: the SetResolver doesn't actually appear to be used anywhere 21:43 <@roasbeef> iirc it was set up for full on hidden services 21:45 <@roasbeef> so that may not even be required for the extent of the current chagnes 21:49 <@roasbeef> man i luv travis, got these tests in a loop locally and no failures 21:52 -!- sato_vision [~sato_visi@172.86.120.144] has quit [Ping timeout: 255 seconds] 21:53 -!- rfree_irc [~rfree_irc@172.86.120.144] has quit [Ping timeout: 240 seconds] 21:54 -!- marsadm [~marsadm@172.86.120.144] has quit [Ping timeout: 240 seconds] 21:54 -github-neutrino:#lnd- [neutrino] aakselrod pushed 1 new commit to master: https://git.io/vNwfO 21:54 -github-neutrino:#lnd- neutrino/master 6c8f30a Alex: build: update glide for new btcwallet 21:54 -!- sato_vision [~sato_visi@172.86.120.144] has joined #lnd 21:55 -!- marsadm [~marsadm@172.86.120.144] has joined #lnd 21:56 -!- rfree_irc [~rfree_irc@172.86.120.144] has joined #lnd 21:56 -!- Styils [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Remote host closed the connection] 21:56 -!- Styils [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 21:59 < mlz> yay! finally :D 22:01 -!- CubicEarths [~cubiceart@2600:1012:b013:3519:50da:64a7:8211:9bc8] has quit [Remote host closed the connection] 22:01 <@roasbeef> still gotta update glide on lnd for teh change to fully propagate 22:11 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 22:13 -!- Styils [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Ping timeout: 260 seconds] 22:17 -!- marsadm [~marsadm@172.86.120.144] has quit [Ping timeout: 248 seconds] 22:17 -!- rfree_irc [~rfree_irc@172.86.120.144] has quit [Ping timeout: 256 seconds] 22:18 -!- sato_vision [~sato_visi@172.86.120.144] has quit [Ping timeout: 248 seconds] 22:18 -!- zx0w [~zx0w@172.86.120.144] has quit [Ping timeout: 248 seconds] 22:18 -!- zx0w [~zx0w@172.86.120.144] has joined #lnd 22:18 < mlz> roasbeef, oh.. we have to update glide with their master version? 22:18 -!- sato_vision [~sato_visi@172.86.120.144] has joined #lnd 22:18 <@roasbeef> haven't pushed out the glide change to master yet 22:19 < mlz> $ glide -v 22:19 < mlz> glide version 0.13.2-dev 22:19 < mlz> i'm confused not sure what you mean 22:20 -!- marsadm [~marsadm@172.86.120.144] has joined #lnd 22:21 -!- rfree_irc [~rfree_irc@172.86.120.144] has joined #lnd 22:35 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Ping timeout: 260 seconds] 22:40 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 22:41 -!- Styils [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 22:45 -!- arubi [~ese168@gateway/tor-sasl/ese168] has quit [Remote host closed the connection] 22:45 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Ping timeout: 264 seconds] 22:48 -!- AndBobsY_ [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has joined #lnd 22:48 -!- AndBobsY_ [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has quit [Client Quit] 22:48 -!- AndBobsY_ [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has joined #lnd 22:49 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 22:51 -!- AndBobsYourUncle [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has quit [Ping timeout: 248 seconds] 22:51 -!- AndBobsY_ [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has quit [Client Quit] 22:51 -!- AndBobsYourUncle [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has joined #lnd 22:53 -!- Styils [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Ping timeout: 264 seconds] 22:53 -!- melvster [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has quit [Read error: Connection reset by peer] 22:53 -!- melvster [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has joined #lnd 22:54 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has joined #lnd 23:02 -!- Graylan [uid277037@gateway/web/irccloud.com/x-xkjwsusivecjzvjv] has joined #lnd 23:03 -!- CubicEarths [~cubiceart@2600:1012:b013:3519:e0ff:26ae:c8e1:f782] has joined #lnd 23:05 -!- bajohns [~textual@cpe-74-73-178-215.nyc.res.rr.com] has joined #lnd 23:06 -!- StopAndDecrypt_ [~StopAndDe@c-73-248-248-9.hsd1.nj.comcast.net] has joined #lnd 23:06 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Remote host closed the connection] 23:07 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 23:07 -!- StopAndDecrypt [~StopAndDe@unaffiliated/stopanddecrypt] has quit [Ping timeout: 256 seconds] 23:10 -!- dabura667 [~dabura667@240f:d:e193:1:c4b7:1761:a810:71cc] has quit [Remote host closed the connection] 23:11 -!- bajohns [~textual@cpe-74-73-178-215.nyc.res.rr.com] has quit [Quit: Textual IRC Client: www.textualapp.com] 23:13 -!- CubicEarths [~cubiceart@2600:1012:b013:3519:e0ff:26ae:c8e1:f782] has quit [Remote host closed the connection] 23:13 -!- dabura667 [~dabura667@KD111103034253.ppp-bb.dion.ne.jp] has joined #lnd 23:14 -!- dabura667 [~dabura667@KD111103034253.ppp-bb.dion.ne.jp] has quit [Remote host closed the connection] 23:26 -!- AndBobsYourUncle [AndBobsYou@gateway/vpn/privateinternetaccess/andbobsyouruncle] has quit [Ping timeout: 246 seconds] 23:27 -!- bajohns [~bajohns@cpe-74-73-178-215.nyc.res.rr.com] has joined #lnd 23:29 < lndbot> mlz, the deps in the glide files need to be updated, not glide itself 23:32 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Remote host closed the connection] 23:32 -!- bajohns [~bajohns@cpe-74-73-178-215.nyc.res.rr.com] has quit [Quit: Textual IRC Client: www.textualapp.com] 23:32 -!- bajohns [bajohns@gateway/vpn/privateinternetaccess/bajohns] has joined #lnd 23:33 -!- CubicEarths [~cubiceart@2600:1012:b013:3519:91b2:f398:a78e:cf23] has joined #lnd 23:39 < mlz> oh..dependencies..aka vendor? 23:40 < lndbot> yep :slightly_smiling_face: 23:51 -!- daouzo23 [~daraki235@81-223-13-90.static.upcbusiness.at] has joined #lnd 23:51 -!- daouzo231 [~daraki235@81-223-13-90.static.upcbusiness.at] has joined #lnd 23:51 -!- daouzo231 [~daraki235@81-223-13-90.static.upcbusiness.at] has quit [Remote host closed the connection] 23:51 -!- daouzo23 [~daraki235@81-223-13-90.static.upcbusiness.at] has quit [Client Quit] 23:58 -!- Pioklo_ [~Pioklo@118-40.echostar.pl] has joined #lnd