Re: [bitcoin-dev] PSBT_GLOBAL_XPUB: Version bytes in xpub

2019-11-15 Thread Andrew Chow via bitcoin-dev
The rationale was that xpubs was already a predefined standard which many software already have serialization code for. It's simpler to just reuse what has been defined before. IMO, the version bytes don't matter and should be ignored. In the proposed implementation to Bitcoin Core, the version

[bitcoin-dev] PSBT_GLOBAL_XPUB: Version bytes in xpub

2019-11-15 Thread Ian Kroozbi via bitcoin-dev
What’s the rational for including the version bytes in the xpub in the GLOBAL_XPUB field? This was briefly touched upon in an earlier email from Stepan, but I don’t think it was every fully addressed. I am not sure if we need the whole xpub or keeping chain_code and > public_key is enough, but I w