Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: a4a52ae24f2244a23f13f829aa3632dd0de52d6c
https://github.com/btcsuite/btcd/commit/a4a52ae24f2244a23f13f829aa3632dd0de52d6c
Author: Dave Collins <[email protected]>
Date: 2015-04-17 (Fri, 17 Apr 2015)
Changed paths:
M blockchain/common_test.go
M blockmanager.go
M chaincfg/genesis_test.go
M cpuminer.go
M database/ldb/insertremove_test.go
M database/ldb/operational_test.go
M database/ldb/tx.go
M database/memdb/memdb.go
M database/memdb/memdb_test.go
M log.go
M rpcserver.go
M txscript/example_test.go
M txscript/internal_test.go
M wire/blockheader.go
M wire/msgblock.go
M wire/msgblock_test.go
M wire/msgtx.go
M wire/msgtx_test.go
Log Message:
-----------
wire: Remove errs from BlockHeader/MsgBlock/MsgTx.
This commit removes the error returns from the BlockHeader.BlockSha,
MsgBlock.BlockSha, and MsgTx.TxSha functions since they can never fail and
end up causing a lot of unneeded error checking throughout the code base.
It also updates all call sites for the change.