--- Day changed Tue Jul 25 2017 01:34 -!- arubi [~ese168@gateway/tor-sasl/ese168] has quit [Ping timeout: 248 seconds] 01:38 -!- arubi [~ese168@gateway/tor-sasl/ese168] has joined #lnd 01:52 -!- JackH [~laptop@host86-187-171-216.range86-187.btcentralplus.com] has joined #lnd 03:11 -!- dabura667 [~dabura667@p98110-ipngnfx01marunouchi.tokyo.ocn.ne.jp] has quit [Remote host closed the connection] 04:44 -!- JackH [~laptop@host86-187-171-216.range86-187.btcentralplus.com] has quit [Ping timeout: 240 seconds] 04:47 -!- JackH [~laptop@host86-187-171-216.range86-187.btcentralplus.com] has joined #lnd 04:56 -!- marijnfs_ [~smuxi@wnavab-n2.informatik.tu-muenchen.de] has joined #lnd 06:07 -!- arubi [~ese168@gateway/tor-sasl/ese168] has quit [Remote host closed the connection] 06:09 -!- arubi [~ese168@gateway/tor-sasl/ese168] has joined #lnd 06:15 -!- MaxSan [~one@46.166.168.36] has joined #lnd 06:35 -!- PaulCapestany [~PaulCapes@ip72-209-228-52.dc.dc.cox.net] has quit [Read error: Connection reset by peer] 06:35 -!- mnkk___ [~mnk4@95.90.233.42] has quit [Read error: Connection reset by peer] 06:35 -!- moctos [~moctos@cpe-107-9-138-59.neo.res.rr.com] has quit [Remote host closed the connection] 06:35 -!- PaulCape_ [~PaulCapes@ip72-209-228-52.dc.dc.cox.net] has joined #lnd 06:35 -!- mnkk [~mnk4@ip5f5ae92a.dynamic.kabel-deutschland.de] has joined #lnd 06:35 -!- moctos_ [~moctos@cpe-107-9-138-59.neo.res.rr.com] has joined #lnd 06:44 -!- marijnfs_ [~smuxi@wnavab-n2.informatik.tu-muenchen.de] has quit [Read error: Connection reset by peer] 06:46 -!- marijnfs_ [~smuxi@wnavab-n2.informatik.tu-muenchen.de] has joined #lnd 07:59 -!- MaxSan [~one@46.166.168.36] has quit [Ping timeout: 268 seconds] 08:44 -!- marijnfs_ [~smuxi@wnavab-n2.informatik.tu-muenchen.de] has quit [Ping timeout: 240 seconds] 09:09 -!- spinza [~spin@196.212.164.26] has quit [Ping timeout: 240 seconds] 09:25 -!- spinza [~spin@196.212.164.26] has joined #lnd --- Log closed Tue Jul 25 09:36:13 2017 --- Log opened Tue Jul 25 09:42:36 2017 09:42 -!- kanzure [~kanzure@unaffiliated/kanzure] has joined #lnd 09:42 -!- Irssi: #lnd: Total of 56 nicks [2 ops, 0 halfops, 0 voices, 54 normal] 09:44 -!- You're now known as 07EABCRRW 09:44 -!- spinza [~spin@196.212.164.26] has quit [Ping timeout: 260 seconds] 09:46 -!- kanzure [~kanzure@unaffiliated/kanzure] has joined #lnd --- Log closed Tue Jul 25 09:46:47 2017 --- Log opened Tue Jul 25 09:47:53 2017 09:47 -!- kanzure [~kanzure@unaffiliated/kanzure] has joined #lnd 09:47 -!- Irssi: #lnd: Total of 55 nicks [2 ops, 0 halfops, 0 voices, 53 normal] 09:55 -!- spinza [~spin@196.212.164.26] has joined #lnd 09:55 -!- Irssi: Join to #lnd was synced in 480 secs 10:51 -!- hzargio [0599e913@gateway/web/freenode/ip.5.153.233.19] has joined #lnd 10:52 < hzargio> Hello all 10:53 -!- mnkk [~mnk4@ip5f5ae92a.dynamic.kabel-deutschland.de] has quit [Read error: Connection reset by peer] 10:53 -!- mnkk___ [~mnk4@ip5f5ae92a.dynamic.kabel-deutschland.de] has joined #lnd 11:00 -!- icechip [~i@user-94-254-146-96.play-internet.pl] has joined #lnd 11:00 < icechip> i want to test lighting net testnet, anyone wants me to send or can send me? 11:06 -!- hzargio [0599e913@gateway/web/freenode/ip.5.153.233.19] has quit [Quit: Page closed] 11:06 -!- Sentineo [~Undefined@node.chcembitcoin.sk] has joined #lnd 11:09 < Sentineo> os there a how to to set up ln node? 11:17 < molz> icechip, do you mean you need btc test coins? 11:18 < molz> Sentineo, yes there's a guide, which OS are you on? 11:18 < molz> Sentineo, here's the guide: https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md 11:19 < Sentineo> linux 11:19 < Sentineo> cool thanks, will look at it 11:24 < betawaffle> anyone have a peer i can connect to? 11:24 < betawaffle> i tried connecting to the faucet but it wasn't having it 11:28 < Ylbam> https://lnd-testnet-1.mably.com 11:28 < Ylbam> login: lnd / pwd: rocks 11:29 < Ylbam> @betawaffle ^^ 11:31 < betawaffle> hmm, what do i put for the host and port? 11:31 < Ylbam> I think the host name should be enough 11:32 < Ylbam> otherwise use the default 5656 port 11:32 < betawaffle> seems to just be hanging :/ 11:33 < Ylbam> what lncli connect command are you using? 11:34 < betawaffle> connect 11:34 < betawaffle> lncli connect 02c684616bf7b4ed51b0dfb841d5db2f0b9c56572dfbe393942fd052decf883f7f@lnd-testnet-1.mably.com 11:34 < betawaffle> i tried with the port too, but you're right about the default 11:34 < betawaffle> does my node need to be externally reachable? 11:35 < betawaffle> (it may only be reachable on ipv6) 11:36 < Ylbam> good question, it shouldn't 11:49 -!- chjj [~chjj@unaffiliated/chjj] has quit [Ping timeout: 255 seconds] 12:02 -!- chjj [~chjj@unaffiliated/chjj] has joined #lnd 12:10 < molz> Ylbam, i can't connect to your node like that, it hangs 12:10 < Ylbam> I restarted it, it seems better 12:11 < Ylbam> something was probably stuck somewhere 12:12 < molz> ah thanks, it's connected now 12:12 < Ylbam> at least I can now connect from my home node 12:12 < Ylbam> nice 12:13 <@roasbeef> betawaffle: you can set the --externaip flag in order to advertise your publicly reachable IP 12:14 <@roasbeef> we don't have any NAT traversal or UPnP or hole punching yet 12:14 -!- chjj [~chjj@unaffiliated/chjj] has quit [Ping timeout: 255 seconds] 12:16 < betawaffle> roasbeef: where do i need to set it? lnd? 12:16 < betawaffle> oh, i am setting it 12:17 < betawaffle> but it's IPv6 12:17 < betawaffle> is that a problem? 12:18 < betawaffle> (maybe i just need another v6 node to connect to) 12:19 < stevenroose> I have one on btcd.roose.io, you can try that one if it helps 12:20 < stevenroose> betawaffle: where did you find the pubkey? 12:20 < betawaffle> uhh 12:20 < betawaffle> the website :P 12:20 < betawaffle> stevenroose: i need yours though 12:21 < stevenroose> 030ea1c63b2d4903ca88bad3d62b08db66efffb7e8916d760ab0f102e1cfa43575 12:21 < betawaffle> woo! 12:21 < betawaffle> connected 12:22 < stevenroose> oh wow, does every lnd node serve that status page on port 80? 12:22 < betawaffle> hmh? 12:22 < stevenroose> how about a channel? 12:23 < betawaffle> stevenroose: lets do it 12:23 < betawaffle> (this is my first time, be gentle) 12:23 < stevenroose> hmm, I never did tht successfully, only tried with the faucet and that one doesnt work 12:24 < stevenroose> does lnd support joint channel creation? or only unidirectional? 12:24 < betawaffle> not sure, let's see 12:25 < stevenroose> you are 02c684616bf7b4ed51b0dfb841d5db2f0b9c56572dfbe393942fd052decf883f7f, right? 12:26 < betawaffle> no 0318ec917c7bbc4c3563b857efa5e3c10620f560a9b264d87f600b902b435b84d4, i think 12:27 -!- chjj [~chjj@unaffiliated/chjj] has joined #lnd 12:27 < stevenroose> oh, ok, that's my outbound peer, so that's the one at lnd-trestnet-1.mably.com, right? 12:29 < betawaffle> yeah, i think so 12:29 < stevenroose> I made a funding tx, I think :) 12:29 < stevenroose> 0.5 tBTC 12:30 < stevenroose> ah, there is local_amt and push_amt, I guess with push_amt, I can commit some funds and have you decide on what amount you want to add from your side 12:31 < betawaffle> ahh, i see it 12:31 < betawaffle> hmm, how do i turn a pending channel into an open one :P 12:32 < betawaffle> brb 12:32 < stevenroose> I guess we just wait one confirmation 12:32 < stevenroose> it's a unidirectional one, so I can only send you money over it 12:33 < stevenroose> I have one channels in lncli pendingchannels 12:34 < betawaffle> oh right, i get it 12:34 < betawaffle> forgot the funding tx has to get confirmed :P 12:35 < stevenroose> grr, I always hate tmux with copy and paste 12:36 < stevenroose> when having two vertical panes, system copy copies both columns 12:36 < stevenroose> and tmux select just pasts some base64 randomness (I know it's not random) into the other pane 12:37 < stevenroose> this is the channel point: d83ffe2acd604e206d20f16af4ecb16abe166ec428401afb8767aab7ca470130:0 12:37 < betawaffle> what *is* a channel point? 12:39 < stevenroose> a point is a tx outpoint, refers to an unspent output (txid:index in tx) 12:40 < stevenroose> so I guess it's the last txid:index 12:40 < stevenroose> currently I think it's the txid of the funding tx, or it might be the txid of the unbroadcast refund tx 12:41 < stevenroose> since my node finds the txid there I guess it's the funding tx 12:41 <@roasbeef> yeh a channel point just uniquely identifies a channel: so full outpoiint (hash:index) 12:42 < stevenroose> roasbeef: so how would we create a channel that is funded from both sides? 12:43 < stevenroose> my guess was the push_amt option, but it's really a guess from reading the createchannel --help 12:43 < betawaffle> ok, so this is us stevenroose https://testnet.smartbit.com.au/tx/d83ffe2acd604e206d20f16af4ecb16abe166ec428401afb8767aab7ca470130 12:44 < stevenroose> betawaffle: perfect :) once it's confirmed, I'm gonna try and send you 3.50 bits 12:44 < lndbot> cool 12:57 <@roasbeef> stevenroose: atm only single funder is in the specification, dual funder conceptually seems simple but there's a bit more complexity when it comes to fees and some of the other cases 12:57 <@roasbeef> lnd actually already has code for dual funder, it was the first funding workflow I implemented 12:58 <@roasbeef> will prob be added in v1.1 of the specification, but until then there's push_amt (for the open-and-pay use case) and also things you can do with circular routes to rebalance after the fact denepnding on the state of your other channels 12:58 < lndbot> open-and-pay makes the most sense, tbh 12:58 <@roasbeef> dual funder also reqruies a _bit_ more implicit trust, as someone shows up to your door and asks you to put some funds in a 2-of-2 multi-sig 12:58 < lndbot> was a good first choice 13:14 < betawaffle> stevenroose: it's confirmed 13:14 < betawaffle> but i need to find something to eat 13:15 -!- chjj [~chjj@unaffiliated/chjj] has quit [Ping timeout: 246 seconds] 13:17 -!- lyckalit [ada40919@gateway/web/freenode/ip.173.164.9.25] has joined #lnd 13:19 -!- TD-Linux [~Thomas@about/essy/indecisive/TD-Linux] has quit [Ping timeout: 260 seconds] 13:21 -!- TD-Linux [~Thomas@about/essy/indecisive/TD-Linux] has joined #lnd 13:28 -!- chjj [~chjj@unaffiliated/chjj] has joined #lnd 13:36 -!- chjj [~chjj@unaffiliated/chjj] has quit [Ping timeout: 258 seconds] 13:39 -!- lyckalit [ada40919@gateway/web/freenode/ip.173.164.9.25] has quit [Quit: Page closed] 13:48 -!- chjj [~chjj@unaffiliated/chjj] has joined #lnd 13:55 <@roasbeef> https://twitter.com/golang/status/889885828574347264 13:55 <@roasbeef> dat go 1.9 13:56 < lndbot> wooo! 14:17 < molz> ugh 14:17 < molz> do we have to upgrade go now? 14:24 < stevenroose> betawaffle: srry, was afk 14:24 < betawaffle> no worries 14:26 < stevenroose> hmm 14:26 < stevenroose> lncli sendpayment requires me to provide a payment hash 14:26 < stevenroose> that's probably because usually when making a payment, you're fulfilling an invoice 14:27 < stevenroose> betawaffle: I guess you can create an invoice and send it to me somehow 14:27 < stevenroose> roasbeef: does lnd support just making payments over a channel? 14:28 < betawaffle> stevenroose: ok, i've got a few things i need to take care of first 14:29 < stevenroose> kk, no problem 14:29 < stevenroose> I guess I need this from you: lncli addinvoice --value=350 14:31 < stevenroose> "but i need to find something to eat" + "i've got a few things i need to take care of first" = "just let me finish my food!" 14:31 < betawaffle> LOL 14:31 < betawaffle> no, trouble in #bitcoin 14:32 < icechip> so... can I send someone tbtc over ln? 14:32 < icechip> post your ln addr, anyone 14:32 < betawaffle> molz ^ 14:32 < icechip> hi again betawaffle 14:32 < betawaffle> howdy 14:33 < icechip> can I just post your addr and we'll see what happens when I send 14:33 < stevenroose> 030ea1c63b2d4903ca88bad3d62b08db66efffb7e8916d760ab0f102e1cfa43575@btcd.roose.io 14:33 < betawaffle> ah, but see *now* i have to eat 14:33 < betawaffle> bbl 14:33 < stevenroose> icechip: that should be sufficient 14:34 < icechip> says could not read invoice. eclair android btct ln eallet 14:34 < icechip> wallet 14:34 < stevenroose> I just did the same with betawaffle. 1) lncli connect; 2) lncli openchannel; 3) wait for confirmations; 4) lncli addinvoice (from my part) and 5) lncli sendpayment 14:35 < icechip> stev I'm on that android wallet eclair 14:35 < stevenroose> icechip: I have no incoming channels, so you'll never be able to make a payment to me without a channel 14:35 < stevenroose> hmm, let me try to make an invoice 14:36 < stevenroose> yc8kdtt5firo81wezmj7ckae5puq997z7nes47oksdaofaqxwo4zkm49rkpxem69kgz8ajxx43ubsd45taiu8xkt68p7z39zn9g4zjnqyyyyyyyyyyyihj637ono 14:37 < stevenroose> icechip: that should be a payment request :) 14:37 < stevenroose> no idea if eclair is already interoperable with lnd, I though lnd was still lacking implementations of some parts of the spec 14:38 < icechip> same err 14:39 <@roasbeef> we use a diff invoice than eclair atm icechip 14:40 < icechip> if user a pays to b, then do a and b need to have opened Chan a-b 14:40 <@roasbeef> not neccesserily 14:40 < icechip> or is it ok if there exist opened a-c and c-b 14:40 < stevenroose> icechip: no, but a needs at least an outgoing channel (funds at his side) and b an ingoing channel (funds on other side) and then crossing fingers for intermediate channels 14:40 <@roasbeef> stevenroose: sendpayment also has a payreq arg if you haven't seen it already 14:41 <@roasbeef> stevenroose: it can send on-chian as well, then soon a hybrid mode of sending to/from a channel 14:41 -!- chjj [~chjj@unaffiliated/chjj] has quit [Ping timeout: 276 seconds] 14:41 < stevenroose> roasbeef: yeah I saw that, but that is for a response to an invoice, right? 14:41 < icechip> this is my channel funding tx I guess 14:41 < icechip> 2dd744cbe4e70576c4ee8cb96a2de3284079c6b2d8c011886d08fe36c507d0a1 14:41 <@roasbeef> stevenroose: hmm? 14:41 < stevenroose> sendpayment needs either preimage hash or payment request 14:41 <@roasbeef> stevenroose: needs a value+preimage+pubkey or a payreq 14:41 < stevenroose> can't just do send over channel (i.e. concede some part of the balance to counterparty) 14:41 <@roasbeef> you can use sendcoins to send regulr payments 14:41 < icechip> from this do I know my ln addr to send to me? 14:41 <@roasbeef> stevenroose: yes you acn? 14:42 < stevenroose> sendcoins goes on-chain, no? 14:42 <@roasbeef> yes 14:42 < stevenroose> so if we have a balance 50/50, how can I send 10 to make it 40/60 without interaction with the counterparty? 14:42 < stevenroose> (that's what I was trying, not sure if that is possible) 14:43 <@roasbeef> have a payment hash, or use a type of spontaneous payment (to use the un-used portions of the onion payload to provide _them_ with the payment hash) 14:44 < stevenroose> well, I could tie it to the hash of the empty string, but then the sending client needs to have logic to try that :p 14:44 <@roasbeef> then anyone could just take the htlc... 14:44 < stevenroose> I guess it's just not possbile (yet) to make payments without HTLC's that have hashes.. 14:44 < stevenroose> ah 14:45 < stevenroose> I assumed HTLCs always also required a signature 14:45 <@roasbeef> stevenroose: https://github.com/lightningnetwork/lnd/issues/132 14:45 < stevenroose> aha, yeah that's what I was looking for 14:45 <@roasbeef> they do, a dig from the person the HTLC was extended to 14:46 < stevenroose> but just because I wanted to try and send some money to betawaffle without requiring him to create a payment request 14:46 <@roasbeef> there's a --debughltc flag in lnd atm 14:46 <@roasbeef> just uses a globally known pre-image, useful when testing out changes locally 14:47 <@roasbeef> icechip: not sure, haven't used the eclair android app yet 14:47 < stevenroose> so if they always require a signature, it's not possible for anyone else to "take the htlc", right? (not sure what you meant by that) 14:48 < stevenroose> guess I have some misunderstanding of the process, I only read the initial lightning paper last year :) 14:53 -!- chjj [~chjj@unaffiliated/chjj] has joined #lnd 14:55 <@roasbeef> stevenroose: you require the signature of the outgoing hop, if the outgoing hop already knows the pre-image, then they can take the funds 15:03 -!- chjj [~chjj@unaffiliated/chjj] has quit [Ping timeout: 255 seconds] 15:06 <@roasbeef> when bitocin script is extended a bit to allow say point addition, we can do some fancier stuff 15:07 < stevenroose> oh, yeah of course, for multi-channel payments, thats a problem 15:07 < stevenroose> I was just talking about changing a balance over 1 channel 15:08 < stevenroose> yeah I see how for a multihop payment that's a problem, since any intermediate hop can then just claim their part without forwarding it 15:09 < stevenroose> well, the one-channel use case is relevant for testing but doesn't seem to add any value in real world usage, so don't bother 15:16 -github-lnd:#lnd- [lnd] stevenroose opened pull request #235: htlcswitch: Fix typo in logging (master...value-typo) https://git.io/v7OeY 15:16 -!- chjj [~chjj@unaffiliated/chjj] has joined #lnd 15:21 -!- chjj [~chjj@unaffiliated/chjj] has quit [Ping timeout: 240 seconds] 15:35 -!- chjj [~chjj@unaffiliated/chjj] has joined #lnd 15:39 -!- JackH [~laptop@host86-187-171-216.range86-187.btcentralplus.com] has quit [Read error: Connection reset by peer] 15:40 -!- JackH [~laptop@host86-187-171-216.range86-187.btcentralplus.com] has joined #lnd 15:52 -!- chjj [~chjj@unaffiliated/chjj] has quit [Ping timeout: 240 seconds] 16:01 < stevenroose> Somehow the tests don't run on master 16:02 < stevenroose> That probably shouldnt be 16:05 -!- chjj [~chjj@unaffiliated/chjj] has joined #lnd 16:05 -!- riclas [~riclas@72.210.189.46.rev.vodafone.pt] has joined #lnd 16:09 < stevenroose> I went back in time until the beginning of the month and the failing test was alreayd there 16:21 -!- chjj [~chjj@unaffiliated/chjj] has quit [Ping timeout: 276 seconds] 16:29 -github-lnd:#lnd- [lnd] aakselrod opened pull request #236: rpc: force TLS for both grpc endpoint and grpc gateway (master...rpc-tls) https://git.io/v7Oqz 16:34 -!- chjj [~chjj@unaffiliated/chjj] has joined #lnd 16:41 < aakselrod> what test is failing? 16:41 < aakselrod> is it one of the neutrino chainnotifier tests? 17:14 -!- deep-book-gk_ [~1wm_su@101-170.furanet.com] has joined #lnd 17:16 -!- deep-book-gk_ [~1wm_su@101-170.furanet.com] has left #lnd [] 17:32 < aakselrod> looks like yes, at least on travis... is that failing for you locally too? 17:36 -!- chjj [~chjj@unaffiliated/chjj] has quit [Ping timeout: 255 seconds] 17:59 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-gcvaknsytsqvleky] has quit [Quit: Connection closed for inactivity] 17:59 -!- fudzero [415eb90d@gateway/web/freenode/ip.65.94.185.13] has joined #lnd 18:03 -!- fudzero [415eb90d@gateway/web/freenode/ip.65.94.185.13] has quit [Client Quit] 19:22 -!- spinza [~spin@196.212.164.26] has quit [Ping timeout: 260 seconds] 19:40 -!- spinza [~spin@196.212.164.26] has joined #lnd 20:29 -!- dabura667 [~dabura667@p98110-ipngnfx01marunouchi.tokyo.ocn.ne.jp] has joined #lnd 20:32 -!- arubi [~ese168@gateway/tor-sasl/ese168] has quit [Ping timeout: 248 seconds] 20:33 -!- arubi [~ese168@gateway/tor-sasl/ese168] has joined #lnd 20:50 -!- riclas [~riclas@72.210.189.46.rev.vodafone.pt] has quit [Ping timeout: 240 seconds] 21:27 -!- JackH [~laptop@host86-187-171-216.range86-187.btcentralplus.com] has quit [Ping timeout: 240 seconds] 23:14 -github-lnd:#lnd- [lnd] aakselrod closed pull request #236: rpc: force TLS for both grpc endpoint and grpc gateway (master...rpc-tls) https://git.io/v7Oqz 23:39 -github-lnd:#lnd- [lnd] aakselrod reopened pull request #236: rpc: force TLS for both grpc endpoint and grpc gateway (master...rpc-tls) https://git.io/v7Oqz