Re: [Bitcoin-development] Bitcoin script opcode counts

2012-07-26 Thread Gregory Maxwell
On Thu, Jul 26, 2012 at 7:27 AM, Mike Hearn wrote: >> OP_CODESEPARATOR 14 >> OP_DEPTH 182 > > I'm interested to see what scripts were using OP_DEPTH and > OP_CODESEPARATOR, as the latter appears to be useless to my eyes. > > Could you give some tx ids which use unusual opcodes? The OP_DEPTH are a

Re: [Bitcoin-development] Bitcoin script opcode counts

2012-07-26 Thread Mike Hearn
> OP_CODESEPARATOR 14 > OP_DEPTH 182 I'm interested to see what scripts were using OP_DEPTH and OP_CODESEPARATOR, as the latter appears to be useless to my eyes. Could you give some tx ids which use unusual opcodes? -- L

[Bitcoin-development] Bitcoin script opcode counts

2012-07-25 Thread Jeff Garzik
Just run a query over the entire blockchain, looking at script opcode use. I counted the number of times each opcode was used, in total: https://gist.github.com/3180470 (data in full) OP_0 104 OP_1 27 OP_2 12 OP_2OVER 182 OP_2SWAP 182 OP_3 16 OP_4 1 OP_CHECKMULTISIG 22 OP_CHECKSIG 12188693 OP_CODE

Re: [Bitcoin-development] Bitcoin script opcode counts

2012-07-25 Thread Jeff Garzik
On Thu, Jul 26, 2012 at 1:50 AM, Jeff Garzik wrote: > Just run a query over the entire blockchain, looking at script opcode > use. I counted the number of times each opcode was used, in total: > https://gist.github.com/3180470 And here is the testnet3 data: https://gist.github.com/3180486 -- Je