Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: 7c46f213e16bd8185cf51a795116a579997c661f
      
https://github.com/btcsuite/btcd/commit/7c46f213e16bd8185cf51a795116a579997c661f
  Author: Alex Akselrod <[email protected]>
  Date:   2015-03-30 (Mon, 30 Mar 2015)

  Changed paths:
    M database/db_test.go
    M database/ldb/leveldb.go
    A database/reorg_test.go
    A database/testdata/reorgblocks.bz2

  Log Message:
  -----------
  Fix #340 and DropAfterBlockBySha/NewestSha bug.

- Delete spent TX in setclearSpentData when unspent by block
  disconnect on reorg; return an error when there's more than
  one record to delete in the spent TX as that should never
  happen.

- Test spent TX deletion when reorg causes block disconnect.

- Test for correct NewestSha results after DropAfterBlockBySha.

- Fix DropAfterBlockBySha to update info for NewestSha.

- Updated copyright statements in modified files


Reply via email to