--- Log opened Tue Jul 07 00:00:13 2020 00:03 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Remote host closed the connection] 00:06 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 00:30 -!- dr-orlovsky [~dr-orlovs@adsl-62-167-101-63.adslplus.ch] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 00:30 -!- dr-orlovsky [~dr-orlovs@adsl-62-167-101-63.adslplus.ch] has joined #c-lightning 00:57 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 01:28 -!- queip [~queip@unaffiliated/rezurus] has quit [Quit: bye, freenode] 01:32 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 03:15 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has joined #c-lightning 03:18 < Barno> hello to everyone, I', studyng lightning network with c-lightning. I use regtest env and I have 2 nodes, l1 and l2. l2 creates and invoice and l1 pays it. Now, i want to use hsmtool dumpcommitments because I want to understand how can I cheat. in hsmtool l1 node id, db index channel (1) and depth (I don't understant what is it) 0. the whole command is ./hsmtool dumpcommitments 022f495a897360fdd287f7a823302479e62856e47727c0c 03:18 < Barno> 8c9688faf45f4a92aac 1 0 But I don't receive any result, I get the "helper" 03:19 < zmnscpxj_> depth is number of commitments, and should be non-0 03:19 < zmnscpxj_> number of updates in the channel state 03:21 < Barno> hello @zmnscpxj_ and thanks, I just did 1 invoice, then I depth is 1. I tried again with ./hsmtool dumpcommitments 022f495a897360fdd287f7a823302479e62856e47727c0c8c9688faf45f4a92aac 1 1 but without result 03:23 < zmnscpxj_> What does it print? 03:23 < zmnscpxj_> 1 invoice takes 2 updates btw 03:23 < zmnscpxj_> at minimum 03:23 < Barno> print the helper, like ./hsmtool without any parameters 03:24 < zmnscpxj_> Did you specify the path to your `hsm_secret` file? 03:24 < zmnscpxj_> That goes after depth 03:25 < Barno> yep, the whole command is ./hsmtool dumpcommitments 022f495a897360fdd287f7a823302479e62856e47727c0c8c9688faf45f4a92aac 1 1 /tmp/l1-regtest/regtest/hsm_secret (sorry I forget to paste before), The pub key is the pub key of l1 node 03:27 < zmnscpxj_> erk. looks like an actual bug. We assume the `hsm_secret` always has a password! 03:27 < zmnscpxj_> so the reason it is sending you to the helper is because it is expecting a password argument 03:27 < zmnscpxj_> but that is supposed to be optional 03:27 < zmnscpxj_> we forgot to make it optional lelz 03:27 < zmnscpxj_> lemme fix. 03:29 < Barno> thanks :) 03:29 < Barno> I put a password and test again 03:30 < zmnscpxj_> Only put a password if you are using an encrypted `hsm_secret`. 03:30 < Barno> yep 03:30 < zmnscpxj_> empty "" password is not same as no password 03:30 < Barno> ok i put a password for test and it works. Now I try with node l2 without a password 03:30 < zmnscpxj_> I also strongly suggest that you encrypt/decrypt `hsm_secret` if and only if the node is not running 03:31 < zmnscpxj_> should use the same password 03:31 < zmnscpxj_> note that what hsmtool is using is the `hsm_secret` 03:33 < Barno> ok thanks for now, I did other tests to understand how it works. thanks ! 03:36 < zmnscpxj_> https://github.com/ElementsProject/lightning/pull/3822 03:39 < Barno> what an honor! with my name, thanks! 03:52 -!- reallll [~belcher@unaffiliated/belcher] has joined #c-lightning 03:55 -!- belcher_ [~belcher@unaffiliated/belcher] has quit [Ping timeout: 246 seconds] 03:57 -!- reallll is now known as belcher 04:09 -!- dr-orlovsky [~dr-orlovs@adsl-62-167-101-63.adslplus.ch] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 04:30 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 04:34 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 04:34 -!- vasild_ is now known as vasild 05:47 -!- queip [~queip@unaffiliated/rezurus] has quit [Quit: bye, freenode] 05:49 -!- queip [~queip@unaffiliated/rezurus] has joined #c-lightning 06:00 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 246 seconds] 06:26 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Quit: jonatack] 06:30 -!- mdunnio [~mdunnio@208.59.170.5] has joined #c-lightning 06:31 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined #c-lightning 06:35 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 06:42 -!- dr-orlovsky [~dr-orlovs@194.230.155.196] has joined #c-lightning 06:46 -!- dr-orlovsky [~dr-orlovs@194.230.155.196] has quit [Client Quit] 06:56 -!- mdunnio [~mdunnio@208.59.170.5] has quit [Remote host closed the connection] 07:13 -!- dr-orlovsky [~dr-orlovs@194.230.155.196] has joined #c-lightning 07:56 -!- dr-orlovsky [~dr-orlovs@194.230.155.196] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 08:10 -!- alko89 [~alko89@unaffiliated/alko89] has quit [Quit: ZNC 1.7.5 - https://znc.in] 08:10 -!- alko89 [~alko89@unaffiliated/alko89] has joined #c-lightning 09:11 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 244 seconds] 09:27 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 09:55 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has quit [Remote host closed the connection] 10:22 -!- zmnscpxj_ [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has quit [Ping timeout: 240 seconds] 10:36 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has joined #c-lightning 10:41 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has quit [Ping timeout: 246 seconds] 10:46 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has joined #c-lightning 11:51 -!- cryptoso- [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 11:52 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Ping timeout: 240 seconds] 12:36 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has joined #c-lightning 12:38 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has quit [Remote host closed the connection] 12:39 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has joined #c-lightning 12:57 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 13:13 -!- nixbitcoin [~nixbitcoi@gateway/tor-sasl/nixbitcoin] has joined #c-lightning 13:14 -!- nixbitcoin_ [~nixbitcoi@gateway/tor-sasl/nixbitcoin] has quit [Ping timeout: 240 seconds] 13:29 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 13:31 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 14:52 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has quit [Remote host closed the connection] 15:01 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 15:01 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 15:03 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 258 seconds] 15:10 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 256 seconds] 15:18 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 15:43 -!- Letze [sid63391@gateway/web/irccloud.com/x-lvjmrvwmfemquwlx] has quit [Ping timeout: 244 seconds] 15:45 -!- Letze [sid63391@gateway/web/irccloud.com/x-pzgxqupjvlguszyo] has joined #c-lightning 15:50 -!- RubenSomsen [sid301948@gateway/web/irccloud.com/x-sqcvwbhnlmistayr] has quit [Ping timeout: 244 seconds] 15:51 -!- bitauger [sid371414@gateway/web/irccloud.com/x-omegrvqngsrrrbnm] has quit [Ping timeout: 246 seconds] 15:51 -!- fjahr [sid374480@gateway/web/irccloud.com/x-rttuizyvrxqquuxg] has quit [Ping timeout: 272 seconds] 15:51 -!- felixweis [sid154231@gateway/web/irccloud.com/x-suspeprsccnintnc] has quit [Ping timeout: 272 seconds] 15:52 -!- Letze [sid63391@gateway/web/irccloud.com/x-pzgxqupjvlguszyo] has quit [Ping timeout: 256 seconds] 16:24 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has joined #c-lightning 16:30 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 16:34 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 16:34 -!- vasild_ is now known as vasild 16:44 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has joined #c-lightning 17:01 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 17:02 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Client Quit] 17:02 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 17:04 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has left #c-lightning [] 17:25 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has quit [Ping timeout: 260 seconds] 17:53 -!- cryptoso- [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Ping timeout: 240 seconds] 17:53 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 18:16 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 18:23 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 244 seconds] 18:46 -!- vincenzopalazzo [~vincent@153.33.4.26] has joined #c-lightning 18:47 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 19:07 -!- zmnscpxj_ [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has joined #c-lightning 19:10 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has joined #c-lightning 19:12 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Read error: Connection reset by peer] 19:33 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 20:14 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has quit [Ping timeout: 265 seconds] 21:29 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has joined #c-lightning 21:59 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Ping timeout: 240 seconds] 22:00 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #c-lightning 22:24 -!- k3tan [~pi@unaffiliated/k3tan] has quit [Ping timeout: 246 seconds] 22:24 -!- k3tan [~pi@unaffiliated/k3tan] has joined #c-lightning 22:27 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has quit [Ping timeout: 240 seconds] 22:38 -!- zmnscpxj__ [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has joined #c-lightning 22:39 -!- zmnscpxj_ [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has quit [Remote host closed the connection] 22:50 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has joined #c-lightning 22:57 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Ping timeout: 240 seconds] 23:08 -!- vincenzopalazzo [~vincent@153.33.4.26] has quit [Quit: Leaving] 23:09 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 23:30 -!- Barno [~Barno@93-34-214-192.ip51.fastwebnet.it] has quit [] --- Log closed Wed Jul 08 00:00:13 2020