Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: 3331d6098ba6b1605bfdaaa2de1becfc77e94d74
https://github.com/btcsuite/btcd/commit/3331d6098ba6b1605bfdaaa2de1becfc77e94d74
Author: David Hill <[email protected]>
Date: 2015-08-03 (Mon, 03 Aug 2015)
Changed paths:
M mempool.go
M txscript/script.go
M txscript/script_test.go
Log Message:
-----------
txscript: New function IsUnspendable
IsUnspendable takes a public key script and returns whether it is
spendable.
Additionally, hook this into the mempool isDust function, since
unspendable outputs can't be spent.
This mimics Bitcoin Core commit 0aad1f13b2430165062bf9436036c1222a8724da