Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: a02af039b52c1faadfc4bf9431cc2854bc4f3858
      
https://github.com/btcsuite/btcd/commit/a02af039b52c1faadfc4bf9431cc2854bc4f3858
  Author: Dave Collins <[email protected]>
  Date:   2013-05-28 (Tue, 28 May 2013)

  Changed paths:
    A .gitignore
    A README.md

  Log Message:
  -----------
  Initial commit.


  Commit: 752ca5dfbb81c13e4f836d65c46e956fe9582d5c
      
https://github.com/btcsuite/btcd/commit/752ca5dfbb81c13e4f836d65c46e956fe9582d5c
  Author: Dave Collins <[email protected]>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    A LICENSE
    M README.md
    A db.go
    A doc.go
    A log.go
    A sqlite3/doc.go
    A sqlite3/internal_test.go
    A sqlite3/operational_test.go
    A sqlite3/sqlite.go
    A sqlite3/sqliteblock.go
    A sqlite3/sqliteblock_test.go
    A sqlite3/sqlitedbcache.go
    A sqlite3/sqlitetx.go
    A sqlite3/testdata/blocks1-256.bz2

  Log Message:
  -----------
  Initial implementation.


  Commit: a2e3fd92b0e5fb20b70a0ab0db1d00bc81cc77c1
      
https://github.com/btcsuite/btcd/commit/a2e3fd92b0e5fb20b70a0ab0db1d00bc81cc77c1
  Author: Owain G. Ainsworth <[email protected]>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M sqlite3/sqlite.go

  Log Message:
  -----------
  Only try to drop the uniquetx index if it exists.

Solves a corner case after a crash.


  Commit: 184630782184135278dfa9979c40482043ee7715
      
https://github.com/btcsuite/btcd/commit/184630782184135278dfa9979c40482043ee7715
  Author: Dave Collins <[email protected]>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M sqlite3/operational_test.go
    M sqlite3/sqliteblock_test.go

  Log Message:
  -----------
  Use correct import path in btcdb tests.


  Commit: 21b8011155d8148a85101e2adb587b4c49eb3e4a
      
https://github.com/btcsuite/btcd/commit/21b8011155d8148a85101e2adb587b4c49eb3e4a
  Author: Dave Collins <[email protected]>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M sqlite3/sqliteblock_test.go

  Log Message:
  -----------
  Remove log setup from tests as they don't need it.


  Commit: 9bf708595d9a94ed5c2b68677b5febeeb7b26f0d
      
https://github.com/btcsuite/btcd/commit/9bf708595d9a94ed5c2b68677b5febeeb7b26f0d
  Author: Dave Collins <[email protected]>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M db.go
    M sqlite3/sqliteblock_test.go

  Log Message:
  -----------
  Add InsertBlockData needed by tests to interface.

The function is being added back in since the tests rely on it, but it is
marked as DEPRECATED since it really should not be a part of the public
generic db interface.


  Commit: e30ceb59475bd17e99776ec4325c4cd34c7313d6
      
https://github.com/btcsuite/btcd/commit/e30ceb59475bd17e99776ec4325c4cd34c7313d6
  Author: Dave Collins <[email protected]>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M sqlite3/operational_test.go

  Log Message:
  -----------
  Cleanup and fix operational tests.

This commit makes several changes to the operation tests as follows:

- Ensure the database is closed between each operational mode test as
  otherwise  the database is locked when trying to reopening it which
  makes it unusable
- Make the insert tests error after a single failure since every test
  afterwards is guaranteed to fail as well
- Remove some of the logging statements which cluttered up the failed test
  prints making it harder to see why a given test failed
- Make a couple of the log messages more descriptive


  Commit: c97c8f17a43d3eebf8f431b0d51aeafdb33f38d0
      
https://github.com/btcsuite/btcd/commit/c97c8f17a43d3eebf8f431b0d51aeafdb33f38d0
  Author: Dave Collins <[email protected]>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    A cov_report.sh
    A test_coverage.txt

  Log Message:
  -----------
  Add test coverage report and generate script.

Both of these items were referenced in the README.md, but were not
in the repository.


  Commit: f6c3d6d57afecdee8de6c150b4ce7c77c3082ed6
      
https://github.com/btcsuite/btcd/commit/f6c3d6d57afecdee8de6c150b4ce7c77c3082ed6
  Author: Dave Collins <[email protected]>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Fix typo in README.md.


  Commit: 6ac2a9b934029e4ba4c74298e80a3e7e547348e4
      
https://github.com/btcsuite/btcd/commit/6ac2a9b934029e4ba4c74298e80a3e7e547348e4
  Author: Dave Collins <[email protected]>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Add note to README.md that Db interface may change.


  Commit: b4e38662ba9d8e57c37a1192c237d86efdce9fa6
      
https://github.com/btcsuite/btcd/commit/b4e38662ba9d8e57c37a1192c237d86efdce9fa6
  Author: Dave Collins <[email protected]>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Update README.md.


  Commit: e76c83b27fc829f65d29bd6d511a7a57c93f1bc2
      
https://github.com/btcsuite/btcd/commit/e76c83b27fc829f65d29bd6d511a7a57c93f1bc2
  Author: Dave Collins <[email protected]>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Fix typo in README.md.


  Commit: 684582cde6fd07fe9655f07b2b9587462ffc59e4
      
https://github.com/btcsuite/btcd/commit/684582cde6fd07fe9655f07b2b9587462ffc59e4
  Author: Dave Collins <[email protected]>
  Date:   2013-05-30 (Thu, 30 May 2013)

  Changed paths:
    M db.go

  Log Message:
  -----------
  Cleanup the Db interface comments a bit.


  Commit: bea4ccbeef330274ebcfeb019694c34b0e8b1593
      
https://github.com/btcsuite/btcd/commit/bea4ccbeef330274ebcfeb019694c34b0e8b1593
  Author: Dave Collins <[email protected]>
  Date:   2013-05-30 (Thu, 30 May 2013)

  Changed paths:
    M db.go

  Log Message:
  -----------
  Finish incomplete comment.


  Commit: 7416e9a71d7791f0645667f6d76f1f961669ddb6
      
https://github.com/btcsuite/btcd/commit/7416e9a71d7791f0645667f6d76f1f961669ddb6
  Author: Dave Collins <[email protected]>
  Date:   2013-05-30 (Thu, 30 May 2013)

  Changed paths:
    M db.go
    M sqlite3/sqliteblock.go
    M sqlite3/sqliteblock_test.go
    M sqlite3/sqlitedbcache.go

  Log Message:
  -----------
  Rename funcs and variables for Idx to Height.

The Db interface is intended to work with block heights as opposed to
specific database ids which may or may not be the same as the block
height.  This commits changes the function names to make that distinction
a little more clear.


  Commit: fac055c24e653866946189f4e21beda82ceec3b5
      
https://github.com/btcsuite/btcd/commit/fac055c24e653866946189f4e21beda82ceec3b5
  Author: Dave Collins <[email protected]>
  Date:   2013-05-31 (Fri, 31 May 2013)

  Changed paths:
    M db.go

  Log Message:
  -----------
  Add comments to clarify interface function caching.

This commit attempts to clarify which functions in the Db interface may be
returning cached data that the InvalidateCache, InvalidateBlockCache, and
InvalidateTxCache functions are used to clear.


  Commit: b686bbacf58b21c05ea6b733be3bd87caa695e71
      
https://github.com/btcsuite/btcd/commit/b686bbacf58b21c05ea6b733be3bd87caa695e71
  Author: Dave Collins <[email protected]>
  Date:   2013-05-31 (Fri, 31 May 2013)

  Changed paths:
    M doc.go

  Log Message:
  -----------
  Update and fix usage example.

This commit updates the usage example as follows:

- Add a defer db.Close since the database should be closed after the
  caller is done with it
- Correct the import path for the btcdb/sqlite3 package
- Add a db extension to the example database name
- Make the error handling and comments match the standard style


  Commit: 64568826f1c0b197ab52cb80c21eea97a161c6b5
      
https://github.com/btcsuite/btcd/commit/64568826f1c0b197ab52cb80c21eea97a161c6b5
  Author: Dave Collins <[email protected]>
  Date:   2013-05-31 (Fri, 31 May 2013)

  Changed paths:
    M db.go
    M sqlite3/sqliteblock_test.go

  Log Message:
  -----------
  Correct spelling of nonexistent.


  Commit: 5882b3c79a805467b975313cbb0f46c5b7a74f83
      
https://github.com/btcsuite/btcd/commit/5882b3c79a805467b975313cbb0f46c5b7a74f83
  Author: Dave Collins <[email protected]>
  Date:   2013-05-31 (Fri, 31 May 2013)

  Changed paths:
    M db.go

  Log Message:
  -----------
  Change Tx to transaction in user facing error.


  Commit: 8d8fdf4fc1c169f90f9717f31eea2426065f8420
      
https://github.com/btcsuite/btcd/commit/8d8fdf4fc1c169f90f9717f31eea2426065f8420
  Author: Dave Collins <[email protected]>
  Date:   2013-05-31 (Fri, 31 May 2013)

  Changed paths:
    M db.go

  Log Message:
  -----------
  Add documentation for Db interface.


  Commit: 10d981974cf59f4e408e481de8c28b8a1ead3f69
      
https://github.com/btcsuite/btcd/commit/10d981974cf59f4e408e481de8c28b8a1ead3f69
  Author: Dave Collins <[email protected]>
  Date:   2013-05-31 (Fri, 31 May 2013)

  Changed paths:
    M db.go
    M log.go

  Log Message:
  -----------
  Add documentation for functions and types.


  Commit: 2c0dc2d862e6ab636f89c27d43c4a4027e713bb6
      
https://github.com/btcsuite/btcd/commit/2c0dc2d862e6ab636f89c27d43c4a4027e713bb6
  Author: Steven Roose <[email protected]>
  Date:   2013-06-01 (Sat, 01 Jun 2013)

  Changed paths:
    M doc.go

  Log Message:
  -----------
  Small errors in documentation.

I could not resist while reading.


  Commit: 166a546078426798175bfae320dda2ed1f36b0d0
      
https://github.com/btcsuite/btcd/commit/166a546078426798175bfae320dda2ed1f36b0d0
  Author: Dave Collins <[email protected]>
  Date:   2013-06-25 (Tue, 25 Jun 2013)

  Changed paths:
    M db.go
    M sqlite3/sqlite.go

  Log Message:
  -----------
  Modify DropAfterBlockBySha to accept a pointer.

