Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: 264c89099f75a591ab7dc94c97bbc98d9eb3d2a3
https://github.com/conformal/btcd/commit/264c89099f75a591ab7dc94c97bbc98d9eb3d2a3
Author: Dave Collins <[email protected]>
Date: 2014-02-19 (Wed, 19 Feb 2014)
Changed paths:
M mempool.go
Log Message:
-----------
Make non-canoncial data pushes non-standard.
This commit makes use of the new btcscript.HasCanonicalPushes to enforce
canonical data pushes for transactions that are considered standard.
A canonical data push is one where the fewest number of bytes possible to
encode the size of the data being pushed is used. This includes using the
small integer opcodes for single byte data that can be represented
directly.