mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 01:40:07 +01:00
Clarify how the database package is used.
This commit is contained in:
parent
309a9ea31d
commit
dd64dd96e9
@ -8,6 +8,16 @@ database
|
||||
Package database provides a database interface for the bitcoin block chain and
|
||||
transactions.
|
||||
|
||||
Please note that this package is intended to enable btcd 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 btcd.
|
||||
|
||||
When a client wants programmatic access to the data provided by btcd, they'll
|
||||
likely want to use the [btcrpcclient](https://github.com/btcsuite/btcrpcclient)
|
||||
package which makes use of the [JSON-RPC API]
|
||||
(https://github.com/btcsuite/btcd/tree/master/docs/json_rpc_api.md).
|
||||
|
||||
## Documentation
|
||||
|
||||
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)]
|
||||
|
Loading…
Reference in New Issue
Block a user