Since all other functions take pointers, this makes the interface more
consistent.


  Commit: 1f773006f05aef67bbeaee15f3eb8ded5af9dd42
      
https://github.com/btcsuite/btcd/commit/1f773006f05aef67bbeaee15f3eb8ded5af9dd42
  Author: Owain G. Ainsworth <[email protected]>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M sqlite3/sqliteblock_test.go

  Log Message:
  -----------
  fix tests building from 166a546078426798175bfae320dda2ed1f36b0d0


  Commit: a7a9023bc1bcbfe8063a22436c7c1cdd15da42c8
      
https://github.com/btcsuite/btcd/commit/a7a9023bc1bcbfe8063a22436c7c1cdd15da42c8
  Author: Owain G. Ainsworth <[email protected]>
  Date:   2013-07-10 (Wed, 10 Jul 2013)

  Changed paths:
    M db.go
    M sqlite3/operational_test.go
    M sqlite3/sqlite.go
    M sqlite3/sqlitetx.go
    M test_coverage.txt

  Log Message:
  -----------
  Add ExistsTxSha to db interface.

This function may be used to check for existance of a tx sha without having to
fetch the data from the db.


  Commit: 66731c1a1ea36eb7723b9b106772a7e3580338cb
      
https://github.com/btcsuite/btcd/commit/66731c1a1ea36eb7723b9b106772a7e3580338cb
  Author: Dale Rahn <[email protected]>
  Date:   2013-07-18 (Thu, 18 Jul 2013)

  Changed paths:
    M db.go
    A sqlite3/insertremove_test.go
    M sqlite3/operational_test.go
    M sqlite3/sqlite.go
    M sqlite3/sqliteblock.go
    R sqlite3/sqliteblock_test.go
    M sqlite3/sqlitedbcache.go
    M sqlite3/sqlitetx.go

  Log Message:
  -----------
  Implement TxOut Spend tracking.

Return spent data in TxListReply.

Unspend coins when blocks are removed during DropAfterBlock.


  Commit: bee05db6037b925e6bf1f8026ec06a27e2a03757
      
https://github.com/btcsuite/btcd/commit/bee05db6037b925e6bf1f8026ec06a27e2a03757
  Author: Dale Rahn <[email protected]>
  Date:   2013-07-18 (Thu, 18 Jul 2013)

  Changed paths:
    M sqlite3/insertremove_test.go
    M sqlite3/sqlite.go
    M sqlite3/sqlitedbcache.go

  Log Message:
  -----------
  Exunge debug code.


  Commit: 92651c6d138cd0dc19824de7d54bed0cb2145e4f
      
https://github.com/btcsuite/btcd/commit/92651c6d138cd0dc19824de7d54bed0cb2145e4f
  Author: Dale Rahn <[email protected]>
  Date:   2013-07-19 (Fri, 19 Jul 2013)

  Changed paths:
    M sqlite3/sqlite.go

  Log Message:
  -----------
  Fix spent computation on a multiple of 8 txout tx.


  Commit: 584481280c961ee3877af324d8f010fbc7191d68
      
https://github.com/btcsuite/btcd/commit/584481280c961ee3877af324d8f010fbc7191d68
  Author: Dave Collins <[email protected]>
  Date:   2013-07-29 (Mon, 29 Jul 2013)

  Changed paths:
    M sqlite3/sqlite.go

  Log Message:
  -----------
  Print actual hash on a couple of log warnings.

The blocksha variable is already a pointer.


  Commit: 25684a2ccb3c87ef8d4a9a7231efb95113b4d071
      
https://github.com/btcsuite/btcd/commit/25684a2ccb3c87ef8d4a9a7231efb95113b4d071
  Author: Dave Collins <[email protected]>
  Date:   2013-07-29 (Mon, 29 Jul 2013)

  Changed paths:
    M README.md
    M db.go
    M doc.go
    M sqlite3/insertremove_test.go
    M sqlite3/operational_test.go
    M sqlite3/sqlite.go
    M sqlite3/sqliteblock.go

  Log Message:
  -----------
  Don't add a genesis block by default.

This commit modifies the way initial database creation is handled.

Previously, the genesis for the main chain was inserted automatically upon
creation of the database.  However, that approach caused an issue since
other networks such as the test network don't use the same genesis block
as the main network.

The new approach introduced by this commit is to leave it up to the caller
to insert the desired genesis block.  In order to support this, the
InsertBlock function has been modified to allow the first (and only the
first) block to be inserted without having an existing parent.  Also, the
NewestSha function has been modified to return a zero hash, -1 for the
height, and no error when the database does not yet have any blocks.  This
allows the caller to determine the difference between no blocks and only
the genesis block (in which case the return values would be the genesis
hash and 0 for the height).


  Commit: dc3a2dbac0bf36ba9e129a7e7922d341da4d547b
      
https://github.com/btcsuite/btcd/commit/dc3a2dbac0bf36ba9e129a7e7922d341da4d547b
  Author: Dave Collins <[email protected]>
  Date:   2013-07-29 (Mon, 29 Jul 2013)

  Changed paths:
    M README.md
    M doc.go

  Log Message:
  -----------
  Correct example usage.

The variable to insert is 'genesis', not 'block'.


  Commit: f205ff5ac01ff80c72789fb490ffe1b826ba8d77
      
https://github.com/btcsuite/btcd/commit/f205ff5ac01ff80c72789fb490ffe1b826ba8d77
  Author: Dale Rahn <[email protected]>
  Date:   2013-07-31 (Wed, 31 Jul 2013)

  Changed paths:
    M sqlite3/sqlitedbcache.go
    M sqlite3/sqlitetx.go

  Log Message:
  -----------
  External API functions need to grab locks before performing internal database 
operations.

Untangle internal and external functions, to prevent recursive locks


  Commit: b46d53c18e16396bbe4b554d6c0935f3f9f1925a
      
https://github.com/btcsuite/btcd/commit/b46d53c18e16396bbe4b554d6c0935f3f9f1925a
  Author: Dale Rahn <[email protected]>
  Date:   2013-08-01 (Thu, 01 Aug 2013)

  Changed paths:
    M sqlite3/operational_test.go

  Log Message:
  -----------
  Test NewestSha()


  Commit: ead14e5a12f9d6b458ffb3984686aaefa44aa3dd
      
https://github.com/btcsuite/btcd/commit/ead14e5a12f9d6b458ffb3984686aaefa44aa3dd
  Author: Dale Rahn <[email protected]>
  Date:   2013-08-01 (Thu, 01 Aug 2013)

  Changed paths:
    M sqlite3/operational_test.go

  Log Message:
  -----------
  Testing code for FetchHeightRange()


  Commit: 85d97d74369b8113f58045844cbd150008923dd8
      
https://github.com/btcsuite/btcd/commit/85d97d74369b8113f58045844cbd150008923dd8
  Author: Dale Rahn <[email protected]>
  Date:   2013-08-02 (Fri, 02 Aug 2013)

  Changed paths:
    A leveldb/block.go
    A leveldb/dbcache.go
    A leveldb/doc.go
    A leveldb/insertremove_test.go
    A leveldb/internal_test.go
    A leveldb/leveldb.go
    A leveldb/operational_test.go
    A leveldb/testdata/blocks1-256.bz2
    A leveldb/tx.go

  Log Message:
  -----------
  block converted.


  Commit: d8c3213d999f70d99428ecd40f45d516205f06e6
      
https://github.com/btcsuite/btcd/commit/d8c3213d999f70d99428ecd40f45d516205f06e6
  Author: Dale Rahn <[email protected]>
  Date:   2013-08-03 (Sat, 03 Aug 2013)

  Changed paths:
    R leveldb/block.go
    R leveldb/dbcache.go
    R leveldb/doc.go
    R leveldb/insertremove_test.go
    R leveldb/internal_test.go
    R leveldb/leveldb.go
    R leveldb/operational_test.go
    R leveldb/testdata/blocks1-256.bz2
    R leveldb/tx.go

  Log Message:
  -----------
  more


  Commit: 3b743e4cfc6c84801c7cd0019f617632a30f02e1
      
https://github.com/btcsuite/btcd/commit/3b743e4cfc6c84801c7cd0019f617632a30f02e1
  Author: Dale Rahn <[email protected]>
  Date:   2013-08-03 (Sat, 03 Aug 2013)

  Changed paths:
    A sqlite3/insertfail_test.go
    M sqlite3/internal_test.go
    M sqlite3/sqlite.go
    M sqlite3/sqlitedbcache.go

  Log Message:
  -----------
  Cleanup after insert failure, do not leave inconsistant db.

Fix error returns in InsertBlock and FetchBlockBySha

Give up on return by name in InsertBlock() and return explicit
err one location in FetchBlockBySha to return proper error value


  Commit: 8062889d043a806a671a41c63a8cec39287a3759
      
https://github.com/btcsuite/btcd/commit/8062889d043a806a671a41c63a8cec39287a3759
  Author: Dave Collins <[email protected]>
  Date:   2013-08-05 (Mon, 05 Aug 2013)

  Changed paths:
    M README.md
    M doc.go
    M sqlite3/insertremove_test.go
    M sqlite3/operational_test.go
    M sqlite3/sqlite.go
    M sqlite3/sqlitedbcache.go

  Log Message:
  -----------
  Update for latest btcutil and btcwire changes.

This commit updates the calls into btcutil and btcwire for the latest API
changes which remove the need for the protocol version for serialization
and deserialization of blocks and transactions.


  Commit: 519e183151ca64b0731f620c3542bedb881d7482
      
https://github.com/btcsuite/btcd/commit/519e183151ca64b0731f620c3542bedb881d7482
  Author: Dave Collins <[email protected]>
  Date:   2013-08-06 (Tue, 06 Aug 2013)

  Changed paths:
    M sqlite3/insertfail_test.go

  Log Message:
  -----------
  Update the insertfail test for the latest changes.


  Commit: 840708a3e7abe7c33913c50e499f00b7c6b5cc40
      
https://github.com/btcsuite/btcd/commit/840708a3e7abe7c33913c50e499f00b7c6b5cc40
  Author: Owain G. Ainsworth <[email protected]>
  Date:   2013-08-06 (Tue, 06 Aug 2013)

  Changed paths:
    M sqlite3/operational_test.go

  Log Message:
  -----------
  Fix up some format strings to appease go vet.

Extra argument present when no format directive for it (and not needed,
either).


  Commit: b4c6a5b8abe7fa009747ee37a4704c4be6886d90
      
