dcrd/database
John C. Vernaleo 5076a00512 Initial Decred Commit.
Includes work by cjepson, ay-p, jolan, and jcv.

Initial conceptual framework by tacotime.
2016-02-07 14:00:12 -05:00
..
ldb Initial Decred Commit. 2016-02-07 14:00:12 -05:00
memdb Initial Decred Commit. 2016-02-07 14:00:12 -05:00
common_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
cov_report.sh Import btcdb repo into database directory. 2015-01-27 13:15:15 -06:00
db_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
db.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
doc.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
example_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
interface_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
log.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
README.md Initial Decred Commit. 2016-02-07 14:00:12 -05:00
reorg_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00

database

![ISC License] (http://img.shields.io/badge/license-ISC-blue.svg)

Package database provides a database interface for the decred block chain and transactions.

Please note that this package is intended to enable dcrd to support different database backends and is not something that a client can directly access as only one entity can have the database open at a time (for most database backends), and that entity will be dcrd.

When a client wants programmatic access to the data provided by dcrd, they'll likely want to use the btcrpcclient package which makes use of the [JSON-RPC API] (https://github.com/decred/dcrd/tree/master/docs/json_rpc_api.md).

Documentation

[GoDoc] (http://godoc.org/github.com/decred/dcrd/database)

Full go doc style documentation for the project can be viewed online without installing this package by using the GoDoc site here.

You can also view the documentation locally once the package is installed with the godoc tool by running godoc -http=":6060" and pointing your browser to http://localhost:6060/pkg/github.com/decred/dcrd/database

Installation

$ go get github.com/decred/dcrd/database

Examples

TODO

  • Increase test coverage to 100%

License

Package database is licensed under the copyfree ISC License.