--- Day changed Thu Feb 15 2018 00:01 -!- JackH [~laptop@alvira.static.korbank.pl] has quit [Ping timeout: 265 seconds] 00:04 -!- dionysus69 [~Thunderbi@unaffiliated/dionysus69] has joined #lnd 00:13 -!- JackH [~laptop@91.189.61.70] has joined #lnd 00:28 < dionysus69> hey all 00:29 < dionysus69> I need help with something technical 00:29 < dionysus69> I wonder how to get lncli data to the GRPC server the proper way 00:30 < dionysus69> right now I make grpc server execute bash directly on server to get data, but I have a feeling there could be a better/neater way 00:30 < dionysus69> any ideas ? 00:32 -!- iv4n [~iv4n@1.46.236.235] has joined #lnd 00:58 < Veggen> why are you involving bash at all? there's RPC intereface in LND. 01:00 < Styil> dionysus69: 01:00 -!- lndbot [~lndbot@138.197.213.35] has quit [Remote host closed the connection] 01:00 < dionysus69> oh I didnt know that Veggen 01:00 -!- lndbot [~lndbot@138.197.213.35] has joined #lnd 01:00 < dionysus69> where can I see documentation for that? 01:01 < dionysus69> so you are saying unlike bitcoind it doesn't come with rpc server itself, but only rcp interface? 01:01 < Veggen> example with python: https://gist.github.com/takinbo/27b58c84dcb58abf8c556caad3949aea 01:02 < Veggen> used that one successfully myself. 01:02 < dionysus69> having trouble porting that to ruby 01:03 < dionysus69> I don't understand the dependencies 01:04 < Veggen> think I saw something about it the other day, but couldn't find it right now, and am at work. 01:05 < dionysus69> ok thanks anyway, I will try tinker with it :) 01:06 < Veggen> https://github.com/lightninglabs/lightning-api mentions ruby. 01:07 -!- bryan_w [~is@2600:2108:9:8a90:72a3:5780:f492:1888] has quit [Ping timeout: 252 seconds] 01:07 -!- nirved [~nirved@2a02:8071:b58a:3c00:182e:7c79:1e06:3ad7] has joined #lnd 01:09 < dionysus69> yes I have seen that 01:09 < dionysus69> ruby seems to be just a dependency :S 01:18 < Veggen> yah, saw that too. 01:18 < Veggen> oh well. creating a proper ruby interface should be a good experience. 01:19 < Veggen> I'd consider it, instead of just using lncli. you'll benefit others a lot more. 01:19 < Veggen> probably more rewarding, too :) 01:25 -!- go1111111 [go1111111@gateway/vpn/privateinternetaccess/go1111111] has quit [Quit: Leaving] 01:41 -!- pioklo [Pioklo@ip-91.246.70.194.skyware.pl] has joined #lnd 02:03 -!- sovjet_ [~sovjet@193.189.166.102] has joined #lnd 02:06 -!- sovjet [~sovjet@193.189.166.102] has quit [Ping timeout: 240 seconds] 02:12 < dionysus69> Veggen: are you sure lncli has rpc api interface? 02:13 < dionysus69> I think what this python script does is it also implements the server part too 02:13 < Veggen> lnd has rpc api interface. 02:14 < dionysus69> it imports lnrpc which is what I am trying to build with ruby 02:14 < dionysus69> This site features API documentation for command line arguments, gRPC in Python / Javascript, and a REST proxy. 02:15 < dionysus69> did you mean REST proxy by rpc api interface? 02:17 -!- mp___ [mi@hell.cx] has quit [Ping timeout: 256 seconds] 02:17 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Remote host closed the connection] 02:23 < dionysus69> :78:in `__read_nonblock': Connection reset by peer (Errno::ECONNRESET) 02:23 < dionysus69> from :78:in `read_nonblock' 02:23 < Veggen> I use gRPC in python. 02:24 < dionysus69> https://gist.github.com/anonymous/91bfdd682a961ebbc7d667cebd0c1550 02:24 < dionysus69> I am able to connect with that same exact code to bitcoind rpc without a problem 02:25 < dionysus69> but I get that error while pointing it to lnd 02:36 -!- kunla [~kunla@bl13-153-142.dsl.telepac.pt] has quit [Ping timeout: 240 seconds] 02:50 -!- Mark__ [5bd4cf04@gateway/web/freenode/ip.91.212.207.4] has quit [Ping timeout: 260 seconds] 02:51 -!- Marc__ [5bd4cf04@gateway/web/freenode/ip.91.212.207.4] has joined #lnd 02:58 -!- sovjet_ [~sovjet@193.189.166.102] has quit [Remote host closed the connection] 03:19 -!- dabura667 [~dabura667@p98110-ipngnfx01marunouchi.tokyo.ocn.ne.jp] has quit [Remote host closed the connection] 03:47 < meshcollider> dionysus69: is the port correct? 03:47 < dionysus69> yes lnd is running on 10009 03:48 < dionysus69> but anyways I am trying to translate this line python -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. rpc.proto 03:48 < dionysus69> to grpc_tools_ruby_protoc -I googleapis --ruby_out=. --grpc_out=. rpc.proto 03:48 < dionysus69> for ruby 03:48 < dionysus69> but I am getting this error rpc.proto: Import "google/api/annotations.proto" was not found or had errors. 03:56 -!- lnostdal [~lnostdal@gateway/tor-sasl/lnostdal] has quit [Ping timeout: 255 seconds] 03:59 < dionysus69> ok I figured it out 03:59 < dionysus69> grpc_tools_ruby_protoc -I googleapis --ruby_out=. --grpc_out=. rpc.proto 03:59 < dionysus69> instead of that python line line 03:59 < dionysus69> https://gist.github.com/takinbo/27b58c84dcb58abf8c556caad3949aea 04:05 -!- anome [~anome@unaffiliated/anome] has joined #lnd 04:22 -!- sovjet [~sovjet@193.189.166.102] has joined #lnd 04:45 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has quit [Quit: Leaving.] 05:02 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has quit [Ping timeout: 255 seconds] 05:03 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has joined #lnd 05:04 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has quit [Remote host closed the connection] 05:12 -!- attilio [~attz@cm-84.210.18.237.getinternet.no] has joined #lnd 05:14 -!- Marc__ [5bd4cf04@gateway/web/freenode/ip.91.212.207.4] has quit [Ping timeout: 260 seconds] 05:20 -!- Mark__ [5bd4cf04@gateway/web/freenode/ip.91.212.207.4] has joined #lnd 05:35 -!- dougsland [~douglas@c-73-234-93-65.hsd1.nh.comcast.net] has quit [Ping timeout: 268 seconds] 05:40 -!- sovjet [~sovjet@193.189.166.102] has quit [Quit: Leaving] 05:48 -!- vvv [272a1241@gateway/web/freenode/ip.39.42.18.65] has joined #lnd 05:48 -!- vvv [272a1241@gateway/web/freenode/ip.39.42.18.65] has quit [Client Quit] 06:22 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-aqqlkbjngmrfcfto] has quit [Quit: Connection closed for inactivity] 06:38 < Mark__> I noticed that these instructions contain some old information 06:38 < Mark__> http://dev.lightning.community/tutorial/01-lncli/index.html 06:38 < Mark__> they give lncli-bob addinvoice --value=10000 as a command 06:39 < Mark__> but that's changed 06:40 -!- kunla [~kunla@bl10-85-39.dsl.telepac.pt] has joined #lnd 06:40 -!- dougsland [douglas@nat/redhat/x-zjvvsgpcahjgwpkf] has joined #lnd 06:48 -!- dionysus69 [~Thunderbi@unaffiliated/dionysus69] has quit [Ping timeout: 256 seconds] 06:52 < mlz> Mark__, correct, that used to be the case, now you can just do: lncli-bob addinvoice 10000 06:55 < Mark__> Yes, I figured out the new way to do it. BTW the old way doesn't work at all, it gives an error 06:55 < Mark__> Thought I mention it, if somebody here has write access to the tutorial 06:58 -!- kunla [~kunla@bl10-85-39.dsl.telepac.pt] has quit [Ping timeout: 240 seconds] 06:59 -!- trhtnyfzahfpf [~deusexbee@093-092-179-219-dynamic-pool-adsl.wbt.ru] has joined #lnd 07:02 < mlz> ping max 07:03 -!- deusexbeer [~deusexbee@093-092-178-207-dynamic-pool-adsl.wbt.ru] has quit [Ping timeout: 268 seconds] 07:09 -!- Osso [~osso@162-225-190-212.lightspeed.livnmi.sbcglobal.net] has joined #lnd 07:14 -!- bryan_w [~is@2600:2108:9:8a90:72a3:5780:f492:1888] has joined #lnd 07:15 -!- douglas_ [douglas@nat/redhat/x-zufmwcaxqmjmqpih] has joined #lnd 07:18 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has joined #lnd 07:18 -!- dougsland [douglas@nat/redhat/x-zjvvsgpcahjgwpkf] has quit [Ping timeout: 276 seconds] 07:31 -!- Maky [~m@BSN-61-17-27.dynamic.siol.net] has quit [Ping timeout: 248 seconds] 07:32 -!- kunla [~kunla@bl13-61-148.dsl.telepac.pt] has joined #lnd 07:58 -!- kunla [~kunla@bl13-61-148.dsl.telepac.pt] has quit [Ping timeout: 264 seconds] 08:05 -!- douglas__ [douglas@nat/redhat/x-gnomhguftxsrllwz] has joined #lnd 08:05 -!- douglas__ is now known as dougsland 08:05 -!- dougsland [douglas@nat/redhat/x-gnomhguftxsrllwz] has quit [Changing host] 08:05 -!- dougsland [douglas@tchelinux/moderator/dougsland] has joined #lnd 08:08 -!- douglas_ [douglas@nat/redhat/x-zufmwcaxqmjmqpih] has quit [Ping timeout: 256 seconds] 08:19 -!- kunla [~kunla@bl4-53-189.dsl.telepac.pt] has joined #lnd 08:19 -!- dionysus69 [~Thunderbi@unaffiliated/dionysus69] has joined #lnd 08:30 -!- doo-dah [2f2ae8cc@gateway/web/freenode/ip.47.42.232.204] has joined #lnd 08:32 -!- sovjet [~sovjet@user182.c2.sevnica.kabelnet.net] has joined #lnd 08:41 -!- kunla [~kunla@bl4-53-189.dsl.telepac.pt] has quit [Ping timeout: 256 seconds] 08:47 -!- JackH [~laptop@91.189.61.70] has quit [Ping timeout: 248 seconds] 09:00 -!- spudowiar [~spudowiar@unaffiliated/saleemrashid] has joined #lnd 09:07 -!- richard87 [~richard87@237.92-221-98.customer.lyse.net] has quit [Remote host closed the connection] 09:13 -!- kunla [~kunla@81.193.53.189] has joined #lnd 09:19 < mlz> roasbeef, what's the max number for 'maxpendingchannels' ? 100 ? 09:32 -!- kunla [~kunla@81.193.53.189] has quit [Ping timeout: 276 seconds] 09:54 -!- kunla [~kunla@bl4-53-189.dsl.telepac.pt] has joined #lnd 10:07 -!- anome [~anome@unaffiliated/anome] has quit [] 10:08 -!- anome [~anome@unaffiliated/anome] has joined #lnd 10:21 -!- anome [~anome@unaffiliated/anome] has quit [] 10:22 < dionysus69> I set no-macaroons=true 10:22 < dionysus69> but I get this error still expected 1 macaroon, got 0 (GRPC::Unknown) 10:44 -!- zzz_ [4d8a8efe@gateway/web/freenode/ip.77.138.142.254] has joined #lnd 10:45 -!- kunla [~kunla@bl4-53-189.dsl.telepac.pt] has quit [Ping timeout: 268 seconds] 11:02 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has quit [Remote host closed the connection] 11:04 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has joined #lnd 11:13 < Veggen> don't use no-macaroons :) 11:13 < Veggen> macaroons aren't that hard. 11:15 < Veggen> macaroon= binascii.hexlify(open(os.path.expanduser("~/.lnd/admin.macaroon"), 'rb').read()).encode('utf-8') 11:15 < Veggen> metadata = [('macaroon',macaroon)] 11:15 < Veggen> stub = lnrpc.LightningStub(channel) 11:15 < Veggen> response = stub.ListChannels(ln.ListChannelsRequest(), metadata=metadata) 11:15 -!- bryan_w [~is@2600:2108:9:8a90:72a3:5780:f492:1888] has quit [Ping timeout: 255 seconds] 11:15 < Veggen> (that was how I did it in python) 11:28 -!- colatkinson [~colatkins@nagini-141.dynamic.rpi.edu] has joined #lnd 11:28 -!- zzz_ [4d8a8efe@gateway/web/freenode/ip.77.138.142.254] has quit [Quit: Page closed] 11:36 < Veggen> Hmm. Started force-closing channels I haven't seen for days - those with balance in my end :) 11:37 < Veggen> ...and closing open channels that have never beeen used. 11:37 < Veggen> Maybe premature, but I am preparing for the upcoming breaking change :) 11:54 -!- anome [~anome@unaffiliated/anome] has joined #lnd 11:58 -!- anome [~anome@unaffiliated/anome] has quit [Client Quit] 12:16 <@roasbeef> dionysus69: have you seen the example? 12:17 < dionysus69> yes 12:17 < dionysus69> ok now I launched it successfully 12:17 < dionysus69> just had trouble with macaroons and just disabled it 12:17 < mlz> lol 12:17 < dionysus69> authenticating using tlc.cert is that fine? 12:17 -!- contrapumpkin [~copumpkin@haskell/developer/copumpkin] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…] 12:17 <@roasbeef> yeh macaroons should def be used 12:17 < spudowiar> tls.cert doesn't authenticate 12:17 < mlz> dionysus69, are you going to launch a LND node on mainnet? 12:18 < dionysus69> I am still very far from production but still good to know 12:18 <@roasbeef> the cert authenticates the server, macaroons authenticate *you* more or less 12:18 < dionysus69> haha no just testing 12:18 < spudowiar> Well, actually, it does 12:18 < spudowiar> But only the server 12:19 < dionysus69> ok this is the file I came up with https://gist.github.com/anonymous/1d8eeadaede90c739adea3703e78bc7f 12:19 < dionysus69> in a loong time 12:19 < dionysus69> I am suffering on macaroons for like 2 hours 12:19 < dionysus69> so can you let me know exact syntax on how I can pass ? :D I couldn't find any examples online, even python examples were missing 12:20 <@roasbeef> dionysus69: we have examples in the repo 12:20 <@roasbeef> under docs 12:20 < dionysus69> I have seen all relevant ones 12:20 <@roasbeef> it just comes down to setting some meta deta for each call or just connection wide 12:20 < dionysus69> but macaroons aren't mentioned, in ruby's case 12:21 < dionysus69> can you let me know how I can do it for each call? 12:21 <@roasbeef> ah yeh guess the example doens't have macaroons 12:21 <@roasbeef> you're using ruby or python? 12:21 < dionysus69> ruby 12:21 <@roasbeef> did you see Veggen's in-line paste above? 12:21 < dionysus69> I just posted gist :) 12:22 < dionysus69> hmm thing is that I am having trouble translating it 12:22 < dionysus69> but I will give it one more shot I guess 12:24 -!- Giszmo [~leo@ip-9-237-219-201.nextelmovil.cl] has joined #lnd 12:44 < dionysus69> `initialize': Unknown field name 'metadata' in initialization map entry 12:44 < dionysus69> req = Lnrpc::WalletBalanceRequest.new(witness_only: true, metadata: metadata) 12:48 -!- colatkinson [~colatkins@nagini-141.dynamic.rpi.edu] has quit [Quit: colatkinson] 12:53 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 12:56 -!- colatkinson [~colatkins@2620:0:2820:1502:5ee0:c5ff:fe8c:502d] has joined #lnd 13:04 -!- ptoohill [~ptoohill@2001:4800:7813:516:be76:4eff:fe04:487b] has left #lnd ["WeeChat 1.7.1"] 13:06 -!- anome [~anome@unaffiliated/anome] has joined #lnd 13:08 -!- richard87 [~richard87@237.92-221-98.customer.lyse.net] has joined #lnd 13:16 -!- dionysus69 [~Thunderbi@unaffiliated/dionysus69] has quit [Ping timeout: 248 seconds] 13:19 -!- jason_____ [44c487bc@gateway/web/freenode/ip.68.196.135.188] has joined #lnd 13:19 -!- jason_____ [44c487bc@gateway/web/freenode/ip.68.196.135.188] has quit [Client Quit] 13:21 < tumi> could I get someone to pay this invoice? lntb1pdgt7vnpp56jgtj8n76lupmqeerlsdlkvmf6c7n8w9m7qy64vxc8txmcl9jheqdp823jhxarfdenjqatwv3jkv6twv4jzqctdda6kuaqcqzysl5j94fllnusv5jj05pwm0f3v56gzl3e6cnyj6m3js8fd6xlqak7j4rj6p88n3p40tfsy89a7sxqxedmu38pezvz494ghfqhev8vstpcqnzw30n 13:22 <@roasbeef> you don't have any adveritsed chans tumi 13:24 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has quit [Remote host closed the connection] 13:25 < tumi> is that so? I'm running a fairly standard configuration, 7 active channels and at least a few of them have plenty remote_balance 13:25 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has joined #lnd 13:27 <@roasbeef> the invoice doesn't have any amt at all 13:27 < tumi> correct 13:29 < tumi> the payment request is generated by lnd (which sets the amt field to 0 in channeldb) and omits the amount field, as is allowed in BOLT#11 unless I misundersand the docs 13:34 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has quit [Remote host closed the connection] 13:34 < stevenroose> Since my last update, I'm getting this error from lncli 13:34 < stevenroose> [lncli] rpc error: code = Unknown desc = cannot retrieve macaroon: cannot get macaroon: unable to decrypt 13:34 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has joined #lnd 13:35 < stevenroose> The macaroon file is ~/.lnd/admin.macaroon symlinked to the file mentioned in the conf file of lnd 13:35 < stevenroose> if I cat it, I get the file 13:35 < stevenroose> Did the macaroon format change? 13:35 < mlz> now we have macaroon.db 13:36 < mlz> ~/.lnd/data$ ls 13:36 < mlz> chain graph macaroons.db 13:36 < stevenroose> Ah, I was confused with the commit history. The last ones on the first page said November, so I thought there was only one macaroon commit 13:36 < stevenroose> But that was commited time, not merged time. 13:37 < stevenroose> Probably this one, right? https://github.com/lightningnetwork/lnd/commit/de6efbd1a137c0069a072fcac464d9531fe68f44 13:37 < stevenroose> mlz: how does that work? How do I get the macaroon for lncli? 13:37 < mlz> not sure but i got that same error a few days ago when i was running an older .lnd database after an upgrade 13:37 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has quit [Ping timeout: 255 seconds] 13:37 < mlz> i just had to delete the .lnd 13:38 < mlz> and start over fresh 13:38 < stevenroose> hmm 13:40 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has joined #lnd 13:40 < stevenroose> Thanks 13:41 <@roasbeef> tumi: well it doesn't specify a value...so you can't pay it w/o knowing what the value is 13:42 <@roasbeef> stevenroose: yeh it's diff, we now encrypt the root macaroon key on dis 13:42 <@roasbeef> k 13:43 < stevenroose> So the macaroon files got updated? 13:43 < stevenroose> roasbeef: also, just curious, what exactly takes lnd those 5 minutes to start up? 13:43 < stevenroose> Is it btcwallet key decryption or so? 13:43 <@roasbeef> 5 minutes? 13:44 <@roasbeef> if you're running on a tiny device, the initial rsa key generation and scrypt can take abit 13:44 <@roasbeef> i boot up in seconds... 13:44 < stevenroose> It's not first run, but always hangs like 5 mins at 13:44 < stevenroose> 2018-02-15 22:42:33.244 [INF] LNWL: Opened wallet 13:44 < stevenroose> It's a small vps, 1 core, but there is no big CPU usage in that 5 mins 13:45 < stevenroose> And then next 2018-02-15 22:44:41.693 [INF] LNWL: The wallet has been unlocked without a time limit 13:45 < stevenroose> ok so more like 2 mins 13:45 < stevenroose> Still a lot 13:45 <@roasbeef> scrypt generates a bit of garbage 13:45 <@roasbeef> but still on my $5 DO box, it's a few seconds 13:46 <@roasbeef> the what's going on between that is scrypt for the most part 13:46 <@roasbeef> to check the use passphrase 13:46 <@roasbeef> there's xsalsa in there, but that's pretty fast 13:46 -!- dougsland [douglas@tchelinux/moderator/dougsland] has quit [Ping timeout: 252 seconds] 13:47 < stevenroose> I have noencryptwallet=1 though 13:47 < stevenroose> Scrypt is supposed to be not CPU intensive though, so low CPU usage might make sense :p 13:48 < stevenroose> I just always wondered. I always have to go do something else while starting lnd and then I forget about it for an hour :D 13:50 <@roasbeef> it still goes thru the scrypt phase 13:50 <@roasbeef> well there's memory access, which takes time, and also garabge generation and clean up 13:51 < stevenroose> Btw, liked the hardening lightning talk 13:52 < stevenroose> There should be a world record for "most information about the lightning network provided in one hour" though 13:52 < stevenroose> :D 13:53 <@roasbeef> 2018-02-15 13:52:47.295 [INF] LTND: Version 0.3.0-alpha 13:53 <@roasbeef> 2018-02-15 13:52:49.290 [INF] LTND: LightningWallet opened 13:53 <@roasbeef> 2 seconds 13:54 < stevenroose> It was from wallet opened to the next INF log 13:55 <@roasbeef> 2018-02-15 13:52:49.297 [INF] HSWC: Starting HTLC Switch 13:56 <@roasbeef> (this is on my laptop fwiw) 13:56 <@roasbeef> how much ram does your vps have? 13:58 < stevenroose> Just 1 GiB 13:59 < stevenroose> But I never saw either RAM or CPU go full during that time 13:59 -!- spudowiar [~spudowiar@unaffiliated/saleemrashid] has quit [Quit: WeeChat 2.0.1] 13:59 < stevenroose> I use the built-in wallet with btcd though, but with no encryption 13:59 -!- MaxSan [~user@86.105.9.67] has quit [Remote host closed the connection] 14:03 <@roasbeef> no encryption still does encryption 14:03 <@roasbeef> it just uses a dummy passphrase 14:03 <@roasbeef> so it's the same 14:05 < tumi> roasbeef: mhm, you can't pay it with lnd. I read a similar payment request with an android client (I forget the name, not eclair, there is another one now) and this client prompted me for the amount to send. I sent a non-zero amount and lnd marked the invoice as settled but the amount did not show up in my channelbalance value 14:06 <@roasbeef> well I can 14:06 < stevenroose> If you're interested, this is the entire first parts of the log 14:06 <@roasbeef> but idk how much to send lol 14:06 <@roasbeef> stevenroose: plz don't paste it all 14:06 < stevenroose> https://gist.github.com/stevenroose/6c2f593b3338b833ac359cca89e95f50 14:06 <@roasbeef> i mean it just seems like there's something with your vps? 14:06 <@roasbeef> i have the minimal $5 DO box, and it's still a few seconds 14:07 <@roasbeef> what backend are you running with? 14:07 < stevenroose> K, good to know. Was curious if it was normal. What do you mean backend? 14:07 < stevenroose> btcd 14:07 < stevenroose> On a different bigger machine 14:13 -!- sovjet [~sovjet@user182.c2.sevnica.kabelnet.net] has quit [Ping timeout: 256 seconds] 14:15 <@roasbeef> well, never had any reports of slowness on boot, other than on mobile platforms 14:15 <@roasbeef> the thing taking a while on mobile platforms was the initial rsa key generation 14:18 < tumi> roasbeef try sending 150 satoshis 14:19 < stevenroose> k, thanks, sorry to bother. It's a regular CentOS 1 GiB 1 CPU box on a respected provider, so shouldn't be anything wrong, that's why I asked. It's an old wallet.db, though, I might reset the entire data directory in the future 14:20 -!- colatkinson [~colatkins@2620:0:2820:1502:5ee0:c5ff:fe8c:502d] has quit [Quit: colatkinson] 14:20 <@roasbeef> stevenroose: yeh _maybe_ it had to generate the rsa keys again? 14:20 <@roasbeef> tumi: invoice expired, but bbiab 14:24 <@roasbeef> also neaaarly tracked down some of the inconsistencies w.r.t the balance displayed, and what the wallet _thinks_ it can spend 14:25 <@roasbeef> basically how the balance shows higher, tbu then it says you have insufficient funds 14:25 <@roasbeef> it's due to the way we lock outputs, at times we don't unlock those outputs properly 14:25 <@roasbeef> so they aren't available for our other coin selection 14:28 < mlz> oh is that the problem only with btcd? 14:28 <@roasbeef> nah it's within btcwallet 14:29 <@roasbeef> we lock outputs so we don't double sepdn then by concurrent funding attempts 14:29 <@roasbeef> there's some cases where we _don't_ unlock the outputs, even tho we're not using them anymore 14:29 <@roasbeef> this is waht cuases the issue where it says "insufficient funds" tho you have verything 14:29 <@roasbeef> also have a patch later today that should add the basics of initial revenue tracking 14:30 < mlz> yes i've seen this issue from time to time and i was wondering if it had something with the reorgs on testnet which btcd could not catch up with or something 14:31 <@roasbeef> yeh ruled out the reorg thing mostly, as the diff is how walletbalance shows the money, but --witness_only doesn't 14:42 -!- marijnfs_ [~smuxi@2a01:c23:b804:d000:a9e:52fd:877c:57b4] has joined #lnd 14:47 -!- Osso [~osso@162-225-190-212.lightspeed.livnmi.sbcglobal.net] has quit [Ping timeout: 265 seconds] 14:50 -!- marijnfs_ [~smuxi@2a01:c23:b804:d000:a9e:52fd:877c:57b4] has quit [Ping timeout: 256 seconds] 14:55 -!- marijnfs_ [~smuxi@2a03:8600:1001:1042::1009] has joined #lnd 14:59 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Remote host closed the connection] 15:00 -!- marijnfs_ [~smuxi@2a03:8600:1001:1042::1009] has quit [Ping timeout: 260 seconds] 15:01 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 15:04 -!- marijnfs_ [~smuxi@2a03:8600:1001:1042::1003] has joined #lnd 15:06 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Remote host closed the connection] 15:08 -!- kunla [~kunla@81.193.53.189] has joined #lnd 15:14 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 15:15 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-quzsxnrrnkbuqdqt] has joined #lnd 15:17 < marijnfs_> where is the best explanation of the invalidation tree? 15:17 < marijnfs_> every paper makes it look so complicated 15:20 -!- Giszmo [~leo@ip-9-237-219-201.nextelmovil.cl] has quit [Quit: Leaving.] 15:22 -!- kunla [~kunla@81.193.53.189] has quit [Ping timeout: 248 seconds] 15:24 -!- anome [~anome@unaffiliated/anome] has quit [] 15:25 -!- anome [~anome@unaffiliated/anome] has joined #lnd 15:32 <@roasbeef> marijnfs_: invalidation tree isn't used int he current protocol 15:32 <@roasbeef> it's just a tree of time locks really 15:33 <@roasbeef> higher in tree means higher timelock, but you can also move laterally 15:34 < marijnfs_> roasbeef: and higher in the tree means what/ 15:35 <@roasbeef> higher timelock 15:37 -!- MaxSan [~user@86.105.9.67] has joined #lnd 15:42 < tumi> roasbeef: the listchannels rpc command has an --active_only switch, which does nothing. I thought it was useful for myself so I "fixed" it but I see the definition of what makes a channel active is ambiguous. Is this a flag you'd rather not have in lncli or would you accept patches to implement it? 15:51 -!- kunla [~kunla@bl13-153-142.dsl.telepac.pt] has joined #lnd 15:52 < MaxSan> That hardening lightning presentation is awesome but it certainly takes a few watches 16:23 -!- pioklo [Pioklo@ip-91.246.70.194.skyware.pl] has quit [Ping timeout: 255 seconds] 16:45 -!- melvster [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has quit [Ping timeout: 255 seconds] 16:49 -!- kunla [~kunla@bl13-153-142.dsl.telepac.pt] has quit [Ping timeout: 256 seconds] 16:49 -!- hsmiths [uid95325@gateway/web/irccloud.com/x-khcqgezqeozrdktu] has quit [Ping timeout: 255 seconds] 16:50 -!- nirved [~nirved@2a02:8071:b58a:3c00:182e:7c79:1e06:3ad7] has quit [Quit: Leaving] 16:50 -!- hsmiths [uid95325@gateway/web/irccloud.com/x-bznnitfpnknltrql] has joined #lnd 16:50 < akihabara> hi guys, can anyone send me an invoice to pay? i want to check whether i can send btc or not on testnet 16:51 -!- anome [~anome@unaffiliated/anome] has quit [] 16:51 < akihabara> i try blockandjerrys and i get route unknown error etc... 16:59 -!- dabura667 [~dabura667@p98110-ipngnfx01marunouchi.tokyo.ocn.ne.jp] has joined #lnd 17:00 < tumi> what's blockandjerrys? 17:08 -!- marijnfs_ [~smuxi@2a03:8600:1001:1042::1003] has quit [Read error: Connection reset by peer] 17:16 < lndbot> http://www.blockandjerrys.fun/ 17:18 -!- marijnfs_ [~smuxi@x4dbd586c.dyn.telefonica.de] has joined #lnd 17:19 -!- damnaskers [4fb78ffb@gateway/web/freenode/ip.79.183.143.251] has joined #lnd 17:19 < damnaskers> hey 17:24 -!- damnaskers [4fb78ffb@gateway/web/freenode/ip.79.183.143.251] has quit [Client Quit] 17:33 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has quit [Remote host closed the connection] 17:37 -!- marijnfs_ [~smuxi@x4dbd586c.dyn.telefonica.de] has quit [Ping timeout: 240 seconds] 17:58 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has joined #lnd 18:16 -!- bryan_w [~is@2600:2108:9:8a90:72a3:5780:f492:1888] has joined #lnd 18:35 -!- Osso [~osso@162-225-190-212.lightspeed.livnmi.sbcglobal.net] has joined #lnd 18:46 -!- Guest70 [~textual@70.42.240.25] has joined #lnd 18:46 -!- Guest70 [~textual@70.42.240.25] has quit [Client Quit] 18:47 -!- Empact [~textual@70.42.240.25] has joined #lnd 18:48 -!- Empact [~textual@70.42.240.25] has quit [Client Quit] 18:48 -!- Empact [~textual@70.42.240.25] has joined #lnd 18:49 -!- colatkinson [~colatkins@cpe-67-240-56-42.nycap.res.rr.com] has joined #lnd 18:59 -!- Empact [~textual@70.42.240.25] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 18:59 <@roasbeef> stevenroose: lemmie know if you can repro that btw, or even kick of a profiling session while it's at that phase 19:00 <@roasbeef> in the past we went to rsa as older versino of node.js didn't support the ecc keys we were using 19:00 <@roasbeef> may make sense to add a flag to make it configurable? 19:02 -!- Empact [~textual@70.42.240.25] has joined #lnd 19:04 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has joined #lnd 19:10 -!- meshcollider_ [uid246294@gateway/web/irccloud.com/x-qsilhhmxuiakvyln] has joined #lnd 19:10 -!- meshcollider_ [uid246294@gateway/web/irccloud.com/x-qsilhhmxuiakvyln] has quit [Client Quit] 19:12 -!- Empact [~textual@70.42.240.25] has quit [Quit: Textual IRC Client: www.textualapp.com] 19:12 -!- Empact [~textual@70.42.240.25] has joined #lnd 19:13 -!- Empact [~textual@70.42.240.25] has quit [Client Quit] 19:14 -!- Empact [~textual@70.42.240.25] has joined #lnd 19:23 -!- dougsland [~douglas@c-73-234-93-65.hsd1.nh.comcast.net] has joined #lnd 19:32 < merehap> roasbeef: In my unit testing PR, I chose to use the external "testify" library rather than just the stdlib "testing" library since testify allows you to fail a test with one line of code whereas it takes two with the stdlib (an "if" and a "t.Fatal()"). If you prefer I can switch to only using the stdlib for unit tests, but I'll end up just re-inventing testify within lnd so that I can have one-liner test assertions again. 19:32 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Remote host closed the connection] 19:32 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 19:33 < merehap> FYI, the testify assertion documentation: https://godoc.org/github.com/stretchr/testify/assert 19:37 -!- Empact [~textual@70.42.240.25] has quit [Ping timeout: 260 seconds] 20:19 -!- melvster [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has joined #lnd 20:31 -!- melvster [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has quit [Ping timeout: 265 seconds] 20:41 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has quit [Quit: Leaving.] 21:58 -!- Osso [~osso@162-225-190-212.lightspeed.livnmi.sbcglobal.net] has quit [Ping timeout: 256 seconds] 22:10 < Veggen> ...and closing open channels that have never beeen used. 22:13 < Veggen> urgh. 22:24 -!- melvster [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has joined #lnd 22:46 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-quzsxnrrnkbuqdqt] has quit [Quit: Connection closed for inactivity] 23:00 -!- windsok [~windsok@unaffiliated/windsok] has quit [Remote host closed the connection] 23:00 -!- windsok [~windsok@rarepepe.cash] has joined #lnd 23:00 -!- windsok [~windsok@rarepepe.cash] has quit [Changing host] 23:00 -!- windsok [~windsok@unaffiliated/windsok] has joined #lnd 23:09 -!- richard87_ [~richard87@237.92-221-98.customer.lyse.net] has joined #lnd 23:09 -!- richard87 [~richard87@237.92-221-98.customer.lyse.net] has quit [Ping timeout: 240 seconds] 23:09 -!- richard87_ is now known as richard87 23:18 -!- dionysus69 [~Thunderbi@unaffiliated/dionysus69] has joined #lnd 23:22 < dionysus69> still unable to pass in macaroon in either server or each request 23:22 < dionysus69> anyone more familiar GRPC things, please help :) 23:42 -!- YungMoonHodler_ [~me@unaffiliated/boscop] has joined #lnd 23:44 -!- meteo [~meteo@52.201.229.182] has quit [Remote host closed the connection] 23:45 -!- YungMoon [~me@unaffiliated/boscop] has quit [Ping timeout: 256 seconds] 23:54 -!- sovjet [~sovjet@193.189.166.102] has joined #lnd