--- Log opened Mon Jan 18 00:00:18 2021 00:18 -!- Kiminuo [~mix@217.138.199.52] has joined #rust-bitcoin 00:19 -!- shesek [~shesek@unaffiliated/shesek] has quit [Remote host closed the connection] 01:51 -!- midnight [~midnight@unaffiliated/midnightmagic] has quit [Ping timeout: 258 seconds] 01:53 -!- midnight [~midnight@unaffiliated/midnightmagic] has joined #rust-bitcoin 02:01 -!- ulrichard [~richi@pub151248168243.dh-hfc.datazug.ch] has joined #rust-bitcoin 03:20 -!- Kelsie75Pfanners [~Kelsie75P@static.57.1.216.95.clients.your-server.de] has joined #rust-bitcoin 03:36 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #rust-bitcoin 03:39 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 256 seconds] 03:44 -!- guest534543 [~mix@141.98.103.92] has joined #rust-bitcoin 03:47 -!- Kiminuo [~mix@217.138.199.52] has quit [Ping timeout: 246 seconds] 04:29 -!- tibo [~tibo@2400:4050:2a83:7000:f0c8:9628:b8c3:12dc] has quit [Remote host closed the connection] 04:44 -!- belcher_ is now known as belcher 04:56 -!- Netsplit *.net <-> *.split quits: sanketcell, drolmer, BlueMatt, titanbiscuit, notmandatory, gwillen 04:59 -!- Netsplit over, joins: gwillen, drolmer, sanketcell, notmandatory, BlueMatt, titanbiscuit 05:03 -!- Thomas[m]1 [thomaseizi@gateway/shell/matrix.org/x-qzpuxnlstllpnnbx] has quit [Ping timeout: 258 seconds] 05:21 -!- Thomas[m]1 [thomaseizi@gateway/shell/matrix.org/x-rxgxfulpgrjksekf] has joined #rust-bitcoin 05:40 -!- Thomas[m]1 [thomaseizi@gateway/shell/matrix.org/x-rxgxfulpgrjksekf] has quit [Ping timeout: 260 seconds] 06:07 -!- ulrichard [~richi@pub151248168243.dh-hfc.datazug.ch] has quit [Quit: Ex-Chat] 06:15 -!- Thomas[m]1 [thomaseizi@gateway/shell/matrix.org/x-zdmmrueyfywdqtsk] has joined #rust-bitcoin 06:22 -!- gribble [~gribble@unaffiliated/nanotube/bot/gribble] has quit [Read error: Connection reset by peer] 06:23 -!- shesek [~shesek@164.90.217.137] has joined #rust-bitcoin 06:23 -!- shesek [~shesek@164.90.217.137] has quit [Changing host] 06:23 -!- shesek [~shesek@unaffiliated/shesek] has joined #rust-bitcoin 06:28 -!- gribble [~gribble@unaffiliated/nanotube/bot/gribble] has joined #rust-bitcoin 06:39 < shesek> is anyone working on v0.21 compatibility for bitcoincore-rpc? I started looking into this, just want to make sure I'm not duplicating someone else's efforts 07:24 -!- guest534543 [~mix@141.98.103.92] has quit [Ping timeout: 256 seconds] 08:00 < ariard> BlueMatt: yo #770 SGTM with latest suggestions 08:03 -!- Kelsie75Pfanners [~Kelsie75P@static.57.1.216.95.clients.your-server.de] has quit [Ping timeout: 240 seconds] 08:12 < BlueMatt> ariard: thanks! 08:14 < ariard> also #772 with Jeff suggestions :) 08:44 -!- gribble [~gribble@unaffiliated/nanotube/bot/gribble] has quit [Ping timeout: 256 seconds] 08:45 -!- gribble [~gribble@unaffiliated/nanotube/bot/gribble] has joined #rust-bitcoin 09:20 -!- Kiminuo [~mix@141.98.103.92] has joined #rust-bitcoin 09:46 -!- shesek [~shesek@unaffiliated/shesek] has quit [Ping timeout: 240 seconds] 10:11 < dr-orlovsky> andytoshi: what about non-miniscript descriptors? Since not all scripts can be represented by miniscript in exactly the same form, sometimes it is required to use bitcoin script-based descriptors. Lightning tx outputs are the most important example: you can't query them with miniscript descriptors 10:12 < dr-orlovsky> I did a type system for generic descriptors which are able to work both with miniscript and normal script representation, able to use key templates with derivation inside script. Is there any interest in moving this into one of rust-bitcoin crates (and which one?) 10:19 < andytoshi> dr-orlovsky: depends on what this looks like ... my -guess- would be that this is a rust-miniscript thing 10:19 < andytoshi> like, maybe we rename DescriptorTrait to MiniscriptDescriptor or something 10:19 < andytoshi> and then whhatever your trait is could be DescriptorTrait 10:19 < andytoshi> i assume you mean the addr() and raw() descriptors from core? 10:20 < andytoshi> we also could just add an HTLC descriptor type 10:22 < dr-orlovsky> not only them. I'd like the ability to keep wallet as a descriptor for non-miniscript-representable scripts with key derivations embedded (for instance, to track a wallet funding lighning channels). Bitcoin Core does not have this feature afaik. 10:23 < andytoshi> oh interesting, like a generic script? 10:23 < dr-orlovsky> yes 10:23 < andytoshi> i think rust-miniscript might accept such a thing 10:24 < andytoshi> i mean, concept ACK. but it depends how general/useful it winds up being 10:24 < dr-orlovsky> like here I did it (using descriptors that I developed): https://raw.githubusercontent.com/pandoracore/bitcoin-pro/v0.1.0-beta.1/doc/ui/descriptors.png 10:24 < dr-orlovsky> not show on the picture, but additionally to miniscript one may select custom bitcoin script (assembly or bytecode) 10:24 < dr-orlovsky> and use key derivations in it 10:27 < dr-orlovsky> One other thing: these descriptors use custom bitcoin script types; like we did with hash types before I did a script-specific type wrappers depending on the location where bitcoin script can be placed semantically. These types are PubkeyScript, SigScript, RedeemScript, WitnessScript, TapScript... Meaning type keeps the information of the script origination and prevents from misusing the script. Thus, descriptors operate with those ty 10:27 < dr-orlovsky> pes. Is there any interest in migrating this type system as well? 10:32 < dr-orlovsky> here some more details on it: https://docs.rs/lnpbp/0.2.2/lnpbp/bp/scripts/types/index.html 10:37 < andytoshi> dr-orlovsky: i'm a bit confused as to what the user can do with those... i guess send coins to them? 10:37 < andytoshi> but nothing else, you can't do anything spending-related with them 10:39 < andytoshi> i wonder dr-orlovsky if you really want a generic "any script, but with generic keys" or if you want an HTLC descriptor 10:44 < sanket1729> with the new DescriptorTrait construction, it should be easy to create new descriptors. We can add a lightning descriptor with custom satisfier template so it can also create witness. It would be then possible to create watch channels, spend from them. But it's not miniscript, so we don't have generic satisfaction. 10:46 < sanket1729> But I think going too generic with the descriptors, we would just end with script with address derivation feature. 10:49 < sanket1729> We can have Script types, WitnessScript, RedeemScript, SigScript etc, but it will be very big change. We can also enforce consensus rules on them while create those: SigScript is push opcodes only. RedeemSCript <=520 bytes etc. 10:50 < andytoshi> interesting idea 10:50 < andytoshi> fwiw scriptsig can have non-push opcodes, it's just nonstandard 11:04 < dr-orlovsky> andytoshi: you can. In my setup I always have wallet split into read-only part (w/o private key) and infrastructure with private keys. You use descriptors to create PSBTs and provide info about the keys - and sign PSBTs later 11:04 < dr-orlovsky> (answering your question "i'm a bit confused as to what the user can do with those... i guess send coins to them? but nothing else, you can't do anything spending-related with them") 12:33 -!- dongcarl [~dongcarl@unaffiliated/dongcarl] has quit [Quit: The Lounge - https://thelounge.chat] 12:34 -!- dongcarl [~dongcarl@unaffiliated/dongcarl] has joined #rust-bitcoin 14:23 -!- Franck[m] [franckroye@gateway/shell/matrix.org/x-febzikgwzcvpriox] has joined #rust-bitcoin 14:27 -!- Franck[m] is now known as d4nte 15:20 -!- Kiminuo [~mix@141.98.103.92] has quit [Ping timeout: 256 seconds] 15:38 -!- tibo [~tibo@p6114095-ipngn29701marunouchi.tokyo.ocn.ne.jp] has joined #rust-bitcoin 15:46 -!- gribble [~gribble@unaffiliated/nanotube/bot/gribble] has quit [Disconnected by services] 15:52 -!- jonatack [~jon@88.124.242.136] has quit [Ping timeout: 256 seconds] 15:53 -!- gribble [~gribble@unaffiliated/nanotube/bot/gribble] has joined #rust-bitcoin 15:53 -!- jonatack [~jon@109.202.107.5] has joined #rust-bitcoin 15:55 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #rust-bitcoin 18:35 -!- tibo_ [~tibo@2400:4050:2a83:7000:111e:83c5:96e7:8fd7] has joined #rust-bitcoin 18:35 -!- tibo [~tibo@p6114095-ipngn29701marunouchi.tokyo.ocn.ne.jp] has quit [Read error: Connection reset by peer] 22:16 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #rust-bitcoin 22:19 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 268 seconds] 23:30 -!- Kiminuo [~mix@141.98.103.92] has joined #rust-bitcoin --- Log closed Tue Jan 19 00:00:25 2021