From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1SvWOe-0005Yg-FX for bitcoin-development@lists.sourceforge.net; Sun, 29 Jul 2012 16:31:12 +0000 X-ACL-Warn: Received: from nm9-vm1.bullet.mail.ne1.yahoo.com ([98.138.90.47]) by sog-mx-2.v43.ch3.sourceforge.com with smtp (Exim 4.76) id 1SvWOd-0002ie-OB for bitcoin-development@lists.sourceforge.net; Sun, 29 Jul 2012 16:31:12 +0000 Received: from [98.138.90.55] by nm9.bullet.mail.ne1.yahoo.com with NNFMP; 29 Jul 2012 16:31:06 -0000 Received: from [98.138.89.160] by tm8.bullet.mail.ne1.yahoo.com with NNFMP; 29 Jul 2012 16:31:06 -0000 Received: from [127.0.0.1] by omp1016.mail.ne1.yahoo.com with NNFMP; 29 Jul 2012 16:31:06 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 250729.89641.bm@omp1016.mail.ne1.yahoo.com Received: (qmail 52981 invoked by uid 60001); 29 Jul 2012 16:31:06 -0000 X-YMail-OSG: WYJJGv4VM1m8kDXJcXxLmJmp.WSaMoj4sWWzH4bbrjCIKKa TT4EhE01Hn9vGW1va17hRHoeb_UZaYZj3D0g9btNa3kS5qNSM87uqMLc5WBi eqnxdnBBRVxspnkPs8YEP.nCTqcfKMOkhfZV_ssky_iV2dKLwyWv40xl6ZAQ 7xD4LxXfivhSmj727Vj0mcpUxHUMcMmhtthxS4CsFyt_xCwUFYmZCdG0RGvP X0fr5TUVH6mou00OKoQVPPQmSTtTQH790qqBe1D5OtNHK7ia5QAKY7apMETL gDNVYeYt0MnyQ2_A8l7Ex_lh50yIFlTNlNv1ve3NuwP6.pxFtzAbmrLtX2LF 33BaFBTTXLvwI.5vk2PpQYl.yc04IWUHIxyMy9dg98yc0R87G.8sm24cJ2k5 _3fDl0l90pNSvAaQ- Received: from [187.54.148.204] by web121004.mail.ne1.yahoo.com via HTTP; Sun, 29 Jul 2012 09:31:06 PDT X-Mailer: YahooMailWebService/0.8.120.356233 Message-ID: <1343579466.30862.YahooMailNeo@web121004.mail.ne1.yahoo.com> Date: Sun, 29 Jul 2012 09:31:06 -0700 (PDT) From: Amir Taaki To: "bitcoin-development@lists.sourceforge.net" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [98.138.90.47 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zgenjix[at]yahoo.com) -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 FSL_FREEMAIL_2 FSL_FREEMAIL_2 0.0 FSL_FREEMAIL_1 FSL_FREEMAIL_1 X-Headers-End: 1SvWOd-0002ie-OB Subject: [Bitcoin-development] script tests - invalid script in script_valid.json? X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Amir Taaki List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2012 16:31:12 -0000 Hi! Is this a valid script? ["1 0 1", "WITHIN NOT"] The first value (1) is tested to make sure it is between the lower (0) and upper (1) value. This evaluates to true, placing on the stack a single byte of [01]. NOT then inverses this to a 0 byte false value of []. What am I missing here? Thanks