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. |
||
---|---|---|
.. | ||
dbtest | ||
block.go | ||
boundary_test.go | ||
dbcache.go | ||
doc.go | ||
insertremove_test.go | ||
internal_test.go | ||
leveldb.go | ||
operational_test.go | ||
tx.go |