--- Log opened Mon May 04 00:00:11 2020 01:13 -!- mauz555 [~mauz555@2a01:e0a:56d:9090:2882:b91c:2d39:f995] has joined #rust-bitcoin 01:55 -!- Kelli44Koch [~Kelli44Ko@static.57.1.216.95.clients.your-server.de] has joined #rust-bitcoin 02:55 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Quit: jonatack] 03:07 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined #rust-bitcoin 03:27 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 03:34 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 03:35 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 03:37 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 03:38 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 03:42 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 246 seconds] 04:08 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 04:12 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 264 seconds] 04:18 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #rust-bitcoin 04:19 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 04:27 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 04:29 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 04:30 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 04:34 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 240 seconds] 04:42 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 04:45 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Ping timeout: 246 seconds] 04:47 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 256 seconds] 04:48 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined #rust-bitcoin 04:58 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 05:06 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 256 seconds] 05:14 -!- mauz555 [~mauz555@2a01:e0a:56d:9090:2882:b91c:2d39:f995] has quit [Remote host closed the connection] 05:23 -!- Kelli44Koch [~Kelli44Ko@static.57.1.216.95.clients.your-server.de] has quit [Ping timeout: 265 seconds] 05:26 -!- mauz555 [~mauz555@2a01:e0a:56d:9090:2882:b91c:2d39:f995] has joined #rust-bitcoin 05:35 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 05:37 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 05:42 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 272 seconds] 06:03 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 06:07 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 265 seconds] 06:28 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 06:32 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 272 seconds] 08:27 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 08:32 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 272 seconds] 09:08 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 09:12 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 256 seconds] 09:44 < BlueMatt> ariard: I'm a little confused by https://github.com/rust-bitcoin/rust-lightning/pull/610/files#r419574491 10:24 < BlueMatt> ariard: still, I think 610 is close, to fix the above probably just needs a few commits removed. 10:33 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 10:38 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 265 seconds] 11:08 -!- mauz555 [~mauz555@2a01:e0a:56d:9090:2882:b91c:2d39:f995] has quit [] 11:48 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 11:53 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 260 seconds] 13:07 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Ping timeout: 272 seconds] 13:08 -!- jonatack [~jon@213.152.161.149] has joined #rust-bitcoin 13:20 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 13:36 -!- dr-orlovsky [~dr-orlovs@xdsl-188-155-161-135.adslplus.ch] has joined #rust-bitcoin 13:38 -!- dr-orlovsky [~dr-orlovs@xdsl-188-155-161-135.adslplus.ch] has quit [Client Quit] 14:02 -!- surja795_ [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 14:03 -!- surja795_ [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 14:04 -!- surja795_ [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 14:06 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 256 seconds] 14:07 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 14:08 -!- surja795_ [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 14:12 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 260 seconds] 15:22 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 15:24 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #rust-bitcoin 15:26 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 272 seconds] 15:58 -!- jonatack [~jon@213.152.161.149] has quit [Ping timeout: 246 seconds] 16:00 -!- jonatack [~jon@37.167.8.190] has joined #rust-bitcoin 16:01 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 16:05 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 240 seconds] 16:05 < BlueMatt> ariard: ok, I have backup block sources implemented! :p 16:19 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 16:42 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #rust-bitcoin 17:00 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 17:22 < BlueMatt> andytoshi: yo 17:24 < BlueMatt> andytoshi: what do you think about this: https://github.com/rust-bitcoin/rust-lightning/pull/614 - its a "MicroSPVClient" crate which does spv validation across several abstract BlockSources and then calls block_connected/block_disconnected on an abstract interface to get it to the chain tip. 17:26 < BlueMatt> its a bit rust-lightning specific in the sense that the above api maps 1:1 to rust-lightning and calling fn's isntead of generating a stream maybe isnt the best api 17:26 < BlueMatt> nor is it, like, super groundbreaking stuff. but it may be interesting to provide such a crate more broadly that is designed to by a reasonably robust way to fetch the chain, assuming you have muliple block sources. 17:27 < BlueMatt> i could also recycle my old core work and pull the full spv and radio-based clients out of there and make them optional components 17:27 < BlueMatt> it currently contains a way to fetch the chain from bitcoin core rest + bitcoin core rpc, and I'm gonna add a headers-over-dns thing. 17:28 < BlueMatt> it can live as a subcrate in RL, for the benefit of its users, or we could make it a first-class crate. 17:28 < BlueMatt> it sadly uses async but that could maybe be dropped. 17:28 < BlueMatt> i wish there were an easy way to have a feature for "put async on each of these fns..." 17:30 < BlueMatt> or dunno if eg elichai2 has any interest 18:21 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 18:22 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 19:47 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 19:52 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 20:09 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 256 seconds] 20:20 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has joined #rust-bitcoin 20:25 -!- surja795 [~surja795@c-24-61-194-104.hsd1.ma.comcast.net] has quit [Ping timeout: 260 seconds] 22:10 < ariard> BlueMatt: https://github.com/rust-bitcoin/rust-lightning/pull/610/files#r419574491 oh I cleary agree on this, I think I mention in the PR or original one if it should be test-only 22:10 < ariard> BlueMatt: fixing your comment 22:11 < ariard> BlueMatt: great! sorry was finishing other stuff today 22:11 < BlueMatt> all good. I got some quality time with headers-over-dns. will hopefully have some monstrous code for syncing from that tomorrow lol 22:11 < BlueMatt> syncing the headers chain....without storing the headers chain 22:11 < BlueMatt> from only an api that allows querying height -> header data and no other info 22:12 < ariard> took time about thinking why we should sign Witnessscript 22:12 < ariard> and it makes clearly sense 22:12 < ariard> because someone could make you a signature for W1, whcih is less-constraining that W2 22:12 < ariard> like not timelock or this kind of stuff, ofc it would be an issue if you commit fund for such a W1 22:12 < ariard> like a earlier fuckup 22:13 < ariard> I started to write some key_management.md to make sense for people 22:13 < ariard> like high-level and where the API is going and what level of trust in the node 22:15 < ariard> BlueMatt: damn that's a cool, I dreamt of having such thing in core wallet a while ago lol 22:15 < ariard> like use them for index for transaction of concern 22:16 < BlueMatt> hah, I doubt it would make sense if you have a full node in the same memory space. but its fun if you want to run an spv client on mobile and dont want to waste 100MB for the header tree or dont want to download the full header tree anyway....or.....something 22:17 < BlueMatt> I'll circle back to the key stuff tomorrow....now its bedtime 22:19 < ariard> yeah no rush, we can make step forward on static too tmrw 22:19 < BlueMatt> alright. cool 22:19 < BlueMatt> lets get 610 merged tomorrow too, if possible 22:19 < BlueMatt> gotta revert those new fn's in the ChannelKeys - InMemoryChannelKeys needs to expose the relevant private keys and we can use *that* in tests to keep roughy the same code we have 22:20 < BlueMatt> but we dont need new fn's in ChannelKeys, I think --- Log closed Tue May 05 00:00:11 2020