Re: [Bitcoin-development] Pull 748 pay to script hash

2012-01-07 Thread Gavin Andresen
> what is the purpose behind counting the number of sig ops after you have > executed the script in ConnectInputs? > Seems like it would be too late then. The purpose is to comply with the "a block shall not contain more than MAX_BLOCK_SIGOPS (20,000)" rule, under both the old way of counting (lo

Re: [Bitcoin-development] Pull 748 pay to script hash

2012-01-07 Thread Amir Taaki
OK, here is one thing: what is the purpose behind counting the number of sig ops after you have executed the script in ConnectInputs? Seems like it would be too late then. - Original Message - From: Gavin Andresen To: Amir Taaki Cc: Bitcoin Dev Sent: Saturday, January 7, 2012 10:48

Re: [Bitcoin-development] Pull 748 pay to script hash

2012-01-07 Thread Gavin Andresen
> It might be better for code review if the old pull is reverted and then this > one re-requested. That will make it easier > to see the real changes. I count the 1 major merge then 8 commits to fix bugs or tweak things... I just tried reverting them and stopped when I got scared I'll accidental

[Bitcoin-development] Should we get some free advertising on StackOverflow?

2012-01-07 Thread D.H.
Hi all, StackOverflow has something that they call "Free Vote-Based Advertising for Open Source Projects". The way it works is that a suggested 220x250 pixel ad is posted here: http://meta.stackoverflow.com/questions/114442/open-source-advertising-sidebar-1h-2012. As soon as it gets 6 upvotes or m

[Bitcoin-development] Pull 748 pay to script hash

2012-01-07 Thread Amir Taaki
https://github.com/bitcoin/bitcoin/pull/748/files I'm reading a diff of a now defunct OP_EVAL proposal with the current pay to script hash one. It might be better for code review if the old pull is reverted and then this one re-requested. That will make it easier to see the real changes.