Branch: refs/heads/master
Home: https://github.com/conformal/btcchain
Commit: 67ebfa0e80f4711bd19f99525b3c47bbfd71ad91
https://github.com/conformal/btcchain/commit/67ebfa0e80f4711bd19f99525b3c47bbfd71ad91
Author: Dave Collins <[email protected]>
Date: 2014-03-24 (Mon, 24 Mar 2014)
Changed paths:
M validate.go
Log Message:
-----------
Update checkBIP0030 to not use deprecated function.
Rather than using the deprecated TxShas function on a btcutil.Block,
convert the checkBIP0030 to use the newer preferred method of ranging over
the Transactions to obtain the cached hash of each transaction.
This is also a little more efficient since it can avoid creating and
caching an extra slice to keep the hashes in addition to having the hash
cached with each transaction.