--- Log opened Sat Dec 07 00:00:30 2019 02:06 -!- t0mix [~t0mix@78-141-123-99.dynamic.orange.sk] has quit [Ping timeout: 244 seconds] 02:06 < darosior> rusty: sorry for all those quirks with rpc_command ... 02:06 < darosior> MrHash: I'll check it out 02:22 < darosior> MrHash: if you are into processing notifications in case of failure, have you looked into https://lightning.readthedocs.io/PLUGINS.html#db-write for database backup ? 02:37 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Ping timeout: 250 seconds] 03:12 -!- reallll [~belcher@unaffiliated/belcher] has joined #c-lightning 03:13 < MrHash> darosior: i think that's a hook right? i'd say that's better for machine backup. the notification relay is for consumer application failure. if your app goes down and misses invoice payments then durable queuing solves that problem 03:13 < darosior> Yep that's a hook 03:14 < darosior> Ah ok 03:16 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 268 seconds] 03:34 -!- jonatack [~jon@213.152.162.154] has joined #c-lightning 03:50 < sword_smith> I understand that the biggest channels that can be opened are on 0.16 BTC. Is that a protocol standard or just a limit put into c-lightning? 03:55 < sword_smith> I couldn't find anything from a quick search in the RFC or in the c-lightning code. 04:11 < fiatjaf> sword_smith, https://ln.bigsun.xyz/channel/604442x960x0 04:17 < darosior> sword_smith: It's in the RFC 04:17 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has quit [Remote host closed the connection] 04:18 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has joined #c-lightning 04:23 < darosior> sword_smith: https://github.com/lightningnetwork/lightning-rfc/blob/master/02-peer-protocol.md#requirements 04:53 -!- m-schmoock [~will@schmoock.net] has joined #c-lightning 05:04 -!- dr-orlovsky [~dr-orlovs@194.230.155.171] has quit [Quit: My MacBook has gone to sleep. ZZZzzz...] 05:13 -!- t0mix [~t0mix@78-141-123-99.dynamic.orange.sk] has joined #c-lightning 05:20 < m-schmoock> cdecker: turns out that in order to see remote channels when testing, you need some bitcoind.generate_block(). I am confused why a channel turns locally active without and gossip is only able to see a channel remotely when we generated some blocks. Ideas? 05:20 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 05:22 -!- reallll is now known as belcher 05:46 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-nfufoseoysnzgsxq] has left #c-lightning [] 05:47 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-nfufoseoysnzgsxq] has joined #c-lightning 06:18 < m-schmoock> I updated the PR to show exactly this: https://github.com/ElementsProject/lightning/pull/3321 06:19 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #c-lightning 06:29 -!- jonatack [~jon@213.152.162.154] has quit [Ping timeout: 268 seconds] 06:45 <@cdecker> m-schmoock: the channel can be locally active once it reaches the agreed upon funding depth (that's negotiated between the pees and is usually 2 blocks), but in order for it to be valid from the PoV of other nodes in the network it needs 6 confirmations 06:45 <@cdecker> That's one of the gossip rules we agreed upon globally. Local active needs only the approval of the endpoints 06:47 -!- dr-orlovsky [~dr-orlovs@194.230.155.171] has joined #c-lightning 07:08 -!- belcher [~belcher@unaffiliated/belcher] has quit [Quit: Leaving] 07:17 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 08:06 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #c-lightning 09:10 -!- MrHash [~mrhash@host31-54-194-75.range31-54.btcentralplus.com] has quit [Read error: Connection reset by peer] 09:18 < m-schmoock> cdecker: thanks for the clarification, will close the test-PR 09:18 < m-schmoock> so whenever I do some gossip routing stuff I make sure to generate_block(6) before asking gossip to do anything 09:19 < m-schmoock> I was not aware of this behaviour 09:57 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Ping timeout: 260 seconds] 09:59 -!- MrHash [~mrhash@host31-54-194-75.range31-54.btcentralplus.com] has joined #c-lightning 10:04 -!- jonatack [~jon@37.172.121.201] has joined #c-lightning 10:56 -!- jonatack [~jon@37.172.121.201] has quit [Read error: Connection reset by peer] 11:03 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 276 seconds] 11:17 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 11:28 -!- belcher [~belcher@unaffiliated/belcher] has joined #c-lightning 11:53 < m-schmoock> the plugin tests now seem to work for me, will add testing for my plugins soon 11:54 < m-schmoock> how can I run them locally btw? running pytest manually wont start the regtest bitcoind dependencies (for me) 12:07 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Ping timeout: 250 seconds] 12:08 <@cdecker> Hm, strange, is `bitcoind` in the $PATH? 12:09 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 12:14 <@cdecker> You can also have line_graph or fundchannel generate the blocks btw (wait_for_announce=True) that way you don't need to remember how to generate blocks :-) 12:58 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined #c-lightning 12:58 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Client Quit] 12:59 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined #c-lightning 13:56 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 13:57 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-nfufoseoysnzgsxq] has left #c-lightning [] 13:57 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-nfufoseoysnzgsxq] has joined #c-lightning 14:10 -!- justan0theruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 14:13 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 250 seconds] 14:23 < m-schmoock> i know, thats why I figured the fund_channel option was missing for pyln fund_channel ;) 14:23 < m-schmoock> aehm announce_channel was missing for fund_channel 14:24 < m-schmoock> yes, I have bitcoind in the path. how do you start plugin tests locally (exactly) just setting PYTHONPATH properly, or additional stuff? 14:26 -!- justan0theruser is now known as justanotheruser 14:29 < m-schmoock> cdecker: now it seem to also work for me by just using plugin tests like this, don't know what was going on last time: pytest -v drain/test_drain.py 14:29 < m-schmoock> :D 14:31 < m-schmoock> I would just point out how to run plugin test locally and how tests need to be named and strucutured in the README.md . Other than that the PR is fine, love it 14:31 < m-schmoock> I already discovered a zero division in my plugin that was otherwise untested <3 14:32 < m-schmoock> gn 14:32 < m-schmoock> 8 14:34 -!- Amperture [~amp@65.79.129.113] has quit [Remote host closed the connection] 15:26 -!- vincenzopalazzo [~vincenzop@host131-10-dynamic.53-79-r.retail.telecomitalia.it] has joined #c-lightning 15:27 -!- vincenzopalazzo [~vincenzop@host131-10-dynamic.53-79-r.retail.telecomitalia.it] has quit [Client Quit] 15:29 -!- vincenzopalazzo [~vincenzop@host131-10-dynamic.53-79-r.retail.telecomitalia.it] has joined #c-lightning 15:36 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 265 seconds] 15:40 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 15:41 < rusty> darosior: all good, I have 20 minutes to prepare my talk now it's all working :) 15:45 -!- vincenzopalazzo [~vincenzop@host131-10-dynamic.53-79-r.retail.telecomitalia.it] has quit [Quit: Leaving] 17:11 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 240 seconds] 18:14 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 19:05 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 21:47 -!- lowentropy [~lowentrop@gateway/tor-sasl/lowentropy] has quit [Remote host closed the connection] 21:47 -!- lowentropy [~lowentrop@gateway/tor-sasl/lowentropy] has joined #c-lightning 22:28 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 265 seconds] 22:31 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-nfufoseoysnzgsxq] has left #c-lightning [] 22:32 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-nfufoseoysnzgsxq] has joined #c-lightning 22:34 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning --- Log closed Sun Dec 08 00:00:31 2019