--- Log opened Wed Feb 05 00:00:30 2020 00:12 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Quit: jonatack] 00:40 -!- afk11 [~afk11@gateway/tor-sasl/afk11] has quit [Remote host closed the connection] 00:41 -!- afk11 [~afk11@gateway/tor-sasl/afk11] has joined #c-lightning 01:04 -!- jonatack [~jon@109.232.227.138] has joined #c-lightning 02:38 -!- midnight [~midnightm@unaffiliated/midnightmagic] has quit [Ping timeout: 248 seconds] 02:43 -!- midnightmagic [~midnightm@unaffiliated/midnightmagic] has joined #c-lightning 02:46 -!- jonatack [~jon@109.232.227.138] has quit [Ping timeout: 272 seconds] 03:00 -!- jonasschnelli [~jonasschn@unaffiliated/jonasschnelli] has joined #c-lightning 03:17 -!- afk11 [~afk11@gateway/tor-sasl/afk11] has quit [Remote host closed the connection] 03:17 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has quit [Read error: Connection reset by peer] 03:17 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Write error: Connection reset by peer] 03:17 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has quit [Write error: Connection reset by peer] 03:17 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Write error: Connection reset by peer] 03:17 -!- cryptoso- [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Read error: Connection reset by peer] 03:17 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Write error: Connection reset by peer] 03:17 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #c-lightning 03:17 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 03:20 -!- afk11 [~afk11@gateway/tor-sasl/afk11] has joined #c-lightning 03:26 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Ping timeout: 268 seconds] 03:28 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 03:38 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has joined #c-lightning 03:43 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined #c-lightning 03:48 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 03:50 -!- Victor_sueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 03:50 <@cdecker> Yes, that's a bit of an issue there, I also found quite a few instances of `os.getcwd()` which would point to the project root in tests that are in the `tests` subdir 03:50 <@cdecker> Just to be sure I usually use `os.path.dirname(__file__)` which is always absolute 03:51 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Ping timeout: 248 seconds] 03:52 -!- Victor_sueca [~Victorsue@unaffiliated/victorsueca] has quit [Client Quit] 05:16 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 05:16 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #c-lightning 05:28 < PaulTroon> cdecker: thanks for creating a case to unify the Android build efforts. I think I'll close my case and refer to the green wallet bitcoin_ndk project. 05:28 < PaulTroon> I was successfully able to compile and run clightning on my phone a few minutes ago. 05:29 < PaulTroon> well- cross-compiled on PC and then run on phone via adb shell 05:30 <@cdecker> That's great news, thanks 05:30 <@cdecker> Maybe you could write up your experience briefly in that issue so we can collect reports and see how we can make it easier 05:31 < PaulTroon> Will do - most of my issues were solved (I think) by making sure the docker image had enough memory and HD. 05:31 < PaulTroon> I also had to limit it to just the arch I was interested in. I'll put my notes in a writeup. 05:37 -!- vincenzopalazzo [~vincent@host235-64-dynamic.249-95-r.retail.telecomitalia.it] has joined #c-lightning 05:41 -!- vincenzopalazzo [~vincent@host235-64-dynamic.249-95-r.retail.telecomitalia.it] has quit [Ping timeout: 248 seconds] 06:05 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 06:08 -!- justan0theruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 265 seconds] 07:22 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-zkjjaoqsjfattawp] has left #c-lightning [] 07:22 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-zkjjaoqsjfattawp] has joined #c-lightning 07:27 -!- DC34 [c4340230@ip-48-2-52-196.nyc.us.northamericancoax.com] has joined #c-lightning 07:31 -!- DC34 [c4340230@ip-48-2-52-196.nyc.us.northamericancoax.com] has quit [Remote host closed the connection] 07:34 -!- mdunnio [~mdunnio@38.126.31.226] has joined #c-lightning 07:39 < darosior> What it the rationale for test_bitcoind_fail_first ? 07:40 < darosior> https://github.com/ElementsProject/lightning/blob/master/tests/test_misc.py#L1636 07:40 < darosior> I don't see the rationale in the commented issue 07:41 < darosior> It fails on my Bitcoin plugin branch but ... I want it to fail in this case ! 07:46 * darosior moves this to https://github.com/ElementsProject/lightning/issues/3354 .. 07:51 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 07:57 * darosior should use his brain before crying on IRC 09:10 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has joined #c-lightning 09:34 -!- PaulTroon [~paultroon@h-5-150-248-150.NA.cust.bahnhof.se] has quit [Remote host closed the connection] 09:35 -!- PaulTroon [~paultroon@h-5-150-248-150.NA.cust.bahnhof.se] has joined #c-lightning 09:37 -!- DC34 [c4340230@ip-48-2-52-196.nyc.us.northamericancoax.com] has joined #c-lightning 09:40 -!- PaulTroon [~paultroon@h-5-150-248-150.NA.cust.bahnhof.se] has quit [Ping timeout: 260 seconds] 10:33 -!- PaulTroon [~paultroon@h-5-150-248-150.NA.cust.bahnhof.se] has joined #c-lightning 11:31 -!- DC34 [c4340230@ip-48-2-52-196.nyc.us.northamericancoax.com] has quit [Remote host closed the connection] 11:33 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 11:59 < rusty> So, turns out we ask gossipd every time we want to forward an HTLC. Kinda dumb, but with the addition of temporary assigned scids, it gets extra weird. So I 11:59 < rusty> m going to have to bite the bullet and remove that; tricky because we abused that to get the latest gossip channel_update in case we need to send an error: now we need to do that at various points and of course it's an async operation. 12:10 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 12:13 -!- PaulTroon [~paultroon@h-5-150-248-150.NA.cust.bahnhof.se] has quit [Remote host closed the connection] 14:13 -!- PaulTroon [~paultroon@h-5-150-248-150.NA.cust.bahnhof.se] has joined #c-lightning 14:18 -!- PaulTroon [~paultroon@h-5-150-248-150.NA.cust.bahnhof.se] has quit [Ping timeout: 240 seconds] 15:08 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 15:10 -!- spaced0ut [~spaced0ut@unaffiliated/spaced0ut] has joined #c-lightning 15:21 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 15:33 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-zkjjaoqsjfattawp] has left #c-lightning [] 15:33 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-zkjjaoqsjfattawp] has joined #c-lightning 15:49 -!- Amperture [~amp@65.79.129.113] has quit [Remote host closed the connection] 16:15 -!- PaulTroon [~paultroon@h-5-150-248-150.NA.cust.bahnhof.se] has joined #c-lightning 16:19 -!- PaulTroon [~paultroon@h-5-150-248-150.NA.cust.bahnhof.se] has quit [Ping timeout: 260 seconds] 16:21 -!- CubicEarth [~CubicEart@c-67-168-1-172.hsd1.wa.comcast.net] has quit [Ping timeout: 272 seconds] 16:21 -!- spaced0ut [~spaced0ut@unaffiliated/spaced0ut] has quit [Ping timeout: 272 seconds] 16:21 -!- m-schmoock [~will@schmoock.net] has quit [Ping timeout: 272 seconds] 16:23 -!- CubicEarth [~CubicEart@c-67-168-1-172.hsd1.wa.comcast.net] has joined #c-lightning 16:25 -!- wallet42 [sid154231@gateway/web/irccloud.com/x-zazecsxbjhjdwgpy] has quit [Read error: Connection reset by peer] 16:25 -!- fjahr [sid374480@gateway/web/irccloud.com/x-efkrfktxtctjelbc] has quit [Read error: Connection reset by peer] 16:25 -!- fjahr [sid374480@gateway/web/irccloud.com/x-zxgqlsemucmslilt] has joined #c-lightning 16:25 -!- wallet42 [sid154231@gateway/web/irccloud.com/x-tllizksysaqzfojk] has joined #c-lightning 17:11 -!- rotarydialer [~rotarydia@unaffiliated/rotarydialer] has quit [Ping timeout: 265 seconds] 17:15 -!- rotarydialer [~rotarydia@unaffiliated/rotarydialer] has joined #c-lightning 17:28 -!- zmnscpxj [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has joined #c-lightning 18:21 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has quit [Remote host closed the connection] 18:21 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has joined #c-lightning 20:16 -!- PaulTroon [~paultroon@h-5-150-248-150.NA.cust.bahnhof.se] has joined #c-lightning 20:21 -!- PaulTroon [~paultroon@h-5-150-248-150.NA.cust.bahnhof.se] has quit [Ping timeout: 260 seconds] 21:43 < zmnscpxj> cdecker, rusty: just how invasive is `db_write`? Can we perform `signmessage` et al inside `db_write` hook? 21:44 < rusty> zmnscpxj: no :( It's the worst possible hook. 21:44 < rusty> zmnscpxj: the entire lightningd is blocked waiting, almost by definition. 21:44 < zmnscpxj> And it can happen before `init` right? 21:44 < rusty> zmnscpxj: yeah.... it's nasty. 21:44 < zmnscpxj> Meaning options are not accessible at the time of the first `db_write`? 21:44 < zmnscpxj> The only thing you can depend on is that `getmanifest` gets called first? 21:45 < rusty> Not even that! We do db upgrades first, IIRC. The standard is to cache them until you've done init. 21:45 < rusty> (Hmm, maybe we internally buffer these days, I'd have to test) 21:45 < zmnscpxj> "standard" === ? 21:45 < rusty> zmnscpxj: a.k.a hacky workaround :) 21:46 < zmnscpxj> You have my sincere approval 21:47 < zmnscpxj> Wait what? `getmanifest` is the point at which the plugin tells `lightningd` about its interest in `db_write`. 21:47 < zmnscpxj> So logically it cannot receive `db_write` before `getmanifest`..... right? 21:49 < rusty> zmnscpxj: hmm, yes. It caches the db_writes to send until it finds the hook, IIRC. 21:49 < zmnscpxj> Hmmm. That makes hook chaining hard.... 21:51 < zmnscpxj> Postgres > `db_write` ? 21:52 < rusty> Chaining db_write hooks is particularly tricky. They're kind of special (in fact, they're done manually). Maybe skip that in the first cut? 21:53 < zmnscpxj> I guess 22:17 -!- PaulTroon [~paultroon@h-5-150-248-150.NA.cust.bahnhof.se] has joined #c-lightning 22:22 -!- PaulTroon [~paultroon@h-5-150-248-150.NA.cust.bahnhof.se] has quit [Ping timeout: 260 seconds] 22:37 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 22:41 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has quit [Remote host closed the connection] 23:53 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-zkjjaoqsjfattawp] has left #c-lightning [] 23:53 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-zkjjaoqsjfattawp] has joined #c-lightning 23:57 -!- m-schmoock [~will@schmoock.net] has joined #c-lightning --- Log closed Thu Feb 06 00:00:31 2020