There is no harm in the value being a maximum off by a few bytes. > On Sep 22, 2017, at 2:54 PM, Sergio Demian Lerner <sergio.d.ler...@gmail.com> > wrote: > > If the variable size increase is only a few bytes, then three possibilities > arise: > > - one should allow signatures to be zero padded (to reach the maximum size) > and abandon strict DER encoding > > - one should allow spare witness stack elements (to pad the size to match the > maximum size) and remove the cleanstack rule. But this is tricky because > empty stack elements must be counted as 1 byte. > > - signers must loop the generation of signatures until the signature > generated is of its maximum size.
_______________________________________________ bitcoin-dev mailing list bitcoin-dev@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev