Remove obsolete API functions

This commit is contained in:
Dale Rahn
2013-10-02 18:29:37 -04:00
parent 9abf071308
commit 78d4bfecd4
3 changed files with 4 additions and 34 deletions

View File

@@ -11,15 +11,6 @@ import (
_ "github.com/mattn/go-sqlite3"
)
// InsertBlockData stores a block hash and its associated data block with a
// previous sha of `prevSha' and a version of `pver'.
func (db *SqliteDb) InsertBlockData(sha *btcwire.ShaHash, prevSha *btcwire.ShaHash, pver uint32, buf []byte) (blockid int64, err error) {
db.dbLock.Lock()
defer db.dbLock.Unlock()
return db.insertBlockData(sha, prevSha, pver, buf)
}
// insertSha stores a block hash and its associated data block with a
// previous sha of `prevSha' and a version of `pver'.
// insertSha shall be called with db lock held