lbcd/ldb
Dave Collins 19880b177e 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.
2013-10-26 20:21:30 -05:00
..
dbtest Update imports for goleveldb to Conformal fork. 2013-10-04 11:41:00 -05:00
block.go Introduce an API change for btcdb 2013-10-03 16:51:34 -04:00
boundary_test.go Version the leveldb (and keep compatibility with pre-versioned uncompressed databases. 2013-09-25 17:23:34 -04:00
dbcache.go Add Api to fetch potentially fully spent tx (most recent only) 2013-10-13 14:58:32 -04:00
doc.go Remove sqlitedb from the common tests. 2013-10-22 15:28:32 -05:00
insertremove_test.go Move testdata to root btcd directory. 2013-10-12 01:49:57 -05:00
internal_test.go Initial leveldb code. 2013-08-22 09:34:50 -04:00
leveldb.go Optimize InsertBlock with cached tx hashes. 2013-10-26 20:21:30 -05:00
operational_test.go Move testdata to root btcd directory. 2013-10-12 01:49:57 -05:00
tx.go One DB instad of many. 2013-09-10 10:05:26 -04:00