[Bitcoin-development] Signing release binaries

2012-07-29 Thread Mike Hearn
MacOS X 10.8 makes application signing borderline mandatory, in that you cannot run unsigned apps unless you tweak your settings via the control panel. You must sign with a certificate issued by Apple via their identified developer program. Windows allows but does not require signing. However,

Re: [Bitcoin-development] Signing release binaries

2012-07-29 Thread Peter Vessenes
This is a good idea. I think I can come up with the cash, I will follow up with gavin. Sent from my smartphone! On Jul 29, 2012, at 7:18 PM, Mike Hearn m...@plan99.net wrote: MacOS X 10.8 makes application signing borderline mandatory, in that you cannot run unsigned apps unless you tweak

[Bitcoin-development] script tests - invalid script in script_valid.json?

2012-07-29 Thread Amir Taaki
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?

Re: [Bitcoin-development] script tests - invalid script in script_valid.json?

2012-07-29 Thread Stefan Thomas
OP_WITHIN is lower-bound-inclusive, but upper bound exclusive, so 1 0 1 WITHIN is false. bool fValue = (bn2 = bn1 bn1 bn3); https://github.com/bitcoin/bitcoin/blob/master/src/script.cpp#L854 On 7/29/2012 6:31 PM, Amir Taaki wrote: Hi! Is this a valid script? [1 0 1, WITHIN NOT] The

Re: [Bitcoin-development] script tests - invalid script in script_valid.json?

2012-07-29 Thread Amir Taaki
oh, bitcoin... Thanks justmoon :D - Original Message - From: Stefan Thomas m...@justmoon.de To: bitcoin-development@lists.sourceforge.net Cc: Sent: Sunday, July 29, 2012 1:33 PM Subject: Re: [Bitcoin-development] script tests - invalid script in script_valid.json? OP_WITHIN is

Re: [Bitcoin-development] Signing release binaries

2012-07-29 Thread Luke-Jr
On Sunday, July 29, 2012 10:17:51 AM Mike Hearn wrote: I guess Gavin would be the final signer. Considering that Gavin is not interested in participating in any way in the stable versions, I would prefer to see someone else responsible for OS-vendor signing.

Re: [Bitcoin-development] script tests - invalid script in script_valid.json?

2012-07-29 Thread Stefan Thomas
I was baffled by this exact script, too. :) Big props to Gavin for adding those data-driven test cases. I can't overstate how useful they are. Is there interest to port more tests (P2SH, checksig, checkmultisig, block verification, maybe even DoS rules) into data-driven format? It might be

Re: [Bitcoin-development] script tests - invalid script in script_valid.json?

2012-07-29 Thread Jeff Garzik
On Sun, Jul 29, 2012 at 1:35 PM, Stefan Thomas m...@justmoon.de wrote: Big props to Gavin for adding those data-driven test cases. I can't overstate how useful they are. +1 they are a useful, cross-platform test tool. pynode will be making use of them shortly. -- Jeff Garzik exMULTI, Inc.

Re: [Bitcoin-development] script tests - invalid script in script_valid.json?

2012-07-29 Thread Gavin Andresen
Is there interest to port more tests (P2SH, checksig, checkmultisig, block verification, maybe even DoS rules) into data-driven format? It might be something that I'd like to help with if pull requests in that direction are welcome. Yes, more tests are definitely welcome. check*sig tests are

Re: [Bitcoin-development] Signing release binaries

2012-07-29 Thread Cameron Garnham
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I'm not a vendor, however I have a code-signing key for windows; I could sign the windows installer and binary. On 30/07/2012 3:15 AM, Luke-Jr wrote: On Sunday, July 29, 2012 10:17:51 AM Mike Hearn wrote: I guess Gavin would be the final signer.