https://github.com/btcsuite/btcd/commit/b4c6a5b8abe7fa009747ee37a4704c4be6886d90
  Author: Dale Rahn <[email protected]>
  Date:   2013-08-22 (Thu, 22 Aug 2013)

  Changed paths:
    M sqlite3/insertfail_test.go
    M sqlite3/operational_test.go
    M sqlite3/sqlite.go

  Log Message:
  -----------
  fmt


  Commit: b66abdf6ba9da677560cdc58b4c5578a5b242bf1
      
https://github.com/btcsuite/btcd/commit/b66abdf6ba9da677560cdc58b4c5578a5b242bf1
  Author: Dale Rahn <[email protected]>
  Date:   2013-08-22 (Thu, 22 Aug 2013)

  Changed paths:
    A ldb/block.go
    A ldb/dbcache.go
    A ldb/dbtest/dbtst.go
    A ldb/doc.go
    A ldb/insertremove_test.go
    A ldb/internal_test.go
    A ldb/leveldb.go
    A ldb/operational_test.go
    A ldb/testdata/blocks1-256.bz2
    A ldb/tx.go

  Log Message:
  -----------
  Initial leveldb code.

This code is still prototype at this time.
It appears to function correctly but something
consumes more memory than is considered reasonable
for the dataset comprised of the full bitcoind chain.

Not recommened for use at this time.


  Commit: 96f7305c292ccbea7006d0bfd1b9118535e271f6
      
https://github.com/btcsuite/btcd/commit/96f7305c292ccbea7006d0bfd1b9118535e271f6
  Author: Dale Rahn <[email protected]>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M ldb/block.go
    A ldb/boundary_test.go
    M ldb/dbcache.go
    M ldb/insertremove_test.go
    M ldb/leveldb.go
    M ldb/operational_test.go
    M ldb/tx.go

  Log Message:
  -----------
  One DB instad of many.

improved error handling

Fix testing, no point in running tests multiple times

Fix error when no blocks in database, reopen would misreport NewstSha() return


  Commit: 66d6f10d5dcbf6ece82070514a24c63e513e687f
      
https://github.com/btcsuite/btcd/commit/66d6f10d5dcbf6ece82070514a24c63e513e687f
  Author: Dave Collins <[email protected]>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M ldb/block.go

  Log Message:
  -----------
  Fix NewestSha.


  Commit: 30f20033014bab65e729740221d6ce4a372e591c
      
https://github.com/btcsuite/btcd/commit/30f20033014bab65e729740221d6ce4a372e591c
  Author: Dave Collins <[email protected]>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M ldb/leveldb.go

  Log Message:
  -----------
  Remove spurious log.Info prints.


  Commit: 85553133ce04cc8809d37f6aab929f003650057a
      
https://github.com/btcsuite/btcd/commit/85553133ce04cc8809d37f6aab929f003650057a
  Author: Dave Collins <[email protected]>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M ldb/boundary_test.go
    M ldb/leveldb.go
    M ldb/operational_test.go

  Log Message:
  -----------
  gofmt.


  Commit: adc73cbc9daafde824571f847c15d4565dda2b3e
      
https://github.com/btcsuite/btcd/commit/adc73cbc9daafde824571f847c15d4565dda2b3e
  Author: Dale Rahn <[email protected]>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M ldb/block.go
    M ldb/leveldb.go

  Log Message:
  -----------
  quiet.


  Commit: d9404fe88017921072bcfc15305e0700c35adb47
      
https://github.com/btcsuite/btcd/commit/d9404fe88017921072bcfc15305e0700c35adb47
  Author: Dave Collins <[email protected]>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M ldb/boundary_test.go

  Log Message:
  -----------
  Correct test for zero hash versus nil on empty db.


  Commit: 9049bcaceccfcbe02e5c4b79e1d661c60866c0d7
      
https://github.com/btcsuite/btcd/commit/9049bcaceccfcbe02e5c4b79e1d661c60866c0d7
  Author: Dave Collins <[email protected]>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M ldb/boundary_test.go

  Log Message:
  -----------
  Update error message for zero hash change.


  Commit: 7d679a6228d65c1a7dca81e0fe30e0423db009a8
      
https://github.com/btcsuite/btcd/commit/7d679a6228d65c1a7dca81e0fe30e0423db009a8
  Author: Dale Rahn <[email protected]>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M ldb/boundary_test.go
    M ldb/leveldb.go

  Log Message:
  -----------
  Adjust Block height indicators properly when database is created.


  Commit: 5e4c78a1b701d0a9809ab039f2baa62af0bb1cc7
      
https://github.com/btcsuite/btcd/commit/5e4c78a1b701d0a9809ab039f2baa62af0bb1cc7
  Author: Dale Rahn <[email protected]>
  Date:   2013-09-13 (Fri, 13 Sep 2013)

  Changed paths:
    M sqlite3/sqliteblock.go

  Log Message:
  -----------
  Fix a shadowed return parameter.


  Commit: 9e27c82a231fc2073e4e7d72a67889fa98f71b60
      
https://github.com/btcsuite/btcd/commit/9e27c82a231fc2073e4e7d72a67889fa98f71b60
  Author: Dale Rahn <[email protected]>
  Date:   2013-09-13 (Fri, 13 Sep 2013)

  Changed paths:
    M ldb/operational_test.go

  Log Message:
  -----------
  Fix error messages (pointed out by go vet)


  Commit: 1530141ba0a0a027fb905eaf70e7380b61b730be
      
https://github.com/btcsuite/btcd/commit/1530141ba0a0a027fb905eaf70e7380b61b730be
  Author: Dale Rahn <[email protected]>
  Date:   2013-09-13 (Fri, 13 Sep 2013)

  Changed paths:
    M sqlite3/sqliteblock.go

  Log Message:
  -----------
  This query should be performed as part of the transaction, not outside it.


  Commit: a2946ea14bbe097e23ae51661c54552b373a5907
      
https://github.com/btcsuite/btcd/commit/a2946ea14bbe097e23ae51661c54552b373a5907
  Author: Dave Collins <[email protected]>
  Date:   2013-09-13 (Fri, 13 Sep 2013)

  Changed paths:
    M ldb/leveldb.go

  Log Message:
  -----------
  Don't add "btcd.ldb" directory to provided path.


  Commit: 62e38e29e539b1eb33b2c3cc79415d0beded57d8
      
https://github.com/btcsuite/btcd/commit/62e38e29e539b1eb33b2c3cc79415d0beded57d8
  Author: Dave Collins <[email protected]>
  Date:   2013-09-15 (Sun, 15 Sep 2013)

  Changed paths:
    M db.go

  Log Message:
  -----------
  Add a new function named SupportedDBs.

This function allows the callers to programatically ascertain which
database backend drivers are registered and therefore supported.


  Commit: 18b3e86179ce32cb42be6f4ea42764b03e0bfa2c
      
https://github.com/btcsuite/btcd/commit/18b3e86179ce32cb42be6f4ea42764b03e0bfa2c
  Author: David Hill <[email protected]>
  Date:   2013-09-23 (Mon, 23 Sep 2013)

  Changed paths:
    M ldb/dbcache.go

  Log Message:
  -----------
  FetchTxAllBySha needs to return err to the caller.
ok drahn@


  Commit: 0e98349c9818d93aa0154e8c1a207869ab75ea65
      
https://github.com/btcsuite/btcd/commit/0e98349c9818d93aa0154e8c1a207869ab75ea65
  Author: Marco Peereboom <[email protected]>
  Date:   2013-09-25 (Wed, 25 Sep 2013)

  Changed paths:
    M ldb/leveldb.go

  Log Message:
  -----------
  disable compression, don't use cache and limit open files


  Commit: 3640f6d37c224d0510d91e3aa604beacd606f069
      
