From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1SuHRM-0003dC-Ap for bitcoin-development@lists.sourceforge.net; Thu, 26 Jul 2012 06:20:52 +0000 X-ACL-Warn: Received: from mail-qc0-f175.google.com ([209.85.216.175]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1SuHRI-00049H-Dr for bitcoin-development@lists.sourceforge.net; Thu, 26 Jul 2012 06:20:52 +0000 Received: by qcad10 with SMTP id d10so977514qca.34 for ; Wed, 25 Jul 2012 23:20:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=2hoPYJbPShdNCWub8+3vFRIRZNXxFD5MsZYQzhPoyvU=; b=Pr/uJJ/oK+TFUIRtS+sH8yGzJtQzv6jGVObt/Rm+eqhCxNzzTo7KkBBvUYKDFNVAwc eWh48yklrFPONuj7fsTlyxB5B+uHX486r/OCp2kTo0p43jVmxsMVee77emig7OSXBVD7 SMYmFuIzetvpL9eoS168LeYxnNq1crFx2WMYbCfwk6n8qlOIQLNd1gupNSSFQeoia/0D kHvWOFB2QWamgNA0fScC3NAhPt/WBBwdaEFYsQ3ulro5eLU5nfXwZkCw+2Vp1ThUmk2i Pv+HcTo2HMfrqlN4yMW4fij7DSuLaEnYT6/gF0TjYdT35g2k/q4BtXEZlep9R+gJMq3K UXVQ== MIME-Version: 1.0 Received: by 10.224.202.73 with SMTP id fd9mr1369115qab.23.1343281808715; Wed, 25 Jul 2012 22:50:08 -0700 (PDT) Received: by 10.49.38.136 with HTTP; Wed, 25 Jul 2012 22:50:08 -0700 (PDT) X-Originating-IP: [2001:4830:1603:2:21c:c0ff:fe79:c8c2] Date: Thu, 26 Jul 2012 01:50:08 -0400 Message-ID: From: Jeff Garzik To: Bitcoin Development Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkMs+8f7PZEY2XAeCBqcwrmUa1WmN/G9HAthNbu9ixWrTHkrJp2+g/5HQdjJdTkt62UFBdD X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. X-Headers-End: 1SuHRI-00049H-Dr Subject: [Bitcoin-development] Bitcoin script opcode counts X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 06:20:52 -0000 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_CODESEPARATOR 14 OP_DEPTH 182 OP_DROP 19 OP_DUP 11699991 OP_EQUAL 88 OP_EQUALVERIFY 11699985 OP_HASH160 11700067 OP_IF 182 OP_IFDUP 182 OP_MIN 4 OP_NOP1 1 OP_NOP2 15 OP_NOP 5 OP_PUSHDATA1 18 OP_PUSHDATA2 4 OP_PUSHDATA 32350369 OP_SHA256 2 OP_VERIFY 182 -- Jeff Garzik exMULTI, Inc. jgarzik@exmulti.com