--- Day changed Tue Aug 14 2018 00:25 < manish25> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ 00:38 -!- SopaXorzTaker [~SopaXorzT@unaffiliated/sopaxorztaker] has joined #lnd 01:16 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 260 seconds] 01:34 -!- ken2812221_ is now known as ken2812221 01:34 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lnd 01:44 < rwg29> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ 02:04 -!- aielima [~aielima@gateway/tor-sasl/aielima] has joined #lnd 03:10 -!- Talkless [~Talkless@hst-227-49.splius.lt] has joined #lnd 03:19 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has quit [Ping timeout: 250 seconds] 03:21 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has joined #lnd 03:28 < Solprefixer> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ 03:42 -!- Styils [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Remote host closed the connection] 03:43 < waxwing> roasbeef, had a look at that, thanks for the info. 03:51 -!- Talkless [~Talkless@hst-227-49.splius.lt] has quit [Ping timeout: 260 seconds] 04:01 < Fridtjof> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ 04:17 -!- ken2812221 [~ken281222@1.200.219.221] has left #lnd ["Leaving"] 04:33 -!- JackH [~laptop@host86-174-212-180.range86-174.btcentralplus.com] has quit [Ping timeout: 272 seconds] 04:42 -!- JackH [~laptop@host86-173-175-116.range86-173.btcentralplus.com] has joined #lnd 04:54 -!- qxt [~qxt@unaffiliated/qxt] has joined #lnd 05:15 < ljharb2> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ 05:15 < ljharb2> ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ https://i.redd.it/8w0r915sm1ty.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ 05:24 -!- Talkless [~Talkless@hst-227-49.splius.lt] has joined #lnd 05:27 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #lnd 05:53 -!- qxt [~qxt@unaffiliated/qxt] has quit [Ping timeout: 240 seconds] 06:34 -!- qxt [~qxt@unaffiliated/qxt] has joined #lnd 06:35 < qxt> A few weeks ago my alias just stopped working. Have not changed the lnd.conf. Tried updating restarting etc. Has something changed with alias? 06:35 < qxt> but beside alias everything works fine. 06:38 < molz> lol.. roasbeef will tell you alias means nothing and he wants to get rid of it :P 06:47 -!- jamesob [~james@static-100-38-11-146.nycmny.fios.verizon.net] has joined #lnd 07:03 -!- marcinja_ [~marcin@rrcs-67-251-193-154.nyc.biz.rr.com] has joined #lnd 07:08 -github-neutrino:#lnd- [neutrino] halseth opened pull request #85: LRU block cache (master...block-cache) https://git.io/fNNkM 07:25 < Talkless> could someone explaint (or link) on why lnd has to do some heavy "rescanning" on first startup? Does it does not trust my local bitcoind node, or it needs some extra data..? 07:26 < Talkless> Also, is this.. OK? [DBG] LNWL: Couldn't parse output script in 2ede1c2b40fd64292bec1c5334f33e946e9baea798443aa8b206e66028719759:0: opcode OP_DATA_46 requires 47 bytes, but script only has 3 remaining 07:45 -!- MaxSan [~user@185.9.19.107] has joined #lnd 07:46 < MaxSan> Would like to debug what is happening with a specific payment 07:46 < MaxSan> not sure best way to go about this 07:47 < MaxSan> tried to use bitrefil, setup looks like for the route to them.. 07:47 < MaxSan> Eclair <---(private)---> my main LND node <---- public-----> Bitrefil 07:49 < MaxSan> Eclair only has one channel so it *has* to go through it 07:50 < MaxSan> its been hung on pending for a few days now though lol 07:51 < qxt> molz, nothing wrong with a alias. Not like it identifies in anyway. I think of it like a hostname. Lot better then q09op8e7y 07:53 < qxt> Damn I love Redis LRU cache! Running on a unix socket both for locks and local cache... code bad badassery ! 07:54 -!- SopaXorzTaker [~SopaXorzT@unaffiliated/sopaxorztaker] has quit [Remote host closed the connection] 07:58 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 08:05 -!- spaced0ut [~spaced0ut@unaffiliated/spaced0ut] has joined #lnd 08:12 -!- mautematico [uid39637@gateway/web/irccloud.com/x-vbexzdgvncdwkmyp] has joined #lnd 08:16 < zgrepc> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ 08:17 * molz slaps idiotic spammers 08:18 -!- drrty2 [drrty@gateway/vpn/privateinternetaccess/drrty] has joined #lnd 08:19 -!- drrty2 is now known as drrty 08:27 < molz> MaxSan, the tx is hung on Eclair? 08:33 < MaxSan> Stuck as pending. Not even sure if it hopped to my LND node correctly, can i pass in the HTC somehow on lncli to check it exists or what/ 08:35 < molz> you can check on the channel 08:35 < molz> lncli listchannels 08:43 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has quit [Remote host closed the connection] 08:43 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has joined #lnd 08:47 < waxwing> lnd discriminates against my nested p2sh outputs, we need bitcoin neutrality! 08:49 < bernalex11> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ 08:55 < MaxSan> "active": true, 08:55 < MaxSan> "local_balance": "212162", 08:55 < MaxSan> "remote_balance": "1480794", 08:55 < MaxSan> "commit_fee": "7044", 08:55 < MaxSan> "commit_weight": "724", 08:55 < MaxSan> "fee_per_kw": "9728", 08:55 < MaxSan> "unsettled_balance": "0", 08:55 < MaxSan> "total_satoshis_sent": "0", 08:55 < MaxSan> "total_satoshis_received": "212162", 08:55 < MaxSan> "num_updates": "50", 08:55 < MaxSan> "pending_htlcs": [ 08:55 < MaxSan> ], 08:55 < MaxSan> "csv_delay": 144, 08:55 < MaxSan> "private": true 08:55 -!- marcinja_ [~marcin@rrcs-67-251-193-154.nyc.biz.rr.com] has quit [Read error: Connection reset by peer] 08:56 < molz> ok so there's no stuck htlc there 08:56 < MaxSan> So it looks like the HTLC was completed ? so it was a bitrefill issue or relaying the issue back to eclair? 08:56 < molz> MaxSan, i think you should report this to the Acinq devs on their forum 08:57 < MaxSan> Ok cool, wasnt sure exactly where it tripped and dint want to send people on a ghost hunt without some certainty 08:57 < irv> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ 08:57 < MaxSan> didnt* 08:57 < molz> MaxSan, also, have you tried to restart the phone? 08:57 < molz> im wondering if you restart the phone, the pending might go away? 08:58 < MaxSan> Oh yeah its been like this since, 6 days 08:59 < molz> so a restart won't fix it? report to their forum: https://gitter.im/ACINQ/eclair 09:01 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lnd 09:02 < MaxSan> curated most of this convo. 09:04 < MaxSan> is num_updates essentially the number of transaction running through a channel? 09:12 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #lnd 09:38 -!- math_ [~mario@p4FCB3FA3.dip0.t-ipconnect.de] has joined #lnd 09:46 -!- marcinja [~marcin@static-100-38-11-146.nycmny.fios.verizon.net] has joined #lnd 09:46 -!- Talkless [~Talkless@hst-227-49.splius.lt] has quit [Remote host closed the connection] 09:47 -!- Talkless [~Talkless@hst-227-49.splius.lt] has joined #lnd 09:49 -!- MaxSan [~user@185.9.19.107] has quit [Remote host closed the connection] 09:50 -!- MaxSan [~user@185.9.19.107] has joined #lnd 10:24 -!- MaxSan [~user@185.9.19.107] has quit [Ping timeout: 268 seconds] 10:29 -!- peevsie [~peevsie@2604:2000:f18f:e300::2] has joined #lnd 10:32 -!- spaced0ut [~spaced0ut@unaffiliated/spaced0ut] has quit [Quit: Leaving] 10:35 -!- federicobond [~federicob@186.137.34.132] has joined #lnd 10:49 -!- StopAndDecrypt [~StopAndDe@unaffiliated/stopanddecrypt] has quit [Ping timeout: 240 seconds] 10:52 -!- StopAndDecrypt [~StopAndDe@unaffiliated/stopanddecrypt] has joined #lnd 11:01 -!- aielima [~aielima@gateway/tor-sasl/aielima] has quit [Quit: Leaving] 11:06 -!- peevsie [~peevsie@2604:2000:f18f:e300::2] has quit [Ping timeout: 256 seconds] 11:13 -!- SopaXorzTaker [~SopaXorzT@unaffiliated/sopaxorztaker] has joined #lnd 11:17 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has quit [Remote host closed the connection] 11:17 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has joined #lnd 11:24 < beaver28> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ 11:41 < Talkless> Couls someone explain "Rescanned through block.." ? 11:41 < Talkless> Could*, sorry 11:41 < Talkless> Is this unavoidable, or I setup something wrong? I use my local bitcoind as a source. 11:42 < molz> yes, lnd has to rescan the blocks to find txs, otherwise how can it know your txs? 11:43 < Talkless> wallet should be empty, ldn "just" started for the first time (yesterday). 11:43 < molz> but how does it know your wallet is empty? 11:44 < Talkless> I didn't asked to create any address, I imagined there is no seed generated too. 11:44 < NyanCat16> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ 11:44 < NyanCat16> ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ https://i.redd.it/8w0r915sm1ty.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ 11:47 < Talkless> molz: and bitcoind's txindex does not help to make it faster? It has to do with comples LN scripts or... what? 11:49 -!- Stochastic22 [uid279126@gateway/web/irccloud.com/x-ihsrcnwkcguwkzey] has joined #lnd 11:49 < waxwing> Talkless, did you have txindex before? the first time you start it up with that flag, it has to build the index. that is slow/intensive. 11:49 < waxwing> it basically allows you to retrieve any full transaction given the txid. 11:49 < Talkless> bitcoind runs more than a moth with txid from the start. Lnd was started just about yesterday. 11:50 < Talkless> waxwing: so LND has it's own index? 11:50 < Talkless> just as ElectrumX annnd bitcoind itself? :) 11:51 < Talkless> waxwing 11:51 < waxwing> oh; no, if you use bitcoind as the backend then lnd just hooks into that 11:51 < waxwing> over zmq 11:52 < waxwing> sorry i haven't followed all your convo, and i'm really not sure what problem you're having right now 11:54 < Talkless> waxwing: I started lnd yesterday, configured bitcoind to provide zmq, and I am seeing: Rescanned through block 00000000000000000b06cee3cee10d2617e2024a996f5c613f7d786b15a571ff (height 380000) 11:54 < Talkless> waxwing: it takes around two hours for 10k blocks (was faster before). It's on OdroidHC1 arm machine with a HDD... 11:55 < Talkless> waxwing: so if everything is configured right, this rescanning should not happen? 11:55 < waxwing> ok. i have no idea about hardware, sorry. was there something recently about change in zmq configuration molz ? 11:55 < waxwing> were you able to start up lnd before without seeing rescanning happening? 11:55 < Talkless> I am using 0.4.2 11:55 < Talkless> not master 11:55 < Talkless> I am not sure, I had some issues with configureing zmq, as I was reading master INSTALL.md instead of v0.4.2... 11:55 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 11:56 < Talkless> waxwing: I could delete (move) .lnd and start over, maybe it will skip rescanning? 11:56 -!- mautematico [uid39637@gateway/web/irccloud.com/x-vbexzdgvncdwkmyp] has quit [Quit: Connection closed for inactivity] 11:57 < molz> waxwing, yes there's a change in zmq setting in both bitcoin.conf and lnd.conf 11:57 < waxwing> i don't have any particular knowledge here Talkless , sorry 11:57 < molz> but only with the latest master 11:57 < Talkless> I see ldn is connected to rawblocks: 11:57 < Talkless> # ss -ptn | fgrep lnd 11:57 < Talkless> ESTAB 966170 0 127.0.0.1:42004 127.0.0.1:28332 users:(("lnd",pid=21878,fd=8)) 11:58 < Talkless> ESTAB 0 0 127.0.0.1:36942 127.0.0.1:10009 users:(("lnd",pid=21878,fd=13)) 11:58 < Talkless> ESTAB 0 0 127.0.0.1:10009 127.0.0.1:36942 users:(("lnd",pid=21878,fd=14)) 11:58 < Talkless> bitcoin.conf: 11:58 < Talkless> fgrep -e zmq /etc/bitcoin/bitcoin.conf 11:58 < Talkless> zmqpubrawblock=tcp://127.0.0.1:28332 11:58 < Talkless> zmqpubrawtx=tcp://127.0.0.1:28333 11:58 < Talkless> fgrep -e zmq /home/lnd/.lnd/lnd.conf 11:58 < Talkless> bitcoind.zmqpath=tcp://127.0.0.1:28332 11:59 < Talkless> molz: I remember that master had two zmq* options, though I've found only one in v0.4.2 --help 11:59 < Talkless> but that's rawblocks, maybe I had to set rawtx port..? 12:01 < molz> Talkless, first off, make sure your bitcoind has ZMQ built in, second, i would recommend to update lnd to the latest master 12:03 < Talkless> molz: I believe bitcoind has zmq support as it listens to them: 12:03 < Talkless> # ss -ptln |fgrep 2833 12:03 < Talkless> LISTEN 0 100 127.0.0.1:28332 *:* users:(("bitcoind",pid=7551,fd=19)) 12:03 < Talkless> LISTEN 0 100 127.0.0.1:28333 *:* users:(("bitcoind",pid=7551,fd=21)) 12:03 < Talkless> oh ok, I gonna try master then... 12:03 < Talkless> molz: should I purge .lnd ? 12:03 < molz> you can do git fetch or git pull 12:04 < Talkless> yeah sure, but do I have to delete ~/.lnd? 12:05 < molz> no 12:07 < molz> Talkless, to update lnd: 12:07 < molz> cd $GOPATH/src/github.com/lightningnetwork/lnd 12:07 < molz> git pull 12:07 < molz> make && make install 12:07 < molz> here's the guide: https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md 12:07 < Talkless> yeah I am asking about .lnd as maybe I need to make it "forget" that "bad" state that it "has to rescan" or smth :) 12:08 < molz> if you don't have coins in there, it doesn't matter then 12:08 < Talkless> I don't 12:16 -!- SopaXorzTaker [~SopaXorzT@unaffiliated/sopaxorztaker] has quit [Quit: Leaving] 12:33 < Talkless> molz: rebuilt master, now Iv'e got: LTND: LightningWallet opened 12:33 < Talkless> that it? 12:33 < Talkless> that's it? 12:33 < Talkless> oh, LTND: Waiting for chain backend to finish sync, start_height=536764 12:33 < molz> did you fix your bitcoin.conf and lnd.conf? 12:34 < molz> we don't use zmqpath anymore 12:34 < molz> and now we have different ports for the others 12:34 < molz> zmqpubrawblock=tcp://127.0.0.1:28332 12:34 < molz> zmqpubrawtx=tcp://127.0.0.1:28333 12:35 < Talkless> I see lnd is now connecte to both 28332 and 3 12:35 < Talkless> yes I have updated lnd.conf 12:37 < Talkless> molz: lnd is connected to these ports (previously it was only 28332): 12:37 < Talkless> # ss -ptn | fgrep lnd 12:37 < Talkless> ESTAB 0 0 127.0.0.1:10009 127.0.0.1:43244 users:(("lnd",pid=11135,fd=14)) 12:37 < Talkless> ESTAB 0 0 127.0.0.1:35780 127.0.0.1:28332 users:(("lnd",pid=11135,fd=7)) 12:37 < Talkless> ESTAB 0 0 127.0.0.1:40656 127.0.0.1:28333 users:(("lnd",pid=11135,fd=8)) 12:37 < Talkless> ESTAB 0 0 127.0.0.1:43244 127.0.0.1:10009 users:(("lnd",pid=11135,fd=15)) 12:38 < molz> ok cool 12:38 < Talkless> [INF] LNWL: Caught up to height 70000 12:38 < Talkless> well it's much master now 12:39 < Talkless> 70000-80000 yesterday went for an hour 12:39 < Talkless> it's a minute now. 12:39 < molz> i think because you were using an outdated version 12:40 < molz> we're about to have v0.5 soon 12:40 < molz> but i normally stay with master if the released version has bugs 12:41 < Talkless> I was not sure if that was a bug :) . I kinda like tags, as masters migh be not too stable... 12:43 < Talkless> molz: also, why does external IP is needed to open channel with? Cant these open-requeste be routed as payments via p2p hops or.. whatever? 12:53 < molz> you show your IP if you want other peers to find you to open channels with, otherwise you don't have to, you still can open channels to other nodes 12:56 -!- rls [~rls@ip98-171-84-127.ph.ph.cox.net] has joined #lnd 13:03 < Talkless> molz: I understand, the question is why channel can't be opened by knowing only pubkey? I mean, if I have at least one connections, could all other nodes "find me" to open channel with via others? 13:06 -!- arubi [~ese168@gateway/tor-sasl/ese168] has quit [Remote host closed the connection] 13:06 -!- arubi [~ese168@gateway/tor-sasl/ese168] has joined #lnd 13:08 < molz> Talkless, and how do i find your pubkey if i don't know your IP? 13:08 < molz> for all i know you could have 1000 pubkeys on a same IP 13:09 < molz> or 1000 IPs on one pubkey 13:12 < Talkless> molz: so how does current source routing find all pubkeys (path)..? To choose Hop_X node, it has to know X's IP..? 13:13 < Talkless> anyway, probably I should read some papers on how it works in detail :) 13:13 < molz> afaik it's using the gossiping system which is based on tcp/ip but im no expert in this 13:13 < Talkless> ok. 13:13 < Talkless> molz: is this expected: [DBG] LNWL: Unable to parse output script in 130901dc9321b8ed852a562c0325252f10951b16a43dbc8230bc603f7476c2d0:2: opcode OP_DATA_75 requires 76 bytes, but script only has 39 remaining 13:13 < Talkless> ? 13:14 < molz> not sure, you have to wait for roasbeef to respond 13:22 < Talkless> uhm, lnd doesn't like my router for some reason: 13:22 < Talkless> https://paste.debian.net/1037963/ 13:23 < molz> is it mainnet or testnet? 13:23 < Talkless> My intention was mainnet 13:24 < Talkless> # fgrep main /home/lnd/.lnd/lnd.conf 13:24 < Talkless> bitcoin.mainnet=1 13:25 < molz> ok connect to one peer and see 13:25 -!- rls [~rls@ip98-171-84-127.ph.ph.cox.net] has quit [Ping timeout: 272 seconds] 13:25 < molz> try this: lncli connect 03e50492eab4107a773141bb419e107bda3de3d55652e6e1a41225f06a0bbf2d56@35.172.33.197:9735 13:27 < Talkless> molz: got empty { } 13:28 < molz> that's correct 13:28 < Talkless> listpeers does show some peers 13:28 < molz> that's how it's supposed to be 13:28 < molz> yes 13:28 < molz> the dns system doesn't work yet 13:28 < Talkless> ok, but my logs where SPAMED with these kind of mesasges... 13:29 < Talkless> well, if it's intentional... 13:29 < molz> can you do: lncli getinfo? 13:31 < Talkless> molz: can you still see my messages? 13:31 < molz> sorry no, sec 13:31 < Talkless> molz: what info you would like to get? 13:31 < Talkless> "synced_to_chain": true, 13:31 < Talkless> "testnet": false, 13:32 < molz> if you can see your info then your lnd is working 13:32 < Talkless> ok, thanks a lot molz! :) 13:32 < molz> Talkless, i would suggest you play with this on testnet since you're not familiar with it much 13:35 < Talkless> yeah maybe, but mainnet's more interesting. Gonna try buy some cheap game on joltfun :3 13:48 -!- RusAlex [~Chel@unaffiliated/rusalex] has joined #lnd 13:54 < Talkless> ok, thanks again molz, bye 13:54 < molz> yw, good luck :D 13:54 -!- Talkless [~Talkless@hst-227-49.splius.lt] has quit [Quit: Konversation terminated!] 14:09 < waxwing> so i've been able to make a coinjoin tx with an rpc call. slight problem it pays to a tweaked address which, unless i can import into the LN wallet, i'd have to claim "by hand". well, meh, no big deal, i'll keep investigating. it's fun at least. 14:10 < waxwing> come to think of it i'll push a branch to my github. a lot of cruft in there ofc, but it's just an experiment for now. 14:12 < waxwing> roasbeef, y u no OTS integration? 14:14 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Remote host closed the connection] 14:19 -!- itaseski [~itaseski@213.135.176.245] has joined #lnd 14:28 -!- Stochastic22 [uid279126@gateway/web/irccloud.com/x-ihsrcnwkcguwkzey] has quit [Quit: Connection closed for inactivity] 14:39 -!- federicobond [~federicob@186.137.34.132] has quit [] 14:52 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has joined #lnd 14:57 -!- lypsis [~lypsis@5.189.132.96] has quit [Quit: ZNC - http://znc.in] 14:59 -!- StopAndDecrypt [~StopAndDe@unaffiliated/stopanddecrypt] has quit [Ping timeout: 240 seconds] 15:07 <@roasbeef> waxwing: discriminates? 15:08 <@roasbeef> qxt: redis lru? using it on lnd somehow? 15:08 < waxwing> roasbeef, it was a joke, also a stupid one because just a coding error from me :) 15:08 <@roasbeef> MaxSan: would report to eclair? 15:11 -!- itaseski [~itaseski@213.135.176.245] has quit [Ping timeout: 256 seconds] 15:21 -!- StopAndDecrypt [~StopAndDe@unaffiliated/stopanddecrypt] has joined #lnd 15:26 < qxt> roasbeef, did not see yeah there. No I am just talking out loud. Changed the local memory in NextCloud to Redis on a unix sock. Tried out the "new" LFU and it was cool 15:29 <@roasbeef> waxwing: you see the SignDescriptor stuff? you can basically insert a sign desc, and use that to allow the wallet to derive it all 15:29 < qxt> roasbeef, saw something flash by in git (here in irc) about LRU while I was working on this. 15:29 <@roasbeef> waxwing: OTS for commits? thought about it, haven't yet got around to it yet, PR's accepted ;) 15:29 < waxwing> roasbeef, no need for PR, you just hook it to your gpg signing and OTS does it all for you. super simple. 15:31 -!- belcher_ [~belcher@unaffiliated/belcher] has quit [Quit: Leaving] 15:31 < waxwing> roasbeef, re: SignDescriptor, are you talking about tweaks? i'm not sure what you mean, i'm thinking of a case where an lnd wallet reads a proposed coinjoin and recognizes that the output is a tweak of one of its own keys, and signs on that basis; wouldn't that require importing the tweaked key into the wallet (so that you can access it in the future)? 15:31 <@roasbeef> hmm, yeh i'm down, would be up to do it for the next relase 0.5, which should be dropping soon 15:32 <@roasbeef> waxwing: how do you tweak the addr? there're fields on the sign desc to instruct the Singer how to apply operations to the private key to derive a proper address 15:32 <@roasbeef> so in this case, you get a pubkey and do ops on that, then specify those ops in the SignDesc 15:32 <@roasbeef> for eaxmple we use this to do like revocations, and other tweak stuff 15:33 < waxwing> just add a standard 32 byte random tweak. so like P + tweak*G. ah i think i see what you're getting at. 15:33 < waxwing> right, i'll have a think about that tomorrow probably. cheers. 15:33 < waxwing> but it'd be more how it could be integrated into the wallet so that the coins could be selected for spending in future. 15:34 < waxwing> if you'd have to deliberately spend it out back into the normal HD wallet that'd be a bit meh. 15:34 < waxwing> this is specific to that snicker idea (which i've just been testing), obv not to other coinjoin approaches. 15:37 -!- lypsis [~lypsis@2a02:c207:3001:7075:dead:beef:babe:cafe] has joined #lnd 15:40 <@roasbeef> there's two tweaks rn, but you can add others in the future as well 15:40 <@roasbeef> waxwing: https://github.com/lightningnetwork/lnd/blob/master/lnwallet/signdescriptor.go#L30 15:41 < waxwing> yes, i actually saw that. but i should read more, thanks. 15:41 < waxwing> i particularly remember "TweakOverdose" :) 15:42 <@roasbeef> so this handles like p2ch like derivation, and can go beyond that 15:42 <@roasbeef> so stuff like C = A + B, then eventiually you get the priv key to A and can derive 15:42 <@roasbeef> or C = h(k||b)aG + B 15:42 < waxwing> ok; so can that all be transparent for coin selection? it's kind of impressive abstraction if so :) 15:42 <@roasbeef> stuff like that 15:43 <@roasbeef> transparent coin selection? 15:43 <@roasbeef> like knowing a tweaked pubkey is yours? 15:44 < waxwing> yes. if you have such custom destinations/scripts, can utxos in them be treated as available for spending? 15:44 < waxwing> i guess you don't really need that with LN. 15:44 < waxwing> you have specific scenarios where you have to recognize them. 15:47 <@roasbeef> well this higher level can do that if you need it to 15:47 <@roasbeef> as it knows about these special outputs 15:47 <@roasbeef> you want to allow the wallet to have knowledge of these and select them for regualr coin selection? 15:47 <@roasbeef> could be possible, but then you'd have to bleed down the details into the base wallet layer 15:48 <@roasbeef> while the goal rn, is that we can put lnd on top of a "dumb" wallet, and have all this other stuff be built on top of it 15:48 <@roasbeef> so i prefer that path myself 15:48 < waxwing> yes, that was what i was thinking; these would be opportunistic joins that are taken from a proposer, that would simply move coins into such tweaked keys. i did understand that this would be the (only!) point of friction with this snicker-style coinjoin,because wallets understandably really don't want to have to deal with imported keys. 15:48 < waxwing> i mean, i pretty much heavily dislike the idea myself. HD wallets should just stay as such. 15:48 < waxwing> recovery and so on. 15:49 <@roasbeef> hmm, could be like this streaming RPC thing i've thought about at times where lnd looks for new inputs to use (pre signed), that may not be its own 15:49 <@roasbeef> so if this higher level can pass down signed inputs, then you can get sigs for the rest as well 15:49 <@roasbeef> and do most of the tx crafting at the lnd layer, rather than the lower wallet level 15:50 < waxwing> what would lnd be talking to over this streaming RPC? 15:50 <@roasbeef> yeh 15:51 <@roasbeef> by opportunistic meaning like you're maing a tx and it just coins as well? 15:51 <@roasbeef> is this the bulliten board thing? 15:51 -!- spinza [~spin@155.93.246.187] has quit [Quit: Coyote finally caught up with me...] 15:51 < waxwing> well it's easier if i'm concrete: right now the code i wrote adds a `coinjoin` rpc call, which has parameters 15:51 < waxwing> (shitty ofc but it's just a POC) 15:52 < waxwing> and the tx is partially signed and lnd reads it, checks the conditions, signs the other input and returns fully signed 15:52 <@roasbeef> nice 15:52 < waxwing> the "bulletin board" thing is: where do you get it from. ideally you'd pass in the encrypted tx not the plaintext and lnd can decrypt it (ECIES) 15:53 < waxwing> but the "where does it come from" would be dealt with outside. i have a python script to generate such partially signed proposals. 15:53 <@roasbeef> ahh, yeh if you look at the SecretKeyRing, it can do ecdh, so then can use that derive a key to decrypt or w/e 15:53 <@roasbeef> https://godoc.org/github.com/btcsuite/btcd/btcec#Encrypt 15:53 < waxwing> oh, cool, if it can already do ECDH you're basically there. just some hashing in addition iirc. 15:54 <@roasbeef> ah you know about that, you fixed that padding bug ;) 15:54 <@roasbeef> what needs to be hashed, some portion of the tweak for the key? 15:54 < waxwing> i have the code in python already (i made it compatible with Electrum's ECIES) 15:54 < waxwing> oh the hashing i'm talking about is what's in ECIES, i forget. maybe hmac or something. nothing interesting. 15:55 < waxwing> oh that's an elliptic encrypt? so that's ECIES already? anyway it's not important i think. 15:55 <@roasbeef> so sounds like all the pieces are in place right then? only thing is; what's the bulliten board? 15:55 <@roasbeef> poor name, but yeh it's ECIES 15:56 < waxwing> well that could be like a Tor HS or whatever. nbd. what's not in place is: if you make such coinjoins with tweaked outputs, can you spend them/hold them in the wallet? 15:56 <@roasbeef> that _pay_ to tweaked outputs? 15:56 < waxwing> it feels dodgy i think for most wallets that are very much based on "recovery from seedphrase". don't you think? 15:56 < waxwing> yes that pay to tweaked outputs 15:57 < waxwing> i see your utxo txid:n ; i deduce that a pubkey (from the inputs of txid) is yours; i encrypt a half-signed proposal and you find it; you decrypt, co-sign based on the output being to said pubkey + tweak 15:57 < waxwing> but now you're left with a coin in a (pubkey+tweak) utxo. icky for wallet. 15:58 <@roasbeef> yeh, but it's really just a thing, right? if you're doing fancier stuff, then you need to store additional data as well, but then the goal should be to sweep it into the wallet as soon as possible 15:58 -!- spinza [~spin@155.93.246.187] has joined #lnd 15:59 < waxwing> well but therein is where coinjoin is a bit tricky .. hardly much point coinjoining say your close output, or your change output .. and then sweeping it back into the exact same wallet cluster :) 15:59 < waxwing> i mean it's not pointless, don't get me wrong. but it's a shame if you immediately ditch any isolation. 16:01 < waxwing> you could treat it like a "funds to send out" pocket. 16:02 < waxwing> when you want to pay on-chain take from there. meh, just spitballing now :) 16:02 -!- ChunkyPuffs [~ChunkyPuf@gateway/tor-sasl/chunkypuffs] has quit [Ping timeout: 250 seconds] 16:05 <@roasbeef> hmm, yeh due to stuff like avoiding culstring outputs or w/e, would make sense to have all this logic at the lnd level or an daemon doing RPC stuff beside it 16:05 <@roasbeef> as otherwise, the wallet could inadvetenly blow your anon set by joining inputs from two joins or something like that 16:07 < waxwing> traditionally it's been addressed with HD accounts (uhh .. "traditionally", maybe like 3 projects have done it). i'd see the tweaked outputs (in snicker model) as basically another single account/"pocket" 16:08 <@roasbeef> yeh i think the tweak stuff totally works, the app keeps track of the tweaks, while the wallet can use them to actually derive the keys needed to sign stuff 16:08 < waxwing> think of equal-sized outputs as connecting points between accounts. so change in a tx can go back to the same account, it's linked anyway, and equalsize outs shift. 16:08 <@roasbeef> we do the same thing rn 16:08 < waxwing> yes i *think* i got you re: signing. but unfortunately the utopia of "just do this custom signing op and you don't have to touch the wallet at all apart from that" is not quite there. 16:10 < waxwing> roasbeef, oh; "the app" in your previous: you mean one step up from lnd can handle that? 16:10 < waxwing> hmm that's an interesting thought. 16:12 <@roasbeef> yeh 16:12 <@roasbeef> so this daemon running along side, stores the info, coordinates joins, uses lnd for signing and utxo management 16:12 <@roasbeef> gets macaroons from lnd to do _only_ what it needs to be able to do and nothing more 16:14 < waxwing> but isn't that effectively a second wallet then? 16:15 < qxt> j #bash 16:16 < qxt> sry 16:16 <@roasbeef> waxwing: not really, it doesn't handle keys, just joins and utxos 16:16 <@roasbeef> think of it as layer of wallets 16:16 <@roasbeef> base wallet -> lnd -> coin joiner 16:16 <@roasbeef> ofc you can import this into the wallet itself, using key imports, but then feels like it's nicer to maintain the abstraction 16:17 <@roasbeef> ad lnd can use w/e as it's base wallet as long as it actually adheres to the interfaces 16:18 <@roasbeef> I *think* we're on the same page here, and seems everything you need is in place 16:18 < waxwing> yes that all makes sense i think; the trick would be to stop it creating friction for user; if it feels like managing two wallets it'll be bad, even if architecturally it's good. 16:18 <@roasbeef> what's the format of your weaks? 16:18 < waxwing> just 32 bytes for now 16:18 <@roasbeef> oh well if there's a gui it's all transparent 16:18 <@roasbeef> and lncli itself can handle communicating with either endpoint so the cli user also isn't doing a buncha stuff manually 16:19 < waxwing> yeah what i'm thinking is, use this particular "account" in the wallet for spending on-chain. that way the user doesn't even have to choose. 16:19 <@roasbeef> so like C = k*G + B? where k is the tweak? 16:19 < waxwing> yes. good Q though, should we fix the key in there. 16:19 < waxwing> C = H(rand||B)G + B you're probably thinking eh 16:20 < waxwing> rand = k w/e 16:28 <@roasbeef> yeah that's exactly our current "single tweak": https://github.com/lightningnetwork/lnd/blob/master/lnwallet/signdescriptor.go#L35 16:36 < waxwing> fwiw (not much, it's late here :) ) i thought about it when first writing up snicker and couldn't see a need, but otoh i also can't see any problem with that method. 16:37 < waxwing> it's not like pubkey aggregation where you're passing pubkeys that you can be evil with, here you're passing a scalar/privkey value. i could easily be wrong though. 16:40 <@roasbeef> yeh same here, i argued the same thing, as if you can't sign for this key, then you're done as your funds are locked in a contract 16:40 <@roasbeef> nevertheless, it got added 16:40 <@roasbeef> but could also easily just add the simpler version that doesn't also commit to the pubkey there 16:49 -github-lnd:#lnd- [lnd] Roasbeef pushed 2 new commits to master: https://git.io/fNAt2 16:49 -github-lnd:#lnd- lnd/master 0ae2683 f: lncli: add confirmPayreq used when paying 16:49 -github-lnd:#lnd- lnd/master 999f4a7 Olaoluwa Osuntokun: Merge pull request #1460 from rawtxapp/lncli-confirm-payreq... 17:02 < savoir-faire13> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ 17:11 -github-lnd:#lnd- [lnd] Roasbeef closed pull request #1070: payments+switch: add sender-side check to not pay same preimage twice (master...sender_check) https://git.io/vxdp5 17:21 -!- bryanvu [~bryanvu@64-71-8-130.static.wiline.com] has joined #lnd 17:28 -!- mode/#lnd [-r] by roasbeef 17:29 -!- lndbot [~lndbot@138.197.213.35] has joined #lnd 17:30 < bryanvu> testing slackbot... 17:30 < lndbot> test 17:30 <@roasbeef> test 17:35 < lndbot> yay 17:36 < lndbot> roasbeef broke the bot! lol 17:36 -!- lndbot [~lndbot@138.197.213.35] has quit [Remote host closed the connection] 17:37 -!- lndbot [~lndbot@138.197.213.35] has joined #lnd 17:54 -!- lndbot [~lndbot@138.197.213.35] has quit [Remote host closed the connection] 17:55 -!- lndbot [~lndbot@138.197.213.35] has joined #lnd 18:07 -!- photonclock [~photonclo@47.37.153.193] has joined #lnd 18:08 -!- qxt [~qxt@unaffiliated/qxt] has quit [Quit: Leaving] 18:21 -!- bryanvu [~bryanvu@64-71-8-130.static.wiline.com] has quit [Ping timeout: 272 seconds] 18:23 -!- bryanvu [~bryanvu@64-71-8-130.static.wiline.com] has joined #lnd 18:24 -!- photonclock [~photonclo@47.37.153.193] has quit [Quit: photonclock] 18:31 -!- bryanvu [~bryanvu@64-71-8-130.static.wiline.com] has quit [Ping timeout: 260 seconds] 19:25 -!- Xantanium [~Xantanium@ip-149-248-188-83.fibre.fibrestream.ca] has joined #lnd 19:43 -!- RyanKnack15 [~RyanKnack@58.146.199.143] has joined #lnd 19:47 -!- Sigals [~Sigals@111.246.129.147] has joined #lnd 19:48 -!- RyanKnack15 [~RyanKnack@58.146.199.143] has quit [Remote host closed the connection] 19:51 -!- peevsie [~peevsie@2604:2000:f18f:e300::2] has joined #lnd 19:51 -!- Sigals [~Sigals@111.246.129.147] has quit [Remote host closed the connection] 19:59 -!- peevsie [~peevsie@2604:2000:f18f:e300::2] has quit [Quit: WeeChat 2.2] 20:16 -!- oxba [67d0dc86@gateway/web/freenode/ip.103.208.220.134] has joined #lnd 20:44 <@roasbeef> good bots, bad bots, you bot, I bot, it's all the same really 20:45 < lndbot> you bot, i bot, we're all bots? 20:45 <@roasbeef> exactly. 20:45 <@roasbeef> tranquility obtained. 20:46 < molz> lol 20:48 -github-neutrino:#lnd- [neutrino] Roasbeef opened pull request #86: rescan: use proper chan for filter re-fetch retries, close rescan loop if blocks are missed (master...rescan-proper-retry) https://git.io/fNAZx 20:51 -!- node9 [~node9@119.35.58.51] has joined #lnd 20:52 -!- node9 [~node9@119.35.58.51] has quit [Read error: Connection reset by peer] 21:31 -!- bsanford14 [~bsanford@179.124.17.168] has joined #lnd 21:32 -!- bsanford14 [~bsanford@179.124.17.168] has quit [Killed (Sigyn (Spam is off topic on freenode.))] 21:58 -!- Adbray18 [~Adbray@175.175.7.71] has joined #lnd 21:59 -!- Adbray18 [~Adbray@175.175.7.71] has quit [Remote host closed the connection] 22:37 -!- gethh [uid264798@gateway/web/irccloud.com/x-shhfxwrasvtodpjt] has quit [Quit: Connection closed for inactivity] 22:50 -!- thevdude26 [~thevdude@118.118.169.148] has joined #lnd 22:51 -!- thevdude26 [~thevdude@118.118.169.148] has quit [Remote host closed the connection] 22:52 <@roasbeef> ahh spam 22:52 * roasbeef breathes it in 22:52 -!- mode/#lnd [+r] by roasbeef 22:56 -!- oxba [67d0dc86@gateway/web/freenode/ip.103.208.220.134] has quit [Ping timeout: 252 seconds] 23:19 -!- gethh [uid264798@gateway/web/irccloud.com/x-lmxezssbaphmetnu] has joined #lnd 23:35 -!- Styil [Styil@gateway/vpn/privateinternetaccess/styil] has quit [Remote host closed the connection] 23:49 -!- dave_uy [~dave_uy@108.61.193.26] has quit [Quit: The Lounge - https://thelounge.github.io] 23:50 -!- dave_uy [~dave_uy@108.61.193.26] has joined #lnd 23:52 < ephemer0l_> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­