https://github.com/btcsuite/btcd/commit/3640f6d37c224d0510d91e3aa604beacd606f069
  Author: Dale Rahn <[email protected]>
  Date:   2013-09-25 (Wed, 25 Sep 2013)

  Changed paths:
    M ldb/boundary_test.go
    M ldb/doc.go
    M ldb/insertremove_test.go
    M ldb/leveldb.go
    M ldb/operational_test.go

  Log Message:
  -----------
  Version the leveldb (and keep compatibility with pre-versioned uncompressed 
databases.


  Commit: e840c8314ce062cdf7dc4a1c445f6d1bd09f4f6e
      
https://github.com/btcsuite/btcd/commit/e840c8314ce062cdf7dc4a1c445f6d1bd09f4f6e
  Author: Marco Peereboom <[email protected]>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M ldb/leveldb.go

  Log Message:
  -----------
  catch up with api changes


  Commit: 8d1db93c82651897222218b1eff3af8da7ae93ba
      
https://github.com/btcsuite/btcd/commit/8d1db93c82651897222218b1eff3af8da7ae93ba
  Author: Dale Rahn <[email protected]>
  Date:   2013-10-02 (Wed, 02 Oct 2013)

  Changed paths:
    M db.go

  Log Message:
  -----------
  Remove unused interfaces.


  Commit: 63f8993163c558b7561f1d0b4799d261b7a34f09
      
https://github.com/btcsuite/btcd/commit/63f8993163c558b7561f1d0b4799d261b7a34f09
  Author: Dale Rahn <[email protected]>
  Date:   2013-10-02 (Wed, 02 Oct 2013)

  Changed paths:
    M ldb/operational_test.go
    M sqlite3/insertfail_test.go
    M sqlite3/operational_test.go

  Log Message:
  -----------
  Delete testing operations from obsolete functions.


  Commit: 9abf071308d43f714b41be5dbafd5b5d7f53d80e
      
https://github.com/btcsuite/btcd/commit/9abf071308d43f714b41be5dbafd5b5d7f53d80e
  Author: David Hill <[email protected]>
  Date:   2013-10-03 (Thu, 03 Oct 2013)

  Changed paths:
    M sqlite3/sqlite.go

  Log Message:
  -----------
  increase default pagesize to 4096 on sqlite


  Commit: 78d4bfecd411d0681abef28a4e348e96ca4c070d
      
https://github.com/btcsuite/btcd/commit/78d4bfecd411d0681abef28a4e348e96ca4c070d
  Author: Dale Rahn <[email protected]>
  Date:   2013-10-03 (Thu, 03 Oct 2013)

  Changed paths:
    M sqlite3/sqliteblock.go
    M sqlite3/sqlitedbcache.go
    M sqlite3/sqlitetx.go

  Log Message:
  -----------
  Remove obsolete API functions


  Commit: 07d634c76aac7d574787c81f9f1691c402175799
      
https://github.com/btcsuite/btcd/commit/07d634c76aac7d574787c81f9f1691c402175799
  Author: Dale Rahn <[email protected]>
  Date:   2013-10-03 (Thu, 03 Oct 2013)

  Changed paths:
    M ldb/dbcache.go

  Log Message:
  -----------
  remove old API function.


  Commit: cda0b10082332fdc0f2596b03af67ee4a151cf2e
      
https://github.com/btcsuite/btcd/commit/cda0b10082332fdc0f2596b03af67ee4a151cf2e
  Author: Dale Rahn <[email protected]>
  Date:   2013-10-03 (Thu, 03 Oct 2013)

  Changed paths:
    M db.go
    M ldb/block.go
    M ldb/dbcache.go
    M ldb/insertremove_test.go
    M ldb/leveldb.go
    M ldb/operational_test.go
    M sqlite3/insertfail_test.go
    M sqlite3/insertremove_test.go
    M sqlite3/operational_test.go
    M sqlite3/sqlitedbcache.go

  Log Message:
  -----------
  Introduce an API change for btcdb

FetchTxBySha changes what it returns, it can now return a TxListReply and
and error if none are found.

FetchTxByShaList is renamed to FetchUnSpentTxByShaList to indicate that
it will (likey/eventually) only return Tx that have some unspent TxOuts.
Tx which are fully spent may not be (reliably) looked up using this API.


  Commit: e4d3f259912ab65f1ee64635bab536ded54b6ef9
      
https://github.com/btcsuite/btcd/commit/e4d3f259912ab65f1ee64635bab536ded54b6ef9
  Author: Dave Collins <[email protected]>
  Date:   2013-10-04 (Fri, 04 Oct 2013)

  Changed paths:
    M ldb/dbtest/dbtst.go
    M ldb/leveldb.go

  Log Message:
  -----------
  Update imports for goleveldb to Conformal fork.


  Commit: 6260dc959d9d2d37a38389313385dc17066af2f5
      
https://github.com/btcsuite/btcd/commit/6260dc959d9d2d37a38389313385dc17066af2f5
  Author: Dale Rahn <[email protected]>
  Date:   2013-10-11 (Fri, 11 Oct 2013)

  Changed paths:
    M ldb/leveldb.go

  Log Message:
  -----------
  When creating database, set version 1 so the correct options are set.


  Commit: 1f87ee217aafe9a20c226401b98c5390f4754b5c
      
https://github.com/btcsuite/btcd/commit/1f87ee217aafe9a20c226401b98c5390f4754b5c
  Author: Dave Collins <[email protected]>
  Date:   2013-10-12 (Sat, 12 Oct 2013)

  Changed paths:
    M ldb/insertremove_test.go
    M ldb/operational_test.go
    R ldb/testdata/blocks1-256.bz2
    M sqlite3/insertfail_test.go
    M sqlite3/insertremove_test.go
    M sqlite3/operational_test.go
    R sqlite3/testdata/blocks1-256.bz2
    A testdata/blocks1-256.bz2

  Log Message:
  -----------
  Move testdata to root btcd directory.

Rather than duplicating the same data, just put it under testsdata at the
root and access it from the modules from the parent directory.


  Commit: 2ec951189199584c2f73a0bea12d02d6e11983eb
      
https://github.com/btcsuite/btcd/commit/2ec951189199584c2f73a0bea12d02d6e11983eb
  Author: Dave Collins <[email protected]>
  Date:   2013-10-13 (Sun, 13 Oct 2013)

  Changed paths:
    M ldb/dbcache.go
    M ldb/leveldb.go
    M sqlite3/sqlitedbcache.go

  Log Message:
  -----------
  Go fmt.


  Commit: 75896b63ec221388bba096f8235c6d08c8ca1f42
      
https://github.com/btcsuite/btcd/commit/75896b63ec221388bba096f8235c6d08c8ca1f42
  Author: Dale Rahn <[email protected]>
  Date:   2013-10-13 (Sun, 13 Oct 2013)

  Changed paths:
    M db.go
    M ldb/dbcache.go
    M sqlite3/sqlitedbcache.go

  Log Message:
  -----------
  Add Api to fetch potentially fully spent tx (most recent only)

Using FetchUnSpentTxByShaList only API required unexpected contortions
in btcchain.


  Commit: a27c37793bd4b829e5740ba2708d7288704cf6e3
      
https://github.com/btcsuite/btcd/commit/a27c37793bd4b829e5740ba2708d7288704cf6e3
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    A common_test.go
    A interface_test.go

  Log Message:
  -----------
  Add basic infrastructure for interface tests.

This is simply at start at providing generic interface tests.  The only
thing is tests so far is the empty database conditions on NewestSha, but
it adds infrastructure for creating and opening databases with special
type handling based on the database and necessary logic to teardown so
multiple backends can be tested simultaneously.

This and the next series of commits all discussed with drahn@.


  Commit: 562294f938606496448f0b966ee8a279efdc8a13
      
https://github.com/btcsuite/btcd/commit/562294f938606496448f0b966ee8a279efdc8a13
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M common_test.go

  Log Message:
  -----------
  Add loadBlocks infrastructure to interface tests.


  Commit: 53ea2cf0bad3c5d9a83a5321fcce2e0b78536f7e
      
https://github.com/btcsuite/btcd/commit/53ea2cf0bad3c5d9a83a5321fcce2e0b78536f7e
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add interface test for adding a duplicate driver.

This commit adds an interface test to ensure that attempting to add a
duplicate driver for a given database type does not overwrite an existing
one.


  Commit: d4c12144969942712994ccccd1f082b8dcbc406f
      
https://github.com/btcsuite/btcd/commit/d4c12144969942712994ccccd1f082b8dcbc406f
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add interface test for create and open failures.

This commit adds an interface test to ensure that failures which occur
while creating or opening a database are properly handled.


  Commit: 82d1898b12b2e32e4b0cb359a487f7feffc7d57b
      
https://github.com/btcsuite/btcd/commit/82d1898b12b2e32e4b0cb359a487f7feffc7d57b
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add interface test for unsupported dbtype failures.

This commit adds an interface test to ensure that the interface returns
the expected error when trying to open or create an unsupported database
type.


  Commit: ff429203c429d4fa3ba82da64c4489e2772741ea
      
https://github.com/btcsuite/btcd/commit/ff429203c429d4fa3ba82da64c4489e2772741ea
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Start interface tests that require state.


  Commit: 2d84623493410e6ea13953db13296041e9dfef40
      
https://github.com/btcsuite/btcd/commit/2d84623493410e6ea13953db13296041e9dfef40
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    A db_test.go
    M interface_test.go

  Log Message:
  -----------
  Move non-interface specific tests into db_test.go.

The idea here is that interface_test.go will be directly usable in each
implementation to increase test coverage there as well, but also works at
the  top-most level to test arbitrary backends.


  Commit: 396d1b056ddf3c55a21afa09920732eab924ba83
      
https://github.com/btcsuite/btcd/commit/396d1b056ddf3c55a21afa09920732eab924ba83
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add interface test for FetchBlockBySha.

This commit adds an interface test for FetchBlockBySha to ensure it
returns the same MsgBlock and raw bytes that were inserted.


  Commit: 670d83a74e66feb6118bc3ffd3c76695a535eaa7
      
https://github.com/btcsuite/btcd/commit/670d83a74e66feb6118bc3ffd3c76695a535eaa7
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Improve error message for FetchBlockBySha test.wq


  Commit: 6eebf0218347a52d042151595beddc6bf126cbd7
      
https://github.com/btcsuite/btcd/commit/6eebf0218347a52d042151595beddc6bf126cbd7
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add interface test for FetchBlockShaByHeight.

This commit adds an interface test for FetchBlockShaByHeight to ensure it
returns the same expected hash for each block inserted block height.


  Commit: 06d6e5fce8fb28659964ab7d97d4fb2a8433a04b
      
https://github.com/btcsuite/btcd/commit/06d6e5fce8fb28659964ab7d97d4fb2a8433a04b
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add db type to test error outputs.


  Commit: f37fabb855c1a0aeaf5e3a5054a8abdc950468c3
      
https://github.com/btcsuite/btcd/commit/f37fabb855c1a0aeaf5e3a5054a8abdc950468c3
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add negative tests for FetchBlockShaByHeight.

This commit adds tests to ensure FetchBlockShaByHeight returns expected
errors when invalid heights are specified.


  Commit: 6a3824b8aae0a4704bcda25c66491038e0c416d7
      
https://github.com/btcsuite/btcd/commit/6a3824b8aae0a4704bcda25c66491038e0c416d7
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add interface test for ExistsTxSha.

This commit adds an interface test for ExistsTxSha to ensure all
transactions inserted as a part of a block are available.


  Commit: 06cb2ec817f8dfd375e228386ba17ec224c3f5a7
      
https://github.com/btcsuite/btcd/commit/06cb2ec817f8dfd375e228386ba17ec224c3f5a7
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add interface test for FetchTxBySha.

This commit adds an interface test for FetchTxBySha to ensure it returns
the same MsgTx that was part of an inserted block.


  Commit: fb5f9c0b5ac2b0aad36d4b7063864a202e43723a
      
https://github.com/btcsuite/btcd/commit/fb5f9c0b5ac2b0aad36d4b7063864a202e43723a
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Separate interface tests and add test context.

Rather than having one mammoth interface test function, create a test
context and several helper functions that accept the context.


  Commit: 2ab3e0a382be727ce7fa430104a07f86c22c5ff6
      
https://github.com/btcsuite/btcd/commit/2ab3e0a382be727ce7fa430104a07f86c22c5ff6
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add interface tests for FetchTxByShaList.


  Commit: 01af05c8ac2210e04ee7102c3f6e9f8f651aceb1
      
https://github.com/btcsuite/btcd/commit/01af05c8ac2210e04ee7102c3f6e9f8f651aceb1
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add interface tests for FetchUnSpentTxByShaList.


  Commit: c99416c1217a66be44cee2383fc31d229b0393c7
      
https://github.com/btcsuite/btcd/commit/c99416c1217a66be44cee2383fc31d229b0393c7
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Include db type in interface tests loading message.


  Commit: 9ec86518ac5655dae41b18c3062cb497aebdf277
      
https://github.com/btcsuite/btcd/commit/9ec86518ac5655dae41b18c3062cb497aebdf277
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Improve interface test error messages.

This commit changes the interface test errors to all report the block
height and hash prior to the failure.  Test failures that transactions
also now report the transaction number and hash.  The makes it much
easier to track down where a test failure occurs.


  Commit: a9d719f0c4cca70486d47b5a6607767f81150131
      
https://github.com/btcsuite/btcd/commit/a9d719f0c4cca70486d47b5a6607767f81150131
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Separate interface integrity tests.

This paves the way for executing the integrity tests multiple times.


  Commit: 54ad820133f32d1512d2a3010546551b35081c2a
      
https://github.com/btcsuite/btcd/commit/54ad820133f32d1512d2a3010546551b35081c2a
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Combine two test functions used to fetch tx lists.

The two functions are nearly identical, so rather than repeating the
test code, refactor it into a separate function that takes a flag.


  Commit: 0c8a15a9d54d4f1025aeba490e54afa5ad672fc5
      
https://github.com/btcsuite/btcd/commit/0c8a15a9d54d4f1025aeba490e54afa5ad672fc5
  Author: Dave Collins <[email protected]>
  Date:   2013-10-14 (Mon, 14 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add tests to verify integrity after clearing cache.

This commit adds the infrastructure needed to re-run the integrity tests
after calling the InvalidBlockCache, InvalidateTxCache, and
InvalidateCache functions.  The tests intentially randomize the order the
invalidate functions are called in to increase the likelyhood of finding
in issues realted to ordering of the calls.


  Commit: 3b56ccaff7748219a695a12570c34f57badd253b
      
https://github.com/btcsuite/btcd/commit/3b56ccaff7748219a695a12570c34f57badd253b
  Author: Dave Collins <[email protected]>
  Date:   2013-10-15 (Tue, 15 Oct 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add interface test for NewestSha.


  Commit: 5eee027f92235abcce144f4590427686a9d9d90c
      
https://github.com/btcsuite/btcd/commit/5eee027f92235abcce144f4590427686a9d9d90c
  Author: Dave Collins <[email protected]>
  Date:   2013-10-22 (Tue, 22 Oct 2013)

  Changed paths:
    M doc.go
    M ldb/doc.go

  Log Message:
  -----------
  Correct leveldb package documenation.

The leveldb package documentation still referred to sqlite from
original copy/paste.


  Commit: 998682ec8383a40351e772f65555a8079b78d520
      
https://github.com/btcsuite/btcd/commit/998682ec8383a40351e772f65555a8079b78d520
  Author: Dave Collins <[email protected]>
  Date:   2013-10-22 (Tue, 22 Oct 2013)

  Changed paths:
    M common_test.go
    M ldb/doc.go

  Log Message:
  -----------
  Remove sqlitedb from the common tests.

The sqlite db backend is now deprecated.


  Commit: 19880b177e1ebb08ea7f98d22af3143234f44c6b
      
https://github.com/btcsuite/btcd/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.


  Commit: 83b1e74d6c1fd157b1d76f74f5f19f2872c0e913
      
https://github.com/btcsuite/btcd/commit/83b1e74d6c1fd157b1d76f74f5f19f2872c0e913
  Author: David Hill <[email protected]>
  Date:   2013-10-26 (Sat, 26 Oct 2013)

  Changed paths:
    M ldb/leveldb.go

  Log Message:
  -----------
  Remove explicit garbage collection.


  Commit: 80981b469629c6800e4b3b2a60abcc5be92a8e8d
      
https://github.com/btcsuite/btcd/commit/80981b469629c6800e4b3b2a60abcc5be92a8e8d
  Author: Dave Collins <[email protected]>
  Date:   2013-11-01 (Fri, 01 Nov 2013)

  Changed paths:
    M interface_test.go
    M ldb/leveldb.go

  Log Message:
  -----------
  Update to no longer use deprecated TxShas.

The btcutil code was recently changed to provide a new Tx type which
provides hash caching (among other things).  As a result, the notion of
obtaining a transaction hashes via TxShas was deprecated as well.  This
commit updates the tests and backend implementation code accordingly.


  Commit: b406ca7ae7c66254d95313c80a8358cda9376967
      
https://github.com/btcsuite/btcd/commit/b406ca7ae7c66254d95313c80a8358cda9376967
  Author: Dale Rahn <[email protected]>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  If ExistsTx fails try looking up the tx, it may be fully spent.


  Commit: 078fb4d38e281d15c141f84de97d01e6691f1b84
      
https://github.com/btcsuite/btcd/commit/078fb4d38e281d15c141f84de97d01e6691f1b84
  Author: Dale Rahn <[email protected]>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M ldb/tx.go

  Log Message:
  -----------
  Delete obsolete API functions.


  Commit: 13ef0e2be973073be3c55813d22bbd60b6498c5a
      
https://github.com/btcsuite/btcd/commit/13ef0e2be973073be3c55813d22bbd60b6498c5a
  Author: Dale Rahn <[email protected]>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M ldb/block.go
    M ldb/dbcache.go
    A ldb/dup_test.go
    M ldb/insertremove_test.go
    M ldb/leveldb.go
    M ldb/tx.go

  Log Message:
  -----------
  Rework leveldb support for duplicate tx.

This separates fully spent tx from tx containing unspent TxOut
This handles duplicate tx and Ideally should be faster.


  Commit: e10cb732fd868c9c4528618d381999d0c6582c0d
      
https://github.com/btcsuite/btcd/commit/e10cb732fd868c9c4528618d381999d0c6582c0d
  Author: Dale Rahn <[email protected]>
  Date:   2013-11-07 (Thu, 07 Nov 2013)

  Changed paths:
    M ldb/tx.go

  Log Message:
  -----------
  Fix.


  Commit: ec70b6d1b38186f6e43c41f03e546a6956f2ca81
      
https://github.com/btcsuite/btcd/commit/ec70b6d1b38186f6e43c41f03e546a6956f2ca81
  Author: Dave Collins <[email protected]>
  Date:   2013-11-07 (Thu, 07 Nov 2013)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add comments which describe what is spent where.


  Commit: d2269684720afa0fa79f7b5f4c65e398304274c2
      
https://github.com/btcsuite/btcd/commit/d2269684720afa0fa79f7b5f4c65e398304274c2
  Author: Dave Collins <[email protected]>
  Date:   2013-11-08 (Fri, 08 Nov 2013)

  Changed paths:
    M common_test.go
    A memdb/doc.go
    A memdb/driver.go
    A memdb/memdb.go
    A memdb/memdb_test.go

  Log Message:
  -----------
  Add a new memory database backend named memdb.

This commit adds a new backend driver which conforms to the btcdb
interface to provide a memory only database.  This is primarily useful for
testing purposes as normal operations require a persistent block storage
mechanism.


  Commit: 3bc401fed1524baea7022ee4184eba9831e3dea1
      
https://github.com/btcsuite/btcd/commit/3bc401fed1524baea7022ee4184eba9831e3dea1
  Author: Dave Collins <[email protected]>
  Date:   2013-11-21 (Thu, 21 Nov 2013)

  Changed paths:
    M ldb/leveldb.go
    M log.go
    M memdb/driver.go
    M sqlite3/sqlite.go

  Log Message:
  -----------
  Use btclog for logging.


  Commit: fc11da9ca07e9e80e33191e1b95e241402b59669
      
https://github.com/btcsuite/btcd/commit/fc11da9ca07e9e80e33191e1b95e241402b59669
  Author: Dave Collins <[email protected]>
  Date:   2013-11-21 (Thu, 21 Nov 2013)

  Changed paths:
    M ldb/dbcache.go
    M ldb/dup_test.go
    M ldb/leveldb.go
    M ldb/tx.go

  Log Message:
  -----------
  Gofmt.


  Commit: ca502abbf25575873c751b1434060c052b049b99
      
https://github.com/btcsuite/btcd/commit/ca502abbf25575873c751b1434060c052b049b99
  Author: David Hill <[email protected]>
  Date:   2013-11-26 (Tue, 26 Nov 2013)

  Changed paths:
    M ldb/leveldb.go

  Log Message:
  -----------
  Two fixes

fix returning error on insertTx and doSpend.
clear the batch on failures as well.


  Commit: 01b6ad719640c31b7231b5a698838c263be96622
      
https://github.com/btcsuite/btcd/commit/01b6ad719640c31b7231b5a698838c263be96622
  Author: David Hill <[email protected]>
  Date:   2013-11-26 (Tue, 26 Nov 2013)

  Changed paths:
    M ldb/leveldb.go

  Log Message:
  -----------
  Reset batch on error


  Commit: 472c998c0d761fa29ef2e05ddfa2460e943033a6
      
https://github.com/btcsuite/btcd/commit/472c998c0d761fa29ef2e05ddfa2460e943033a6
  Author: Dave Collins <[email protected]>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    A .travis.yml
    M README.md

  Log Message:
  -----------
  Add support for TravisCI.

Also add TravisCI build status badge to README.md.


  Commit: 6b18796af7499df3237ab561bf878994aa655016
      
https://github.com/btcsuite/btcd/commit/6b18796af7499df3237ab561bf878994aa655016
  Author: Dave Collins <[email protected]>
  Date:   2014-01-08 (Wed, 08 Jan 2014)

  Changed paths:
    M LICENSE
    M common_test.go
    M db.go
    M db_test.go
    M doc.go
    M interface_test.go
    M ldb/block.go
    M ldb/boundary_test.go
    M ldb/dbcache.go
    M ldb/doc.go
    M ldb/dup_test.go
    M ldb/insertremove_test.go
    M ldb/internal_test.go
    M ldb/leveldb.go
    M ldb/operational_test.go
    M ldb/tx.go
    M log.go
    M memdb/doc.go
    M memdb/driver.go
    M memdb/memdb.go
    M memdb/memdb_test.go
    M sqlite3/doc.go
    M sqlite3/insertfail_test.go
    M sqlite3/insertremove_test.go
    M sqlite3/internal_test.go
    M sqlite3/operational_test.go
    M sqlite3/sqlite.go
    M sqlite3/sqliteblock.go
    M sqlite3/sqlitedbcache.go
    M sqlite3/sqlitetx.go

  Log Message:
  -----------
  Add 2014 to copyright dates.


  Commit: 6578e7345f7dafe775b56f0d2db1e08f5cd0e328
      
https://github.com/btcsuite/btcd/commit/6578e7345f7dafe775b56f0d2db1e08f5cd0e328
  Author: Marco Peereboom <[email protected]>
  Date:   2014-01-09 (Thu, 09 Jan 2014)

  Changed paths:
    M ldb/leveldb.go

  Log Message:
  -----------
  catch up to new goleveldb


  Commit: 0696c757fa68f0426fcfec9b285adc5066672dbe
      
https://github.com/btcsuite/btcd/commit/0696c757fa68f0426fcfec9b285adc5066672dbe
  Author: Dave Collins <[email protected]>
  Date:   2014-01-18 (Sat, 18 Jan 2014)

  Changed paths:
    M ldb/dbtest/dbtst.go

  Log Message:
  -----------
  Update ldb/dbtest to latest goleveldb API.


  Commit: 27bc18ba2efc9d331c446c05d372511897cc9bc5
      
https://github.com/btcsuite/btcd/commit/27bc18ba2efc9d331c446c05d372511897cc9bc5
  Author: Dave Collins <[email protected]>
  Date:   2014-01-19 (Sun, 19 Jan 2014)

  Changed paths:
    M cov_report.sh
    M test_coverage.txt

  Log Message:
  -----------
  Switch test coverage tool to new 'go tool cover'.

Also, make the coverage report test ldb and memdb instead of just sqlite3.


  Commit: 845aedf103dbe093a4287d3169cc060d27a9feeb
      
https://github.com/btcsuite/btcd/commit/845aedf103dbe093a4287d3169cc060d27a9feeb
  Author: Dave Collins <[email protected]>
  Date:   2014-01-19 (Sun, 19 Jan 2014)

  Changed paths:
    R sqlite3/doc.go
    R sqlite3/insertfail_test.go
    R sqlite3/insertremove_test.go
    R sqlite3/internal_test.go
    R sqlite3/operational_test.go
    R sqlite3/sqlite.go
    R sqlite3/sqliteblock.go
    R sqlite3/sqlitedbcache.go
    R sqlite3/sqlitetx.go

  Log Message:
  -----------
  Remove deprecated sqlite3.

The sqlite3 backend has been deprecated for quite some time.  As a result,
it has not been updated with many of the more recent changes which means
the behavior no longer conforms to the interface contract.


  Commit: d6c2492c7f5a6df1f5bc3ed0b2058fbc7bd6b37a
      
https://github.com/btcsuite/btcd/commit/d6c2492c7f5a6df1f5bc3ed0b2058fbc7bd6b37a
  Author: Dave Collins <[email protected]>
  Date:   2014-01-19 (Sun, 19 Jan 2014)

  Changed paths:
    M db.go
    M ldb/block.go
    M memdb/memdb.go

  Log Message:
  -----------
  Add FetchBlockHeightBySha/FetchBlockHeaderBySha.

This commit introduces two new functions to the btcdb.Db interface named
FetchBlockHeightBySha and FetchBlockHeaderBySha.

The FetchBlockHeightBySha function is useful since previously it was only
possible to get the height of block by fetching the entire block with
FetchBlockBySha and pulling the height out of the returned btcutil.Block.

The FetchBlockHeaderBySha function will ultimately make it much more
efficient to fetch block headers.  Currently, due to the database design
in the ldb backend, the entire block has to be loaded anyways, so the only
current benefit is to avoid the deserialize on all of the transactions.
However, ultimately btcdb will gain a more efficient backend which can
also avoid reading all of the extra transaction data altogether.


  Commit: 8c34084e24be362a296e3065c909d289953a7c21
      
https://github.com/btcsuite/btcd/commit/8c34084e24be362a296e3065c909d289953a7c21
  Author: Dave Collins <[email protected]>
  Date:   2014-01-19 (Sun, 19 Jan 2014)

  Changed paths:
    M interface_test.go

  Log Message:
  -----------
  Add interface tests for new Fetch functions.


  Commit: 2eea55ae1dd09fa39fd8e13957291791d5d88bae
      
https://github.com/btcsuite/btcd/commit/2eea55ae1dd09fa39fd8e13957291791d5d88bae
  Author: Dave Collins <[email protected]>
  Date:   2014-01-19 (Sun, 19 Jan 2014)

  Changed paths:
    M db.go
    M interface_test.go
    M ldb/block.go
    R ldb/dbcache.go
    M ldb/insertremove_test.go
    M ldb/leveldb.go
    M ldb/operational_test.go
    M memdb/memdb.go
    M memdb/memdb_test.go

  Log Message:
  -----------
  Prune the btcddb.Db interface.

This commit prunes several unused functions from the Db interface and the
underlying implementations.  For the most part these are holdovers from
the original sqlite implementation.  It also removes the types associated
with those functions since they are no longer needed.  The following
functions and types have been removed:

- InvalidateCache
- InvalidateBlockCache
- InvalidateTxCache
- SetDBInsertMode
  - InsertMode type and associated constants
- NewIterateBlocks
  - BlockIterator interface

The reasons for removing these are broken out below.

- Neither of two current implementations implement these functions nor
  does any of the fully functional code using the interface invoke them.
- After contemplating and testing caching of blocks and transactions at
  this layer, it doesn't seem to provide any real benefit unless very
  specific assumptions about the use case are made.  Making those
  assumptions can make other use cases worse.  For example, assuming a
  large cache is harmful to memory-constrained use cases.  Leaving it up
  to the caller to choose when to cache block and transactions allows much
  greater flexibility.
- The DB insert mode was an artifact of the original sqlite implementation
  and probably should have only been exposed specifically on the
  implementation as opposed through generic interface.  If a specific
  implementation wishes to provide functionality such as special modes,
  that should be done through type assertions.


  Commit: 2aca9245145a6c22fb02f6681201105f6eb581e4
      
https://github.com/btcsuite/btcd/commit/2aca9245145a6c22fb02f6681201105f6eb581e4
  Author: Dave Collins <[email protected]>
  Date:   2014-01-19 (Sun, 19 Jan 2014)

  Changed paths:
    M common_test.go
    M db.go
    M db_test.go
    M ldb/leveldb.go
    M memdb/driver.go
    M memdb/memdb_test.go

  Log Message:
  -----------
  Allow the Open/CreateDB funcs to take any params.

The specific parameters required by a backend is better left up to the
backend itself.  For example memdb has no need for a database path, while
ldb does.  This commit modifies the OpenDB and CreateDB functions to take
a arbitrary arguments which are passed along to the driver.  The driver is
expected to verify the correct type and number of arguments and error
accordingly.

The existing backends have been updated accordingly.


  Commit: 0a86df4a162ddd8311194d44231f69e94abd1d23
      
https://github.com/btcsuite/btcd/commit/0a86df4a162ddd8311194d44231f69e94abd1d23
  Author: Dave Collins <[email protected]>
  Date:   2014-01-19 (Sun, 19 Jan 2014)

  Changed paths:
    M db_test.go

  Log Message:
  -----------
  Correct test print found by go vet.


  Commit: c570830104055febdf5c41ed7a86a7a1daaf2c76
      
https://github.com/btcsuite/btcd/commit/c570830104055febdf5c41ed7a86a7a1daaf2c76
  Author: Dave Collins <[email protected]>
  Date:   2014-03-17 (Mon, 17 Mar 2014)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Update README.md example to use leveldb.

SQLite is now fully deprecated and has been removed.  Spotted and reported
by @jolan.

Closes #3.


  Commit: 1b51d58e556c384ac657d69b0c8100b942223ce6
      
https://github.com/btcsuite/btcd/commit/1b51d58e556c384ac657d69b0c8100b942223ce6
  Author: David Hill <[email protected]>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M ldb/block.go
    M ldb/leveldb.go

  Log Message:
  -----------
  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@


  Commit: 4d630765261ac7f219a289ae9018cc82f5f496b3
      
https://github.com/btcsuite/btcd/commit/4d630765261ac7f219a289ae9018cc82f5f496b3
  Author: Dale Rahn <[email protected]>
  Date:   2014-04-15 (Tue, 15 Apr 2014)

  Changed paths:
    M ldb/tx.go

  Log Message:
  -----------
  All external entry points into the database must be locked.


  Commit: dd41d71a31a58376f7af6888916e422f7055f769
      
https://github.com/btcsuite/btcd/commit/dd41d71a31a58376f7af6888916e422f7055f769
  Author: Dale Rahn <[email protected]>
  Date:   2014-04-15 (Tue, 15 Apr 2014)

  Changed paths:
    M ldb/tx.go

  Log Message:
  -----------
  If data for tx is not present, return error.


  Commit: ae25e28d7e5e815043e5422d106c7c7f36738dd8
      
https://github.com/btcsuite/btcd/commit/ae25e28d7e5e815043e5422d106c7c7f36738dd8
  Author: Dale Rahn <[email protected]>
  Date:   2014-04-15 (Tue, 15 Apr 2014)

  Changed paths:
    M ldb/dup_test.go

  Log Message:
  -----------
  Update test to new API.


  Commit: 75e199ece8fc6061b1b2f2180d73d869b10e38d3
      
https://github.com/btcsuite/btcd/commit/75e199ece8fc6061b1b2f2180d73d869b10e38d3
  Author: Dave Collins <[email protected]>
  Date:   2014-05-28 (Wed, 28 May 2014)

  Changed paths:
    M README.md
    M common_test.go
    M doc.go
    M ldb/operational_test.go
    M memdb/memdb_test.go

  Log Message:
  -----------
  Use btcnet genesis params for examples and tests.


  Commit: b40f5a1b240a9696f9be63dbf182775cceb49a44
      
https://github.com/btcsuite/btcd/commit/b40f5a1b240a9696f9be63dbf182775cceb49a44
  Author: David Hill <[email protected]>
  Date:   2014-05-30 (Fri, 30 May 2014)

  Changed paths:
    M ldb/tx.go

  Log Message:
  -----------
  add missing Lock to FetchTxBySha


  Commit: efb92fcc99e8ef808970164bdda9ab462a70dd5f
      
https://github.com/btcsuite/btcd/commit/efb92fcc99e8ef808970164bdda9ab462a70dd5f
  Author: Dave Collins <[email protected]>
  Date:   2014-07-02 (Wed, 02 Jul 2014)

  Changed paths:
    M common_test.go
    M db.go
    M db_test.go
    M interface_test.go
    M ldb/block.go
    M ldb/boundary_test.go
    M ldb/dbtest/dbtst.go
    M ldb/dup_test.go
    M ldb/insertremove_test.go
    M ldb/internal_test.go
    M ldb/leveldb.go
    M ldb/operational_test.go
    M ldb/tx.go
    M log.go
    M memdb/driver.go
    M memdb/memdb.go
    M memdb/memdb_test.go

  Log Message:
  -----------
  goimports -w .


  Commit: dd41a4a233a1e7aad028d7795f913ab062f71a1b
      
https://github.com/btcsuite/btcd/commit/dd41a4a233a1e7aad028d7795f913ab062f71a1b
  Author: Dave Collins <[email protected]>
  Date:   2014-07-06 (Sun, 06 Jul 2014)

  Changed paths:
    M memdb/memdb.go

  Log Message:
  -----------
  Remove unneeded functions from memdb.

This commit removes some functions from memdb which only existed to satify
the btcdb.Db interface, but have since been removed from the interface.


  Commit: fbb17fd35a9416ddba91d980a1a6d3b9fe9a4c8d
      
https://github.com/btcsuite/btcd/commit/fbb17fd35a9416ddba91d980a1a6d3b9fe9a4c8d
  Author: Dave Collins <[email protected]>
  Date:   2014-07-07 (Mon, 07 Jul 2014)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Update TODO section of README.md.

This ability for multiple database backends has been available for a long,
long time.  Looks like this was simply not updated when the interface was
added.


  Commit: e2628dfc0d4346bc4a4820357e4e837b250750aa
      
https://github.com/btcsuite/btcd/commit/e2628dfc0d4346bc4a4820357e4e837b250750aa
  Author: David Hill <[email protected]>
  Date:   2014-07-07 (Mon, 07 Jul 2014)

  Changed paths:
    M ldb/block.go
    M ldb/leveldb.go
    M ldb/tx.go

  Log Message:
  -----------
  convert binary Read/Write to Uint/PutUint and copy


  Commit: 0dd81ad003c805dde3470ed6424b0ba3f4dd5805
      
https://github.com/btcsuite/btcd/commit/0dd81ad003c805dde3470ed6424b0ba3f4dd5805
  Author: David Hill <[email protected]>
  Date:   2014-07-07 (Mon, 07 Jul 2014)

  Changed paths:
    M ldb/block.go
    M ldb/leveldb.go
    M ldb/tx.go

  Log Message:
  -----------
  Use NewReader instead of NewBuffer.

NewReader is slightly faster than NewBuffer, but more importantly,
ensures the data is read-only.


  Commit: 879d69d0400b9a634bfefddb83e10b8f8c7b152b
      
https://github.com/btcsuite/btcd/commit/879d69d0400b9a634bfefddb83e10b8f8c7b152b
  Author: David Hill <[email protected]>
  Date:   2014-07-07 (Mon, 07 Jul 2014)

  Changed paths:
    M ldb/leveldb.go

  Log Message:
  -----------
  use strconv.FormatInt which is much faster than fmt.Sprintf


  Commit: d31183ff1966817133d9817cc33bf1c2771ac04c
      
https://github.com/btcsuite/btcd/commit/d31183ff1966817133d9817cc33bf1c2771ac04c
  Author: David Hill <[email protected]>
  Date:   2014-07-07 (Mon, 07 Jul 2014)

  Changed paths:
    M ldb/tx.go

  Log Message:
  -----------
  go fmt


  Commit: 16dc2cf2d0231af4015546c6ef91d7ea3710a6f8
      
https://github.com/btcsuite/btcd/commit/16dc2cf2d0231af4015546c6ef91d7ea3710a6f8
  Author: Dave Collins <[email protected]>
  Date:   2014-07-07 (Mon, 07 Jul 2014)

  Changed paths:
    M db.go
    M interface_test.go
    M ldb/block.go
    M ldb/boundary_test.go
    M ldb/dup_test.go
    M ldb/insertremove_test.go
    M ldb/leveldb.go
    M ldb/operational_test.go
    M ldb/tx.go
    M memdb/memdb.go
    M memdb/memdb_test.go

  Log Message:
  -----------
  Add errors to all interface methods.

This commit adds error returns to all of the Db interface methods except
for FetchTxByShaList and FetchUnSpentTxByShaList since they expose the
errors on each individual transaction.

It also updates all tests and code for both the leveldb and memdb drivers
for the changes.

Closes #5.

ok @drahn


  Commit: 7354ecefe87b27827bf2eb9ad50bfc2b90de43de
      
https://github.com/btcsuite/btcd/commit/7354ecefe87b27827bf2eb9ad50bfc2b90de43de
  Author: Dave Collins <[email protected]>
  Date:   2014-07-08 (Tue, 08 Jul 2014)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Add godoc reference badge to README.md.


  Commit: 9ed908f44ae91988a26ba7e9f1cee15ebe253a07
      
https://github.com/btcsuite/btcd/commit/9ed908f44ae91988a26ba7e9f1cee15ebe253a07
  Author: Dave Collins <[email protected]>
  Date:   2014-07-08 (Tue, 08 Jul 2014)

  Changed paths:
    M README.md
    M doc.go
    A example_test.go

  Log Message:
  -----------
  Use testable example and update README.md.

This commit moves the example to a test file so it integrates nicely with
Go's example tooling.

This allows the example output to be tested as a part of running the
normal Go tests to help ensure it doesn't get out of date with the code.
It is also nice to have the example in one place rather than repeating it
in doc.go and README.md.

Links and information about the example have been included in README.md in
place of the example.


  Commit: a12b62c24c7e3d7dac8f77ec5e398b880b7d770a
      
https://github.com/btcsuite/btcd/commit/a12b62c24c7e3d7dac8f77ec5e398b880b7d770a
  Author: Dave Collins <[email protected]>
  Date:   2014-07-08 (Tue, 08 Jul 2014)

  Changed paths:
    M example_test.go

  Log Message:
  -----------
  Add commented imports to the example.


  Commit: 329c0bf094c8b9c4c4f7bda16ae5bc7a24ad95c7
      
https://github.com/btcsuite/btcd/commit/329c0bf094c8b9c4c4f7bda16ae5bc7a24ad95c7
  Author: Dave Collins <[email protected]>
  Date:   2014-07-08 (Tue, 08 Jul 2014)

  Changed paths:
    M doc.go

  Log Message:
  -----------
  Update overview documentation to more recent stats.


  Commit: 05ff5bd8ec32c9fec8f8c923292c97603384b6a2
      
https://github.com/btcsuite/btcd/commit/05ff5bd8ec32c9fec8f8c923292c97603384b6a2
  Author: Dave Collins <[email protected]>
  Date:   2014-07-08 (Tue, 08 Jul 2014)

  Changed paths:
    M README.md
    M example_test.go

  Log Message:
  -----------
  Add NewestSha example.


  Commit: 4422b14f63ff92faf5d4f7042a2ce6141ab9744d
      
https://github.com/btcsuite/btcd/commit/4422b14f63ff92faf5d4f7042a2ce6141ab9744d
  Author: Dave Collins <[email protected]>
  Date:   2014-07-08 (Tue, 08 Jul 2014)

  Changed paths:
    M README.md
    M example_test.go

  Log Message:
  -----------
  Categorize NewestSha example under Db interface.

It seems the godoc example extraction does not recognize the same syntax
used for functions with receivers when working with interfaces.

So, instead, categorize the example on the interface.


  Commit: 1c877b33ea2c897f649c90b0ea3220fbf234a86e
      
https://github.com/btcsuite/btcd/commit/1c877b33ea2c897f649c90b0ea3220fbf234a86e
  Author: Dave Collins <[email protected]>
  Date:   2014-07-08 (Tue, 08 Jul 2014)

  Changed paths:
    M README.md
    M example_test.go

  Log Message:
  -----------
  Use magic syntax for godoc NewestSha example.


  Commit: d9ee066af6941375fa4e51b123786bd3f86f809b
      
https://github.com/btcsuite/btcd/commit/d9ee066af6941375fa4e51b123786bd3f86f809b
  Author: Dave Collins <[email protected]>
  Date:   2014-07-08 (Tue, 08 Jul 2014)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Example link godoc web don't match local godoc.


  Commit: f373ba3583122f07611fec4037caf9a2dc913876
      
https://github.com/btcsuite/btcd/commit/f373ba3583122f07611fec4037caf9a2dc913876
  Author: Dale Rahn <[email protected]>
  Date:   2014-07-25 (Fri, 25 Jul 2014)

  Changed paths:
    M db.go
    M ldb/block.go

  Log Message:
  -----------
  Introduce new error to indicate that block is not found vs db error.

ok @davecgh


  Commit: 68d10f4dc8a75bc14b343758edb20258eb274c07
      
https://github.com/btcsuite/btcd/commit/68d10f4dc8a75bc14b343758edb20258eb274c07
  Author: John C. Vernaleo <[email protected]>
  Date:   2014-09-16 (Tue, 16 Sep 2014)

  Changed paths:
    M ldb/leveldb.go

  Log Message:
  -----------
  Add some missing comments.

ok @davecgh


  Commit: 372bbe5c49fb54a7f7f51c67098918aca5ad552a
      
https://github.com/btcsuite/btcd/commit/372bbe5c49fb54a7f7f51c67098918aca5ad552a
  Author: John C. Vernaleo <[email protected]>
  Date:   2014-09-16 (Tue, 16 Sep 2014)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Add vet and lint where possible to travis.


  Commit: a7ac93f5b64f5fea083d1662c29fd8cb58dca5c6
      
https://github.com/btcsuite/btcd/commit/a7ac93f5b64f5fea083d1662c29fd8cb58dca5c6
  Author: John C. Vernaleo <[email protected]>
  Date:   2014-09-16 (Tue, 16 Sep 2014)

  Changed paths:
    M .travis.yml
    M db.go
    M ldb/block.go
    M ldb/internal_test.go
    M ldb/leveldb.go
    M ldb/tx.go
    M memdb/memdb.go

  Log Message:
  -----------
  Error improvements for lint.

Rename errors to Err*.
Lowercase error text.

Add golint for top level package

ok @davecgh


  Commit: d6945f94e6ffaf6a43f6b7e6c048ec3b6afd3457
      
https://github.com/btcsuite/btcd/commit/d6945f94e6ffaf6a43f6b7e6c048ec3b6afd3457
  Author: John C. Vernaleo <[email protected]>
  Date:   2014-09-16 (Tue, 16 Sep 2014)

  Changed paths:
    M db_test.go

  Log Message:
  -----------
  Fix tests.


  Commit: 2a688a70b2aa4456fc8f01a03039a96fa4be2626
      
https://github.com/btcsuite/btcd/commit/2a688a70b2aa4456fc8f01a03039a96fa4be2626
  Author: Dave Collins <[email protected]>
  Date:   2014-09-20 (Sat, 20 Sep 2014)

  Changed paths:
    M ldb/dup_test.go

  Log Message:
  -----------
  Update ldb tests for latest API error changes.


  Commit: 968b6da5dbf2d80cbae2d88389132c833590f5dc
      
https://github.com/btcsuite/btcd/commit/968b6da5dbf2d80cbae2d88389132c833590f5dc
  Author: Jonathan Gillham <[email protected]>
  Date:   2014-10-01 (Wed, 01 Oct 2014)

  Changed paths:
    M ldb/dup_test.go
    M ldb/insertremove_test.go
    M ldb/leveldb.go
    M ldb/operational_test.go
    M memdb/memdb.go

  Log Message:
  -----------
  Changed TxIn.PreviousOutpoint to TxIn.PreviousOutPoint after btcwire API 
change.


  Commit: 9c8ee93b5c74a626d68cc46dee9d2adda0238a19
      
https://github.com/btcsuite/btcd/commit/9c8ee93b5c74a626d68cc46dee9d2adda0238a19
  Author: Dave Collins <[email protected]>
  Date:   2014-12-22 (Mon, 22 Dec 2014)

  Changed paths:
    M .travis.yml
    M example_test.go
    M ldb/operational_test.go

  Log Message:
  -----------
  Update TravisCI to goclean script.

Also, correct a couple of issues found by running the script.


  Commit: e6fe5877c4897b0d9c88116587ab941c8dc81f28
      
https://github.com/btcsuite/btcd/commit/e6fe5877c4897b0d9c88116587ab941c8dc81f28
  Author: Dave Collins <[email protected]>
  Date:   2014-12-22 (Mon, 22 Dec 2014)

  Changed paths:
    M README.md
    R test_coverage.txt

  Log Message:
  -----------
  Add test coverage badge to README.md.

Also, remove the test_coverage.txt file since coverage is now reported by
coveralls.io.


  Commit: e49bf14993d2efac7e2687add05d4b8ae38149ab
      
https://github.com/btcsuite/btcd/commit/e49bf14993d2efac7e2687add05d4b8ae38149ab
  Author: Dave Collins <[email protected]>
  Date:   2014-12-22 (Mon, 22 Dec 2014)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Update build status badge in README.md to SVG.


  Commit: f1f12a3f2f063cce3f68163321be038854f6931a
      
https://github.com/btcsuite/btcd/commit/f1f12a3f2f063cce3f68163321be038854f6931a
  Author: Dave Collins <[email protected]>
  Date:   2014-12-22 (Mon, 22 Dec 2014)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Update all badges in README.md to SVG.

Also, add a license badge.


  Commit: b2186ae5ec7910f29cbfd5ac14d27701aec26615
      
https://github.com/btcsuite/btcd/commit/b2186ae5ec7910f29cbfd5ac14d27701aec26615
  Author: Dave Collins <[email protected]>
  Date:   2014-12-22 (Mon, 22 Dec 2014)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Update README.md.


  Commit: 97f3917fcf6ff4f4d390533cb26f1fed55a5f518
      
https://github.com/btcsuite/btcd/commit/97f3917fcf6ff4f4d390533cb26f1fed55a5f518
  Author: Dave Collins <[email protected]>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M ldb/block.go
    M ldb/dbtest/dbtst.go
    M ldb/leveldb.go
    M ldb/tx.go

  Log Message:
  -----------
  Update goleveldb import paths to new location.

Also update for changes due to the upstream sync.


  Commit: 0864e31a5480b2c78a11918e8a348cbb32a7f289
      
https://github.com/btcsuite/btcd/commit/0864e31a5480b2c78a11918e8a348cbb32a7f289
  Author: Dave Collins <[email protected]>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M common_test.go
    M db.go
    M example_test.go
    M interface_test.go
    M ldb/block.go
    M ldb/dup_test.go
    M ldb/insertremove_test.go
    M ldb/leveldb.go
    M ldb/operational_test.go
    M memdb/memdb.go
    M memdb/memdb_test.go

  Log Message:
  -----------
  Update btcutil import paths to new location.


  Commit: e18b38318aad3ebd61a2bb317db8ce91476a9806
      
https://github.com/btcsuite/btcd/commit/e18b38318aad3ebd61a2bb317db8ce91476a9806
  Author: Dave Collins <[email protected]>
  Date:   2015-01-16 (Fri, 16 Jan 2015)

  Changed paths:
    M ldb/leveldb.go
    M log.go
    M memdb/driver.go

  Log Message:
  -----------
  Update btclog import paths to new location.


  Commit: 1b4d4995976d9d2c86ab40aea1a2c38760474b0e
      
https://github.com/btcsuite/btcd/commit/1b4d4995976d9d2c86ab40aea1a2c38760474b0e
  Author: Dave Collins <[email protected]>
  Date:   2015-01-16 (Fri, 16 Jan 2015)

  Changed paths:
    M common_test.go
    M db.go
    M interface_test.go
    M ldb/block.go
    M ldb/boundary_test.go
    M ldb/dup_test.go
    M ldb/insertremove_test.go
    M ldb/internal_test.go
    M ldb/leveldb.go
    M ldb/operational_test.go
    M ldb/tx.go
    M memdb/memdb.go
    M memdb/memdb_test.go

  Log Message:
  -----------
  Update btcwire import paths to new location.


  Commit: 596fdf8327a586f36a56f47ba37374283e14cdb8
      
https://github.com/btcsuite/btcd/commit/596fdf8327a586f36a56f47ba37374283e14cdb8
  Author: Dave Collins <[email protected]>
  Date:   2015-01-16 (Fri, 16 Jan 2015)

  Changed paths:
    M common_test.go
    M example_test.go
    M ldb/operational_test.go
    M memdb/memdb_test.go

  Log Message:
  -----------
  Update btcnet import paths to new location.


  Commit: bad82efd8cff9cbd3b6b48ab12bf106b5b6745af
      
https://github.com/btcsuite/btcd/commit/bad82efd8cff9cbd3b6b48ab12bf106b5b6745af
  Author: Dave Collins <[email protected]>
  Date:   2015-01-16 (Fri, 16 Jan 2015)

  Changed paths:
    M README.md
    M common_test.go
    M db_test.go
    M example_test.go
    M interface_test.go
    M ldb/block.go
    M ldb/boundary_test.go
    M ldb/dup_test.go
    M ldb/insertremove_test.go
    M ldb/internal_test.go
    M ldb/leveldb.go
    M ldb/operational_test.go
    M ldb/tx.go
    M memdb/driver.go
    M memdb/memdb.go
    M memdb/memdb_test.go

  Log Message:
  -----------
  Update btcdb import paths to new location.


  Commit: c67a3059dfdbe72c647920cfed55ba873a2a52b4
      
https://github.com/btcsuite/btcd/commit/c67a3059dfdbe72c647920cfed55ba873a2a52b4
  Author: Dave Collins <[email protected]>
  Date:   2015-01-16 (Fri, 16 Jan 2015)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Update to new location in README.md too.


  Commit: b284bf0f909aaea8fa8f6790200a09a756ee066c
      
https://github.com/btcsuite/btcd/commit/b284bf0f909aaea8fa8f6790200a09a756ee066c
  Author: Olaoluwa Osuntokun <[email protected]>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M db.go
    M db_test.go
    M ldb/block.go
    M ldb/boundary_test.go
    M ldb/dup_test.go
    M ldb/insertremove_test.go
    M ldb/internal_test.go
    M ldb/leveldb.go
    M ldb/operational_test.go
    M ldb/tx.go
    M memdb/memdb.go

  Log Message:
  -----------
  Implement ldb database functionality for optional addrindex.


  Commit: d574a3af6d40c494f5708f8b00c973ed8de78943
      
https://github.com/btcsuite/btcd/commit/d574a3af6d40c494f5708f8b00c973ed8de78943
  Author: Dave Collins <[email protected]>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    R .gitignore
    R .travis.yml
    R LICENSE
    R README.md
    R common_test.go
    R cov_report.sh
    A database/README.md
    A database/common_test.go
    A database/cov_report.sh
    A database/db.go
    A database/db_test.go
    A database/doc.go
    A database/example_test.go
    A database/interface_test.go
    A database/ldb/block.go
    A database/ldb/boundary_test.go
    A database/ldb/dbtest/dbtst.go
    A database/ldb/doc.go
    A database/ldb/dup_test.go
    A database/ldb/insertremove_test.go
    A database/ldb/internal_test.go
    A database/ldb/leveldb.go
    A database/ldb/operational_test.go
    A database/ldb/tx.go
    A database/log.go
    A database/memdb/doc.go
    A database/memdb/driver.go
    A database/memdb/memdb.go
    A database/memdb/memdb_test.go
    A database/testdata/blocks1-256.bz2
    R db.go
    R db_test.go
    R doc.go
    R example_test.go
    R interface_test.go
    R ldb/block.go
    R ldb/boundary_test.go
    R ldb/dbtest/dbtst.go
    R ldb/doc.go
    R ldb/dup_test.go
    R ldb/insertremove_test.go
    R ldb/internal_test.go
    R ldb/leveldb.go
    R ldb/operational_test.go
    R ldb/tx.go
    R log.go
    R memdb/doc.go
    R memdb/driver.go
    R memdb/memdb.go
    R memdb/memdb_test.go
    R testdata/blocks1-256.bz2

  Log Message:
  -----------
  Import btcdb repo into database directory.

This commit contains the entire btcdb repository along with several
changes needed to move all of the files into the database directory in
order to prepare it for merging.  This does NOT update btcd or any of the
other packages to use the new location as that will be done separately.

- All import paths in the old btcdb test files have been changed to the
  new location
- All references to btcdb as the package name have been chagned to
  database
- The coveralls badge has been removed since it unfortunately doesn't
  support coverage of sub-packages

This is ongoing work toward #214.


  Commit: 8d7780e0abb90785f2cabaa5ea0d956327de079a
      
https://github.com/btcsuite/btcd/commit/8d7780e0abb90785f2cabaa5ea0d956327de079a
  Author: Dave Collins <[email protected]>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    A database/README.md
    A database/common_test.go
    A database/cov_report.sh
    A database/db.go
    A database/db_test.go
    A database/doc.go
    A database/example_test.go
    A database/interface_test.go
    A database/ldb/block.go
    A database/ldb/boundary_test.go
    A database/ldb/dbtest/dbtst.go
    A database/ldb/doc.go
    A database/ldb/dup_test.go
    A database/ldb/insertremove_test.go
    A database/ldb/internal_test.go
    A database/ldb/leveldb.go
    A database/ldb/operational_test.go
    A database/ldb/tx.go
    A database/log.go
    A database/memdb/doc.go
    A database/memdb/driver.go
    A database/memdb/memdb.go
    A database/memdb/memdb_test.go
    A database/testdata/blocks1-256.bz2

  Log Message:
  -----------
  Merge btcdb repo into database directory.


Compare: https://github.com/btcsuite/btcd/compare/66a17f8a476c...8d7780e0abb9

Reply via email to