Re: [bitcoin-dev] Wallet policies for descriptor wallets

2023-01-24 Thread Salvatore Ingala via bitcoin-dev
Hi Antoine, Thanks for your very interesting suggestions! On Mon, 23 Jan 2023 at 20:53, darosior wrote: > Actually you can save a few more characters, and gain some clarity, by > showing the "semantic policy" instead of the actual Miniscript. If the intent > is for the user to verify the sema

Re: [bitcoin-dev] Wallet policies for descriptor wallets

2023-01-23 Thread darosior via bitcoin-dev
Hello Salvatore, It's not something about the specifications of wallet policies, but regarding the guidelines for implementers on signing devices. Quoting BIP-wallet-policies: > Moreover, other limitations like the limited size of the screen might affect > what design choices are available in p

Re: [bitcoin-dev] Wallet policies for descriptor wallets

2022-11-21 Thread Salvatore Ingala via bitcoin-dev
Hi list, Following up on this topic, I now opened a pull request with the BIP proposal: https://github.com/bitcoin/bips/pull/1389 I also attempted a proof-of-concept of how an integration of wallet policies to HWI might look like: https://github.com/bitcoin-core/HWI/pull/647 which mi

Re: [bitcoin-dev] Wallet policies for descriptor wallets

2022-09-29 Thread Andrew Poelstra via bitcoin-dev
I'm really happy to see this discussion. I don't have any comments on the spec because I think I'd have to be more in-the-weeds trying to implement a hww to understand how well it works for realistic use cases. But a strong concept-ACk from me and thanks to Salvatore for exploring this! On Mon, M

Re: [bitcoin-dev] Wallet policies for descriptor wallets

2022-05-17 Thread Salvatore Ingala via bitcoin-dev
Hi all, TL;DR: It is easy to convert from wallet policy to descriptors and back; imho aliases are better left out of descriptors in real world usage; some more examples given. I received some very useful feedback on the wallet policy proposal (in this list and outside); that also led me to realiz

Re: [bitcoin-dev] Wallet policies for descriptor wallets

2022-05-10 Thread Salvatore Ingala via bitcoin-dev
Hi Antoine and Billy, Thank you for your comments and for looking into the proposal. On Mon, 9 May 2022 at 12:36, darosior wrote: > 1. The `` optimization for the common usecase of using 2 > descriptors at different derivation indices >for receive and change. [1] > 2. The `/**` optimization

Re: [bitcoin-dev] Wallet policies for descriptor wallets

2022-05-09 Thread darosior via bitcoin-dev
Thanks for taking the time to write up about the implementation of output descriptors on signing devices, and for proposing a method to overcome encountered difficulties for the following implementers. I have some questions with regard to the modifications to the descriptor language required to

Re: [bitcoin-dev] Wallet policies for descriptor wallets

2022-05-08 Thread Billy Tetrud via bitcoin-dev
I took a look at the spec for the wallet descriptor format, and I like the concept of having placeholder variables for keys. It reduces the size of the descriptor, makes it substantially easier for a human to read/verify, especially in the future when we have more complex scripts, and provides a ni