Re: [bitcoin-dev] BIP 174 thoughts

2018-06-23 Thread Peter D. Gray via bitcoin-dev
On Fri, Jun 22, 2018 at 06:28:33PM -0400, Achow101 wrote: > After reading the comments here about BIP 174, I would like to propose the > following changes: > > - Moving redeemScripts, witnessScripts, and BIP 32 derivation paths to > per-input and per-output data ... I like this. I agree it's

Re: [bitcoin-dev] BIP 174 thoughts

2018-06-23 Thread William Casarin via bitcoin-dev
Achow101 via bitcoin-dev writes: > I have decided that PSBTs should either be in binary or encoded as a > Base64 string. For the latter, several Bitcoin clients already support > Base64 encoding of data (for signed messages) so this will not add any > extra dependencies like Z85 would. Since

Re: [bitcoin-dev] New serialization/encoding format for key material

2018-06-23 Thread Pieter Wuille via bitcoin-dev
On Fri, Jun 15, 2018 at 8:54 AM, Russell O'Connor wrote: > >> For codes designed for length 341 (the first length enough to support >> 512 bits of data): >> * correct 1 error = 3 checksum characters >> * correct 2 errors = 7 checksum characters >> * correct 3 errors = 11 checksum characters >> *

Re: [bitcoin-dev] BIP 174 thoughts

2018-06-23 Thread Andrew Chow via bitcoin-dev
On 06/23/2018 10:00 AM, William Casarin wrote: > Since we're still considering the encoding, I wonder if it would be a > good idea to have a human-readible part like lightning invoices[1]? I don't think that is necessary. > Then perhaps you could drop the magic code as well? The magic is still