Re: [bitcoin-dev] IsStandard

2019-05-03 Thread Aymeric Vitte via bitcoin-dev
Great doc, thanks, then my previous summarized conclusion was wrong, trying on my side to write a "demistifying (simply) once for all bitcoin scripting", not sure that "simply" can stay in the title at the end... So my multisig modification is non standard, now I am still puzzled by something, mai

Re: [bitcoin-dev] IsStandard

2019-05-03 Thread Pieter Wuille via bitcoin-dev
On Thu, 2 May 2019 at 16:28, Aymeric Vitte via bitcoin-dev wrote: > > Thanks for the answer, indeed for the redeem script and someone > attempting a 0/1 of 3, good example > > So to summarize everything is standard as long as it matches P2PKH, > P2SH, P2WPKH or P2WSH , the redeem scripts for the s

Re: [bitcoin-dev] IsStandard

2019-05-03 Thread James Prestwich via bitcoin-dev
Hi Aymeric, As Luke and ZmnSCPxj have pointed out, documenting standardness is sisyphean, as it varies from version to version. I recently put together a reference for default TX_NONSTANDARD policies in v0.18, which can be found here: https://prestwi.ch/the-bitcoin-nonstandard/ It applies only to

Re: [bitcoin-dev] Adding xpub field to PSBT to make multisig more secure

2019-05-03 Thread Peter D. Gray via bitcoin-dev
On Fri, Apr 26, 2019 at 05:21:06PM +0200, Stepan Snigirev wrote: ... > Currently in PSBT there is no way to reliably say if the output uses the > keys derived from the same root keys as the inputs aside from the key owned Writing the multisig support for Coldcard, I've come to the same conclusion.