On Tuesday 14. October 2014 04.34.16 Pieter Wuille wrote: > This means that scripts that use booleans as inputs will be inherently > malleable.
I've ran into this issue in C++ often enough, a funny example is assigning "2" to a native c++ bool and then you can do a if (myBool == true) else if (myBool == false) and neither of them will hit. > I > would like to change BIP62 to also state that interpreted booleans > must be of minimal encoded size (in addition to numbers). What about rejecting a script where a bool is not explicitly zero or one? -- Thomas Zander ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ Bitcoin-development mailing list Bitcoin-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bitcoin-development