Re: [bitcoin-dev] Proposed Extensions to BIP 174 for Future Extensibility

2019-08-02 Thread Dmitry Petukhov via bitcoin-dev
В Thu, 01 Aug 2019 19:01:06 + Andrew Chow wrote: > I spoke to some people OOB and they said that they didn't really like > the idea of having a prefix string (partially because they've already > implemented some proprietary types by simply squatting on unused > types). Matching the prefix

Re: [bitcoin-dev] Proposed Extensions to BIP 174 for Future Extensibility

2019-08-01 Thread Andrew Chow via bitcoin-dev
I spoke to some people OOB and they said that they didn't really like the idea of having a prefix string (partially because they've already implemented some proprietary types by simply squatting on unused types). Matching the prefix string adds additional complexity to the parser code. The main

Re: [bitcoin-dev] Proposed Extensions to BIP 174 for Future Extensibility

2019-08-01 Thread Andrew Chow via bitcoin-dev
It seems like the consensus is that we should use Compact Size Unsigned Integers for the field types, so we will do that. The types will be minimally encoded CSUints. For the proprietary types, I will use Dimitry's and Andrew Poelstra's

Re: [bitcoin-dev] Proposed Extensions to BIP 174 for Future Extensibility

2019-08-01 Thread Stepan Snigirev via bitcoin-dev
> why not use Bitcoin compact uint, which most PSBT consumers already implement? I totally agree with that, compact int parsing is already implemented in all bitcoin applications, wallets and libraries. Also, for certain (mb proprietary) applications I will be willing to use multi-byte keys where

Re: [bitcoin-dev] Proposed Extensions to BIP 174 for Future Extensibility

2019-07-31 Thread Andrew Chow via bitcoin-dev
Hi, On 7/31/19 12:19 PM, Dmitry Petukhov wrote: > > I think private formats should have at least a basic format: they > should start with a prefix. This way different prviate formats can be > distinguished by this prefix, and there will be no risk of > unintentional confusion. > > Private types

Re: [bitcoin-dev] Proposed Extensions to BIP 174 for Future Extensibility

2019-07-31 Thread Dmitry Petukhov via bitcoin-dev
В Wed, 31 Jul 2019 01:13:46 + Andrew Chow via bitcoin-dev wrote: > Firstly, I would like to propose that some types be reserved for > proprietary use. These proprietary use types are, in general, for > private use by individuals and organizations who want to use PSBT in > their processes.

Re: [bitcoin-dev] Proposed Extensions to BIP 174 for Future Extensibility

2019-07-31 Thread jan matejek via bitcoin-dev
hello, On 31. 07. 19 3:13, Andrew Chow via bitcoin-dev wrote: > Lastly, I would like to propose the canonical method for mult-byte > types. We designate a specific type to indicate that the type is > multiple bytes. When such types are observed, parsers should move onto > the next byte and

[bitcoin-dev] Proposed Extensions to BIP 174 for Future Extensibility

2019-07-31 Thread Andrew Chow via bitcoin-dev
Hi All, I would like to propose some types that allow for BIP 174 PSBT to be extended more in the future. Firstly, I would like to propose that some types be reserved for proprietary use. These proprietary use types are, in general, for private use by individuals and organizations who want to