2013-08-03 17:20:05 +02:00
|
|
|
// Copyright (c) 2013 Conformal Systems LLC.
|
|
|
|
// Use of this source code is governed by an ISC
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
/*
|
2013-10-22 22:25:33 +02:00
|
|
|
Package ldb implements a instance of btcdb 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
|