lbcd/ldb
David Hill 1b51d58e55 In FetchHeightRange, preallocate the hash array.
Change FetchBlockByHeight to do the database lookup itself instead of
calling getBlkByHeight.  This saves an allocation of the entire block,
which it wasn't using.

In OpenDB, use fetchBlockShaByHeight instead of getBlkByHeight since it
only needs the sha.  This saves memory on startup.

ok drahn@
2014-03-20 16:10:52 -04:00
..
dbtest Update ldb/dbtest to latest goleveldb API. 2014-01-18 21:06:10 -06:00
block.go In FetchHeightRange, preallocate the hash array. 2014-03-20 16:10:52 -04:00
boundary_test.go Add 2014 to copyright dates. 2014-01-08 23:54:52 -06:00
doc.go Add 2014 to copyright dates. 2014-01-08 23:54:52 -06:00
dup_test.go Add 2014 to copyright dates. 2014-01-08 23:54:52 -06:00
insertremove_test.go Prune the btcddb.Db interface. 2014-01-19 18:01:05 -06:00
internal_test.go Add 2014 to copyright dates. 2014-01-08 23:54:52 -06:00
leveldb.go In FetchHeightRange, preallocate the hash array. 2014-03-20 16:10:52 -04:00
operational_test.go Prune the btcddb.Db interface. 2014-01-19 18:01:05 -06:00
tx.go Add 2014 to copyright dates. 2014-01-08 23:54:52 -06:00