Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: 0247ddff18806ad8ea653424e8bf7123c4fbbea2
      
https://github.com/btcsuite/btcd/commit/0247ddff18806ad8ea653424e8bf7123c4fbbea2
  Author: David Hill <[email protected]>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

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

  Log Message:
  -----------
  Use the goleveldb Has() API.

This change converts the leveldb database's ExistsSha() and
ExistsTxSha to use the goleveldb API.  Has() only returns if
the key exists and does not need to read the entire value into
memory resulting in less disk i/o and much less GC.


Reply via email to