--- Day changed Fri May 12 2017 00:17 -!- BashCo [~BashCo@unaffiliated/bashco] has joined #lightning-dev 00:33 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has quit [Ping timeout: 260 seconds] 00:49 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has joined #lightning-dev 01:16 -!- JackH [~laptop@79-73-189-229.dynamic.dsl.as9105.com] has joined #lightning-dev 01:38 -!- jannes [~jannes@095-097-246-234.static.chello.nl] has joined #lightning-dev 01:47 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has quit [Ping timeout: 264 seconds] 01:50 -!- BashCo [~BashCo@unaffiliated/bashco] has quit [Ping timeout: 240 seconds] 01:53 -!- BashCo [~BashCo@unaffiliated/bashco] has joined #lightning-dev 02:13 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has joined #lightning-dev 03:01 -!- shesek [~shesek@unaffiliated/shesek] has joined #lightning-dev 03:37 < renlord> is it possible to setup pegged cross-chain channels now that there's lightning on litecoin and eventually bitcoin? 03:51 < anthonyjd> eventually 03:52 < anthonyjd> needs transaction malleability fixed, not lightning, though 04:22 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has quit [Ping timeout: 268 seconds] 04:47 -!- pm [~pm@11.46-14-84.ripe.coltfrance.com] has joined #lightning-dev 04:56 < cdecker> anthonyjd, right BOLT 6 is only there for documentation, BOLT 7 is the long term fix 05:01 < anthonyjd> In lnd's implementation of BOLT 7, features comes after addresses, and the format of address isn't addrlen (length in bytes) followed by addresses. The format of addresses they use addrlen=number of addresses. I guess their format makes more sense but https://github.com/lightningnetwork/lightning-rfc/blob/master/07-routing-gossip.md says the creating node "must set addrlen to the number of bytes in addresses" 05:01 < anthonyjd> Why addresses and features are flipped by lnd I'm not sure. 05:09 < anthonyjd> (in node_announcement) 05:24 -!- anthonyjd [~Anthony@2001:470:daef:e1e1:27a3:b8c8:9db:79f6] has quit [Quit: Leaving] 05:25 -!- ajd_ [~Anthony@2001:470:daef:e1e1:27a3:b8c8:9db:79f6] has joined #lightning-dev 05:31 < cdecker> Dunno, doesn't change too much though 05:32 < cdecker> The reason we have addrlen is that it allows us to introduce new address types without breaking nodes 05:32 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has joined #lightning-dev 05:33 < cdecker> If we don't know the address type then we just skip the remainder of the field, if we were to just list the addresses we would have to skip the remainder of the entire message bc we wouldn't know how much of it is still addresses we can't parse 05:37 < ajd_> makes sense...can't do that with just the number of addresses if you don't know all the types; unless you have it as the last field like they do :) 05:38 < ajd_> Only really matters because I'm trying to implement my own node implementation in node.js and I have to go to a bunch of different places to try to figure out the spec 05:39 < ajd_> oh wait nvm about it being the last field, it isn't in their implementation 06:03 -!- laurentmt [~Thunderbi@176.158.157.202] has joined #lightning-dev 06:04 -!- laurentmt [~Thunderbi@176.158.157.202] has quit [Client Quit] 06:09 < renlord> is ./daemon/lightningd meant to work? I was only able to get ./lightning/lightningd to work instead. 06:12 < renlord> ah. never mind. 06:40 -!- laurentmt [~Thunderbi@176.158.157.202] has joined #lightning-dev 06:42 -!- Sprh [~Sprh@12.20.48.10] has joined #lightning-dev 08:12 -!- laurentmt [~Thunderbi@176.158.157.202] has quit [Quit: laurentmt] 08:19 -!- Sprh [~Sprh@12.20.48.10] has quit [Read error: Connection reset by peer] 08:28 -!- BashCo [~BashCo@unaffiliated/bashco] has quit [Ping timeout: 260 seconds] 08:30 -!- pm [~pm@11.46-14-84.ripe.coltfrance.com] has quit [Quit: Leaving] 08:36 < cdecker> daemon/lightningd is the legacy daemon that'll be removed soon 08:36 -!- deusexbeer [~deusexbee@093-092-180-012-dynamic-pool-adsl.wbt.ru] has quit [Ping timeout: 260 seconds] 08:37 -!- deusexbeer [~deusexbee@093-092-178-228-dynamic-pool-adsl.wbt.ru] has joined #lightning-dev 08:43 -!- abpa [~abpa@96-82-80-28-static.hfc.comcastbusiness.net] has joined #lightning-dev 08:51 -!- BashCo [~BashCo@unaffiliated/bashco] has joined #lightning-dev 09:18 < JackH> cdecker, is there a lightningd ready for people to download and play with yet? 09:18 < JackH> even if its alpha 09:21 < cdecker> Currently you still need to compile from source 09:28 -!- laurentmt [~Thunderbi@176.158.157.202] has joined #lightning-dev 09:32 -!- laurentmt [~Thunderbi@176.158.157.202] has quit [Client Quit] 09:40 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has quit [Ping timeout: 240 seconds] 10:06 -!- starkness [~starkness@104-193-168-51.PUBLIC.monkeybrains.net] has joined #lightning-dev 10:09 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has joined #lightning-dev 10:11 -!- mol [~molly@unaffiliated/molly] has joined #lightning-dev 10:15 -!- moli_ [~molly@unaffiliated/molly] has quit [Ping timeout: 260 seconds] 10:27 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has quit [Ping timeout: 245 seconds] 11:34 -!- laurentmt [~Thunderbi@176.158.157.202] has joined #lightning-dev 11:34 -!- laurentmt [~Thunderbi@176.158.157.202] has quit [Client Quit] 11:39 <+roasbeef> ajd_: not sure what you're referring to, the addreses are the last field in the node annoucnement in lnd 11:40 <+roasbeef> ajd_: heh, just be ware making a node isn't exactly a work in the park, you reaaaaally need to get persistence correct to ensure safety 12:41 < ajd_> haha, safety can come later....I've managed to get BOLT #8 working without any Noise libraries working, though. Almost working, maybe I should say. I'm not doing the key rotation yet. 12:45 < ajd_> 01015a24e433590f527d39c5fe3f762dc1d4d35d24c078f265f1df531a6f8b1a834a0fa4ea0abb9f627b43e7c40632bb3bf9eb700f53098ebbcd4038ecbe46a3683c5913eb95036a0c5ea35df8a528b98edf6f290b28676d51d0fe202b073fe677612a39c0aa0900000030333661306335656133356466386135323862390000000000000000000000000001019fcb7d7d16180000 12:45 < ajd_> node 036a0c5ea35df8a528b98edf6f290b28676d51d0fe202b073fe677612a39c0aa09@159.203.125.125:5656 12:45 < ajd_> 01019fcb7d7d1618 comes before 0000 12:48 <+roasbeef> ajd_: nice! don't think any of the other implementaions use a noise library either 12:48 <+roasbeef> we may modify the key rotation scheme in 1.1 though, talked with trevor a bit, he gives our current scheme a head nod but suggested a more efficieent once that uses a special nonce value in the spec I didn't know existed when I drafted bolt8 12:49 <+roasbeef> will prob make an issue to track it later today 12:50 < ajd_> cool maybe I'll hold off on that 12:56 -!- ajd_ [~Anthony@2001:470:daef:e1e1:27a3:b8c8:9db:79f6] has left #lightning-dev ["Leaving"] 12:56 -!- ajd_ [~Anthony@2001:470:daef:e1e1:27a3:b8c8:9db:79f6] has joined #lightning-dev 12:56 -!- ajd_ [~Anthony@2001:470:daef:e1e1:27a3:b8c8:9db:79f6] has left #lightning-dev ["Leaving"] 12:56 -!- ajd_ [~Anthony@2001:470:daef:e1e1:27a3:b8c8:9db:79f6] has joined #lightning-dev 12:56 < ajd_> https://github.com/lightningnetwork/lnd/blob/2f08337ccd0b22619344d8a357faa8f8a018fab3/lnwire/node_announcement.go 12:56 < ajd_> Encode and Decode put Features last 12:57 < ajd_> The Struct puts Addresses last 12:59 < ajd_> maybe I should open an issue, as it seems to be unintentional 13:11 < ajd_> roasbeef: https://github.com/lightningnetwork/lnd/issues/207 okay it looks like it's doing it differently between the spec and the code but if I'm wrong sorry 14:08 <+roasbeef> ajd_: ahh, yeh you're right, thanks! will fix shortly 14:10 < TD-Linux> oh I didn't realize daemon/lightningd was deprecated 14:11 < TD-Linux> explains why it still worked with my old code :) 14:30 -!- jannes [~jannes@095-097-246-234.static.chello.nl] has quit [Remote host closed the connection] 15:24 < renlord> odd, i got daemon/lightningd working after I recreated $HOME/.lightning, gave me 6 nodes from getnodes, but with lightning/lightningd, I don't see any nodes. Is that expected? 15:32 -!- starkness [~starkness@104-193-168-51.PUBLIC.monkeybrains.net] has quit [Quit: starkness] 15:33 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has joined #lightning-dev 15:34 -!- starkness [~starkness@104-193-168-51.PUBLIC.monkeybrains.net] has joined #lightning-dev 15:51 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has quit [Ping timeout: 272 seconds] 15:56 -!- laurentmt [~Thunderbi@176.158.157.202] has joined #lightning-dev 15:57 -!- laurentmt [~Thunderbi@176.158.157.202] has quit [Client Quit] 16:00 -!- starkness [~starkness@104-193-168-51.PUBLIC.monkeybrains.net] has quit [Quit: starkness] 16:15 -!- abpa [~abpa@96-82-80-28-static.hfc.comcastbusiness.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 16:21 -!- PaulCape_ [~PaulCapes@2604:5500:17:2ea:79c9:619b:e829:1fa6] has joined #lightning-dev 16:23 -!- PaulCapestany [~PaulCapes@2604:5500:17:2ea:4db6:b6bb:1721:1fe3] has quit [Ping timeout: 255 seconds] 16:24 -!- starkness [~starkness@199.116.72.155] has joined #lightning-dev 16:35 <+roasbeef> renlord: iirc one of those is deprecated as they work on a major refactoring to the design of the daemon 17:47 -!- PaulCape_ [~PaulCapes@2604:5500:17:2ea:79c9:619b:e829:1fa6] has quit [Quit: .] 17:48 -!- PaulCapestany [~PaulCapes@2604:5500:17:2ea:79c9:619b:e829:1fa6] has joined #lightning-dev 18:45 -!- JackH [~laptop@79-73-189-229.dynamic.dsl.as9105.com] has quit [Ping timeout: 258 seconds] 19:33 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-sbibnlgefajgorpk] has quit [Quit: Connection closed for inactivity] 19:40 -!- starkness [~starkness@199.116.72.155] has quit [Quit: starkness] 20:37 -!- dabura667 [uid43070@gateway/web/irccloud.com/x-sqcnfhtxwqbddazd] has joined #lightning-dev 21:17 -!- mol [~molly@unaffiliated/molly] has quit [Ping timeout: 240 seconds] 21:19 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has joined #lightning-dev 21:22 -!- moli_ [~molly@unaffiliated/molly] has joined #lightning-dev 21:36 -!- takayaimai [~takayaima@p4296241-ipngn24901marunouchi.tokyo.ocn.ne.jp] has joined #lightning-dev 21:50 -!- takayaimai [~takayaima@p4296241-ipngn24901marunouchi.tokyo.ocn.ne.jp] has quit [Remote host closed the connection] 21:55 -!- takayaimai [~takayaima@p4296241-ipngn24901marunouchi.tokyo.ocn.ne.jp] has joined #lightning-dev 21:56 -!- starkness [~starkness@104-193-168-51.PUBLIC.monkeybrains.net] has joined #lightning-dev 22:20 -!- takayaimai [~takayaima@p4296241-ipngn24901marunouchi.tokyo.ocn.ne.jp] has quit [Remote host closed the connection] 22:47 -!- dabura667 [uid43070@gateway/web/irccloud.com/x-sqcnfhtxwqbddazd] has quit [Quit: Connection closed for inactivity] 23:05 -!- takayaimai [~takayaima@p4296241-ipngn24901marunouchi.tokyo.ocn.ne.jp] has joined #lightning-dev 23:06 -!- takayaimai [~takayaima@p4296241-ipngn24901marunouchi.tokyo.ocn.ne.jp] has quit [Remote host closed the connection] 23:19 -!- starkness [~starkness@104-193-168-51.PUBLIC.monkeybrains.net] has quit [Quit: starkness] 23:33 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has quit [Ping timeout: 240 seconds]