--- Log opened Thu Mar 30 00:00:18 2023 00:12 -!- salvatoshi [~salvatosh@genymobile-2-6-86.fib.nerim.net] has joined ##miniscript 02:01 -!- jonatack2 [~jonatack@user/jonatack] has joined ##miniscript 02:03 -!- jonatack1 [~jonatack@user/jonatack] has quit [Ping timeout: 252 seconds] 07:59 -!- Hac [~Hac@2603-6080-d802-7a70-e1fd-1880-e440-2811.res6.spectrum.com] has joined ##miniscript 08:00 < Hac> is it expected behavior for addresses to query as solvable: false when they are generated with an imported miniscript descriptor that contains an xpriv? 08:00 < Hac> It seems like my kepool cannot reconcile my descriptor when generating a psbt and thinks all of the available inputs are unspendable 08:07 < Hac> I get a "missing solving data for estimating transaction size", (I assume because the addresses are unsolvable?) if I try to give it an empty slice of inputs and an "insufficient funds" error if I try to manually give it an input. 08:08 < instagibbs> can you show a sanitized version of the miniscript? 08:09 < instagibbs> or replicate in regtest 08:10 < Hac> Is this sufficient? 08:10 < Hac> ("wsh(thresh(2,pk({}),s:pk({}),s:pk({}),s:pk({}),s:pk({}),s:pk({}),s:pk({}),sun:after({})))", xpriv, keys[1], keys[2], keys[3], keys[4], keys[5], keys[6], four_years) 08:11 < Hac> keys vector here referring to xpubs 08:16 < Hac> I intend for it to be a 2 of 7 which decays down to a 1 of 7 after four years 08:17 < instagibbs> and which interface/RPC are you using(this seems like a bitcoin core problem?) 08:17 < Hac> I am using the bitcoincore_rpc rust crate 08:18 < instagibbs> which commands? 08:18 < Hac> Client.wallet_create_funded_psbt() 08:24 < Hac> Happy to help with documentation on a complex end to end example if there is a better way for me to do it perhaps, working through this a bit in the dark. 08:24 < instagibbs> it may not be supported. "test/functional/wallet_miniscript.py" uses createpsbt->walletprocess 08:24 < instagibbs> try that first 08:31 < darosior> Hac: yes. Miniscript descriptors will only be solvable (meaning you can sign for them) in the upcoming version of Bitcoin Core (25.0). 08:32 < instagibbs> d'oh :) looking at master ofc 08:34 < Hac> no wonder, thank you. So I take it at present that means this problem is unworkable. 08:37 < darosior> Hac: you can always finalize the PSBT outside of Bitcoin Core. Since you are using Rust, note that rust-miniscript has got a PSBT finalizer that makes use of the Miniscript satisfier. Here is how i use it in Liana (which uses Bitcoin Core as its backend): 08:37 < darosior> https://github.com/wizardsardine/liana/blob/47e649a69fc7795f63ead89e4419f0853859f6b4/src/commands/mod.rs#L579-L591 08:43 < darosior> Hac: also "I intend for it to be a 2 of 7 which decays down to a 1 of 7 after four years" -> Note that you cannot have a relative timelock of more than 1.3 year. What you are using is an absolute timelock. If you are passing it "four_years" as in your example then the timelock path will be immediately spendable, which is probably not what you want. 09:11 -!- salvatoshi [~salvatosh@genymobile-2-6-86.fib.nerim.net] has quit [Ping timeout: 260 seconds] 09:31 -!- pakaro [~quassel@tmo-103-131.customers.d1-online.com] has joined ##miniscript 09:31 -!- pakaro [~quassel@tmo-103-131.customers.d1-online.com] has quit [Client Quit] 10:19 -!- salvatoshi [~salvatosh@lfbn-idf3-1-1331-187.w92-170.abo.wanadoo.fr] has joined ##miniscript 11:21 -!- salvatoshi [~salvatosh@lfbn-idf3-1-1331-187.w92-170.abo.wanadoo.fr] has quit [Ping timeout: 250 seconds] 11:27 -!- jonatack2 [~jonatack@user/jonatack] has quit [Quit: WeeChat 3.8] 11:30 -!- salvatoshi [~salvatosh@lfbn-idf3-1-1331-187.w92-170.abo.wanadoo.fr] has joined ##miniscript 11:49 -!- jonatack [~jonatack@user/jonatack] has joined ##miniscript 11:50 -!- salvatoshi [~salvatosh@lfbn-idf3-1-1331-187.w92-170.abo.wanadoo.fr] has quit [Ping timeout: 268 seconds] 14:24 -!- salvatoshi [~salvatosh@lfbn-idf3-1-1331-187.w92-170.abo.wanadoo.fr] has joined ##miniscript 14:48 -!- troglodito [~cave@81.4.123.134] has joined ##miniscript 15:07 -!- appservicebot1 [~afilini-m@2001:bc8:1828:245::2] has quit [Ping timeout: 248 seconds] 15:10 -!- salvatoshi [~salvatosh@lfbn-idf3-1-1331-187.w92-170.abo.wanadoo.fr] has quit [Ping timeout: 276 seconds] 19:38 -!- troglodito [~cave@81.4.123.134] has quit [Read error: Connection reset by peer] 19:39 -!- troglodito [~cave@81.4.123.134] has joined ##miniscript 20:11 -!- appservicebot1 [~afilini-m@2001:bc8:1828:245::2] has joined ##miniscript 21:11 -!- jon_atack [~jonatack@user/jonatack] has joined ##miniscript 21:14 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 255 seconds] --- Log closed Fri Mar 31 00:00:18 2023