Branch: refs/heads/master
Home: https://github.com/conformal/btcdb
Commit: 19880b177e1ebb08ea7f98d22af3143234f44c6b
https://github.com/conformal/btcdb/commit/19880b177e1ebb08ea7f98d22af3143234f44c6b
Author: Dave Collins <[email protected]>
Date: 2013-10-26 (Sat, 26 Oct 2013)
Changed paths:
M ldb/leveldb.go
Log Message:
-----------
Optimize InsertBlock with cached tx hashes.
This commit optimizes InsertBlock slightly by using the cached transaction
hashes instead of recomputing them. Also, while here, use the
ShaHash.IsEqual function to do comparisons for consistency.
This is ongoing work towards conformal/btcd#25.
ok @drahn.