2015-05-01 08:28:01 +02:00
|
|
|
// Copyright (c) 2013-2014 The btcsuite developers
|
2013-08-03 17:20:05 +02:00
|
|
|
// Use of this source code is governed by an ISC
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
/*
|
2015-01-27 18:45:10 +01:00
|
|
|
Package ldb implements an instance of the database package backed by leveldb.
|
2013-09-25 22:18:35 +02:00
|
|
|
|
|
|
|
Database version number is stored in a flat file <dbname>.ver
|
|
|
|
Currently a single (littlendian) integer in the file. If there is
|
2013-10-22 22:25:33 +02:00
|
|
|
additional data to save in the future, the presence of additional
|
2013-09-25 22:18:35 +02:00
|
|
|
data can be indicated by changing the version number, then parsing the
|
|
|
|
file differently.
|
2013-08-03 17:20:05 +02:00
|
|
|
*/
|
|
|
|
package ldb
|