d226968472
This commit adds a new backend driver which conforms to the btcdb interface to provide a memory only database. This is primarily useful for testing purposes as normal operations require a persistent block storage mechanism.
12 lines
379 B
Go
12 lines
379 B
Go
// 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.
|
|
|
|
/*
|
|
Package memdb implements an instance of btcdb that uses memory for the block
|
|
storage.
|
|
|
|
This is primary used for testing purposes as normal operations require a
|
|
persistent block storage mechanism which this is not.
|
|
*/
|
|
package memdb
|